Documentation ¶
Overview ¶
Package generated provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
Types ¶
type APIVersion ¶
type APIVersion struct {
Version *string `json:"version,omitempty"`
}
APIVersion Information about a version of the API.
type APIVersions ¶
type APIVersions struct { ApiVersions *[]APIVersion `json:"apiVersions,omitempty"` UriPrefix *string `json:"uriPrefix,omitempty"` }
APIVersions Information about a list of versions of the API.
type ProblemDetails ¶
type ProblemDetails struct { // AdditionalAttributes Any number of additional attributes, as defined in a specification or by an implementation. AdditionalAttributes *map[string]string `json:"additionalAttributes,omitempty"` // Detail A human-readable explanation specific to this occurrence of the problem. Detail string `json:"detail"` // Instance A URI reference that identifies the specific occurrence of the problem. // It may yield further information if dereferenced. Instance *string `json:"instance,omitempty"` // Status The HTTP status code for this occurrence of the problem. Status int `json:"status"` // Title A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, // except for purposes of localization. If type is given and other than "about:blank", this attribute shall also be provided. Title *string `json:"title,omitempty"` // Type A URI reference according to IETF RFC 3986 [3] that identifies the problem type. It is encouraged that the URI provides // human-readable documentation for the problem (e.g. usingHTML) when dereferenced. When this member is not present, // its value is assumed to be "about:blank". Type *string `json:"type,omitempty"` }
ProblemDetails defines model for ProblemDetails.