[][src]Module k8s_openapi_codegen_common::swagger20

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.

Parameter

An API operation parameter.

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.

KubernetesAction

The value of an "x-kubernetes-action" annotation on an operation.

Method

The HTTP method of an API operation.

NumberFormat

A number format. This corresponds to the "format" property of a "number" schema type.

OperationResponses

The type of all possible responses of an API operation.

ParameterLocation

The location of an API operation parameter in the HTTP request.

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.