Module k8s_openapi_codegen_common::swagger20
source · Expand description
This module contains types related to the OpenAPI types used in the Kubernetes spec.
Structs
- A definition path.
- The
"info"
property of an OpenAPI spec. - The value of an
x-kubernetes-group-version-kind
annotation on a type or an operation. - An API operation.
- An API operation parameter.
- The path of an API operation.
- The name of a property of a schema type with a
"properties"
map. - The path specified by a
"$ref"
property. - The schema of a definition or operation parameter.
- The whole
Spec
object. An OpenAPI spec JSON file can be deserialized into this type.
Enums
- An integer format. This corresponds to the
"format"
property of an"integer"
schema type. - The value of an
"x-kubernetes-action"
annotation on an operation. - The value of an
x-kubernetes-list-type
annotation on a property. - The value of an
x-kubernetes-map-type
annotation on a property. - The HTTP method of an API operation.
- A number format. This corresponds to the
"format"
property of a"number"
schema type. - The type of all possible responses of an API operation.
- The location of an API operation parameter in the HTTP request.
- The kind of a
Schema
- A string format. This corresponds to the
"format"
property of an"string"
schema type. - A type definition.