This is the root document object for the API specification.
Constructors
OpenApi_openApiInfo :: InfoProvides metadata about the API. The metadata can be used by the clients if needed.
_openApiServers :: [Server]An array of Server Objects, which provide connectivity information to a target server. If the servers property is not provided, or is an empty array, the default value would be a Server object with a url value of
/._openApiPaths :: InsOrdHashMap FilePath PathItemThe available paths and operations for the API.
_openApiComponents :: ComponentsAn element to hold various schemas for the specification.
_openApiSecurity :: [SecurityRequirement]A declaration of which security mechanisms can be used across the API. The list of values includes alternative security requirement objects that can be used. Only one of the security requirement objects need to be satisfied to authorize a request. Individual operations can override this definition. To make security optional, an empty security requirement can be included in the array.
_openApiTags :: InsOrdHashSet TagA list of tags used by the specification with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique.
_openApiExternalDocs :: Maybe ExternalDocsAdditional external documentation.
_openApiOpenapi :: OpenApiSpecVersionThe spec of OpenApi this spec adheres to. Must be between lowerOpenApiSpecVersion and upperOpenApiSpecVersion
Instances30Eq, Data, Show, Semigroup, Monoid, FromJSON, …
Eq OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalData OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalShow OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalGeneric OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalSemigroup OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalMonoid OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalFromJSON OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalToJSON OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalGeneric OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalHasDatatypeInfo OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalHasSwaggerAesonOptions OpenApiDefined in openapi3-3.2.4 · Data.OpenApi.InternalHasComponents OpenApi ComponentsDefined in openapi3-3.2.4 · Data.OpenApi.LensHasInfo OpenApi InfoDefined in openapi3-3.2.4 · Data.OpenApi.LensHasOpenapi OpenApi OpenApiSpecVersionDefined in openapi3-3.2.4 · Data.OpenApi.Lens(k ~ A_Lens, a ~ Maybe ExternalDocs, b ~ Maybe ExternalDocs) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"externalDocs"
k OpenApi OpenApi a b(k ~ A_Lens, a ~ InsOrdHashMap FilePath PathItem, b ~ InsOrdHashMap FilePath PathItem) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"paths"
k OpenApi OpenApi a b(k ~ A_Lens, a ~ InsOrdHashSet Tag, b ~ InsOrdHashSet Tag) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"tags"
k OpenApi OpenApi a b(k ~ A_Lens, a ~ Components, b ~ Components) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"components"
k OpenApi OpenApi a b(k ~ A_Lens, a ~ Info, b ~ Info) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"info"
k OpenApi OpenApi a b(k ~ A_Lens, a ~ OpenApiSpecVersion, b ~ OpenApiSpecVersion) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"openapi"
k OpenApi OpenApi a b(k ~ A_Lens, a ~ [SecurityRequirement], b ~ [SecurityRequirement]) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"security"
k OpenApi OpenApi a b(k ~ A_Lens, a ~ [Server], b ~ [Server]) => LabelOpticDefined in openapi3-3.2.4 · Data.OpenApi.Optics · orphan"servers"
k OpenApi OpenApi a bHasExternalDocs OpenApi (Maybe ExternalDocs)Defined in openapi3-3.2.4 · Data.OpenApi.LensHasSecurity OpenApi [SecurityRequirement]Defined in openapi3-3.2.4 · Data.OpenApi.LensHasServers OpenApi [Server]Defined in openapi3-3.2.4 · Data.OpenApi.LensHasTags OpenApi (InsOrdHashSet Tag)Defined in openapi3-3.2.4 · Data.OpenApi.LensHasPaths OpenApi (InsOrdHashMap FilePath PathItem)Defined in openapi3-3.2.4 · Data.OpenApi.Lenstype Rep OpenApi = D1 ('MetaDataDefined in openapi3-3.2.4 · Data.OpenApi.Internal"OpenApi"
"Data.OpenApi.Internal"
"openapi3-3.2.4-IP43XBCDw8f7OecF9BtdZ3"
'False) (C1 ('MetaCons"OpenApi"
'PrefixI 'True) (((S1 ('MetaSel ('Just"_openApiInfo"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Info) :*: S1 ('MetaSel ('Just"_openApiServers"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Server])) :*: (S1 ('MetaSel ('Just"_openApiPaths"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (InsOrdHashMap FilePath PathItem)) :*: S1 ('MetaSel ('Just"_openApiComponents"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Components))) :*: ((S1 ('MetaSel ('Just"_openApiSecurity"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SecurityRequirement]) :*: S1 ('MetaSel ('Just"_openApiTags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (InsOrdHashSet Tag))) :*: (S1 ('MetaSel ('Just"_openApiExternalDocs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExternalDocs)) :*: S1 ('MetaSel ('Just"_openApiOpenapi"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OpenApiSpecVersion)))))type Code OpenApi = '['[Info, [Server], InsOrdHashMap FilePath PathItem, Components, [SecurityRequirement], InsOrdHashSet Tag, Maybe ExternalDocs, OpenApiSpecVersion]]Defined in openapi3-3.2.4 · Data.OpenApi.Internaltype DatatypeInfoOf OpenApi = 'ADTDefined in openapi3-3.2.4 · Data.OpenApi.Internal"Data.OpenApi.Internal"
"OpenApi"
'['Record"OpenApi"
'['FieldInfo"_openApiInfo"
, 'FieldInfo"_openApiServers"
, 'FieldInfo"_openApiPaths"
, 'FieldInfo"_openApiComponents"
, 'FieldInfo"_openApiSecurity"
, 'FieldInfo"_openApiTags"
, 'FieldInfo"_openApiExternalDocs"
, 'FieldInfo"_openApiOpenapi"
]] '['['StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy, 'StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy, 'StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy, 'StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy, 'StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy, 'StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy, 'StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy, 'StrictnessInfo 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy]]