Versions in this module Expand all Collapse all v0 v0.3.0 Jul 5, 2024 Changes in this version type Operation + OperationId *string v0.2.0 May 9, 2024 Changes in this version + const MediaTypeJson + const MediaTypeOctetStream + const MediaTypeRangeAny + const MediaTypeTextPlain + const ParameterLocationCookie + const ParameterLocationHeader + const ParameterLocationPath + const ParameterLocationQuery + const ParameterStyleDeepObject + const ParameterStyleForm + const ParameterStyleLabel + const ParameterStyleMatrix + const ParameterStyleSimple + func NewOpenAPI(c *catalog.Catalog) (oa *OpenAPI, err Error) + type Components struct + Schemas ComponentsSchemas + type ComponentsSchemas map[string]schemaObject + type Content map[mediaType]*MediaTypeObject + type Error interface + type HeaderObject struct + type Info struct + Description *string + Title string + Version string + type MediaTypeObject struct + Schema schemaObject + type OpenAPI struct + Components *Components + Info *Info + OpenAPI string + Paths Paths + Servers []Server + type Operation struct + Description string + Parameters []*ParameterObject + RequestBody *RequestBody + Responses *Responses + Summary string + Tags []string + type ParameterBase struct + Description string + Explode bool + Required bool + Schema schemaObject + Style parameterStyle + type ParameterObject struct + In parameterLocation + Name string + type PathItem struct + Delete *Operation + Get *Operation + Parameters []*ParameterObject + Patch *Operation + Post *Operation + Put *Operation + type Paths map[string]*PathItem + type RequestBody struct + Content *Content + Required bool + type ResponseHeaders map[string]*HeaderObject + type ResponseObject struct + Content *Content + Description string + Headers ResponseHeaders + type Responses map[responseCode]*ResponseObject + type Server struct + Description string + Url string