kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go

var verbs

const extensionGVK

// ToValidOperationID makes an string a valid op ID (e.g. removing punctuations and whitespaces and make it camel case)
func ToValidOperationID(s string, capitalizeFirstLetter bool) string {}

// GetOperationIDAndTags returns a customize operation ID and a list of tags for kubernetes API server's OpenAPI spec to prevent duplicate IDs.
func GetOperationIDAndTags(r *restful.Route) (string, []string, error) {}

type groupVersionKinds

func (s groupVersionKinds) Len() int {}

func (s groupVersionKinds) Swap(i, j int) {}

func (s groupVersionKinds) Less(i, j int) bool {}

func (s groupVersionKinds) JSON() []interface{}

type DefinitionNamer

func gvkConvert(gvk schema.GroupVersionKind) v1.GroupVersionKind {}

func friendlyName(name string) string {}

func typeName(t reflect.Type) string {}

// NewDefinitionNamer constructs a new DefinitionNamer to be used to customize OpenAPI spec.
func NewDefinitionNamer(schemes ...*runtime.Scheme) *DefinitionNamer {}

// GetDefinitionName returns the name and tags for a given definition
func (d *DefinitionNamer) GetDefinitionName(name string) (string, spec.Extensions) {}