Module swagger20

Source
Expand description

This module contains types related to the OpenAPI types used in the Kubernetes spec.

Structs§

DefinitionPath
A definition path.
Info
The "info" property of an OpenAPI spec.
KubernetesGroupKindVersion
The value of an x-kubernetes-group-version-kind annotation on a type or an operation.
Operation
An API operation.
Path
The path of an API operation.
PropertyName
The name of a property of a schema type with a "properties" map.
RefPath
The path specified by a "$ref" property.
Schema
The schema of a definition or operation parameter.
Spec
The whole Spec object. An OpenAPI spec JSON file can be deserialized into this type.

Enums§

IntegerFormat
An integer format. This corresponds to the "format" property of an "integer" schema type.
JsonSchemaPropsOr
KubernetesAction
The value of an "x-kubernetes-action" annotation on an operation.
KubernetesListType
The value of an x-kubernetes-list-type annotation on a property.
KubernetesMapType
The value of an x-kubernetes-map-type annotation on a property.
MergeType
NumberFormat
A number format. This corresponds to the "format" property of a "number" schema type.
SchemaKind
The kind of a Schema
StringFormat
A string format. This corresponds to the "format" property of an "string" schema type.
Type
A type definition.