Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOperationIDAndTags ¶
GetOperationIDAndTags returns a customize operation ID and a list of tags for kubernetes API server's OpenAPI spec to prevent duplicate IDs.
Types ¶
type DefinitionNamer ¶
type DefinitionNamer struct {
// contains filtered or unexported fields
}
DefinitionNamer is the type to customize OpenAPI definition name.
func NewDefinitionNamer ¶
func NewDefinitionNamer(schemes ...*runtime.Scheme) *DefinitionNamer
NewDefinitionNamer constructs a new DefinitionNamer to be used to customize OpenAPI spec.
func (*DefinitionNamer) GetDefinitionName ¶
func (d *DefinitionNamer) GetDefinitionName(name string) (string, spec.Extensions)
GetDefinitionName returns the name and tags for a given definition
Click to show internal directories.
Click to hide internal directories.