package
0.0.0-20250304201544-e5f78fe3ede9
Repository: https://github.com/kubernetes/kube-openapi.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
GenerateOpenAPIV3OneOfSchema generate the set of schemas that MUST be assigned to SchemaProps.OneOf.
This function is a reference for converting go (or any custom type) to a simple open API type,format pair.
Returns the zero-value for the given type along with true if the type could be found.

# Constants

BodyParameterKind indicates the request parameter type is "body".
TODO: Make this configurable.
No description provided by the author
FormParameterKind indicates the request parameter type is "form".
HeaderParameterKind indicates the request parameter type is "header".
PathParameterKind indicates the request parameter type is "path".
QueryParameterKind indicates the request parameter type is "query".
UnknownParameterKind indicates the request parameter type has not been specified.

# Structs

Config is set of configuration for openAPI spec generation.
OpenAPIDefinition describes single type.
OpenAPIV3Config is set of configuration for OpenAPI V3 spec generation.

# Interfaces

OpenAPIDefinitionGetter gets openAPI definitions for a given type.
No description provided by the author
Parameter is a Route parameter.
No description provided by the author
No description provided by the author
Route is a logical endpoint of a service.
RouteContainer is the entrypoint for a service, which may contain multiple routes under a common path with a common set of path parameters.
StatusCodeResponse is an explicit response type with an HTTP Status Code.

# Type aliases

GetOpenAPIDefinitions is collection of all definitions.
ParameterKind is an enum of route parameter types.
No description provided by the author