openapimeta

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package openapimeta owns the authored metadata key contract for OpenAPI tags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTagKey

func ParseTagKey(key string) (name, field string, ok bool, err error)

ParseTagKey parses a canonical tag metadata key. A false result means key is unrelated to OpenAPI tag metadata; malformed tag keys return an error.

func TagAnnotationKey

func TagAnnotationKey(name, field string) string

TagAnnotationKey returns the canonical metadata key for a tag annotation.

func TagIdentityKey

func TagIdentityKey(name string) string

TagIdentityKey returns the canonical metadata key that identifies name.

func ValidateTagMetadata

func ValidateTagMetadata(metadata map[string][]string) error

ValidateTagMetadata rejects malformed keys and values at the generation boundary, before tag extraction can index an invalid value list.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL