Documentation ¶
Index ¶
Constants ¶
View Source
const ( XTagGroupsPropertyName = "x-tagGroups" // Redocly format XTagGroupsPropertyNameKebab = "x-tag-groups" )
Variables ¶
This section is empty.
Functions ¶
func SpecTagsWithoutGroups ¶
func SpecTagsWithoutGroups(spec *openapi3.Spec, tagGroupSet TagGroupSet) []string
Types ¶
type TagGroupSet ¶
type TagGroupSet struct {
TagGroups []TagGroup
}
func NewTagGroupSet ¶
func NewTagGroupSet() TagGroupSet
func SpecTagGroups ¶
func SpecTagGroups(spec *openapi3.Spec) (TagGroupSet, error)
SpecTagGroups parses a TagGroupSet from an OpenAPI3 spec.
func (*TagGroupSet) Exists ¶
func (set *TagGroupSet) Exists(tagName string) bool
func (*TagGroupSet) GetTagGroupNamesForTagNames ¶
func (set *TagGroupSet) GetTagGroupNamesForTagNames(wantTagNames ...string) []string
func (*TagGroupSet) OperationMoreTagGroupNames ¶
func (set *TagGroupSet) OperationMoreTagGroupNames(opm *openapi3.OperationMore) string
OperationMoreTagGroupNames this function is meant to be used with `SpecMore.Table()` and must follow the `OperationMoreStringFunc` interface.
Click to show internal directories.
Click to hide internal directories.