kubernetes/vendor/k8s.io/kube-openapi/pkg/openapiconv/convert.go

var OpenAPIV2DefPrefix

var OpenAPIV3DefPrefix

// ConvertV2ToV3 converts an OpenAPI V2 object into V3.
// Certain references may be shared between the V2 and V3 objects in the conversion.
func ConvertV2ToV3(v2Spec *spec.Swagger) *spec3.OpenAPI {}

func ConvertExternalDocumentation(v2ED *spec.ExternalDocumentation) *spec3.ExternalDocumentation {}

func ConvertComponents(v2SecurityDefinitions spec.SecurityDefinitions, v2Definitions spec.Definitions, v2Responses map[string]spec.Response, produces []string) *spec3.Components {}

func ConvertSchema(v2Schema *spec.Schema) *spec.Schema {}

func ConvertSchemaList(v2SchemaList []spec.Schema) []spec.Schema {}

func ConvertSecurityScheme(v2securityScheme *spec.SecurityScheme) *spec3.SecurityScheme {}

func ConvertPaths(v2Paths *spec.Paths) *spec3.Paths {}

func ConvertPathItem(v2pathItem spec.PathItem) *spec3.Path {}

func ConvertOperation(v2Operation *spec.Operation) *spec3.Operation {}

func ConvertResponse(v2Response *spec.Response, produces []string) *spec3.Response {}

func ConvertParameter(v2Param spec.Parameter) *spec3.Parameter {}

func ConvertRefableParameter(refable spec.Refable) spec.Refable {}

func ConvertRefableResponse(refable spec.Refable) spec.Refable {}