openapi3-3.2.3: OpenAPI 3.0 data model
Safe Haskell None
Language Haskell2010

Data.OpenApi.Internal

Synopsis

Documentation

>>> :seti -XDataKinds
>>> import Data.Aeson
>>> import Data.ByteString.Lazy.Char8 as BSL
>>> import Data.OpenApi.Internal.Utils

type Definitions = InsOrdHashMap Text Source #

A list of definitions that can be used in references.

data OpenApi Source #

This is the root document object for the API specification.

Constructors

OpenApi

Fields

Instances

Instances details
Eq OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

Data OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OpenApi -> c OpenApi Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OpenApi Source #

toConstr :: OpenApi -> Constr Source #

dataTypeOf :: OpenApi -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OpenApi ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OpenApi ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OpenApi -> OpenApi Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApi -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApi -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OpenApi -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OpenApi -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OpenApi -> m OpenApi Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApi -> m OpenApi Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApi -> m OpenApi Source #

Show OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code OpenApi :: [[ Type ]] Source #

HasDatatypeInfo OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

HasOpenapi OpenApi OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Lens

HasInfo OpenApi Info Source #
Instance details

Defined in Data.OpenApi.Lens

HasComponents OpenApi Components Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Components , b ~ Components ) => LabelOptic "components" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ExternalDocs , b ~ Maybe ExternalDocs ) => LabelOptic "externalDocs" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Info , b ~ Info ) => LabelOptic "info" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ OpenApiSpecVersion , b ~ OpenApiSpecVersion ) => LabelOptic "openapi" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap FilePath PathItem , b ~ InsOrdHashMap FilePath PathItem ) => LabelOptic "paths" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ SecurityRequirement ], b ~ [ SecurityRequirement ]) => LabelOptic "security" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ Server ], b ~ [ Server ]) => LabelOptic "servers" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashSet Tag , b ~ InsOrdHashSet Tag ) => LabelOptic "tags" k OpenApi OpenApi a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasTags OpenApi ( InsOrdHashSet Tag ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasServers OpenApi [ Server ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasSecurity OpenApi [ SecurityRequirement ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalDocs OpenApi ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPaths OpenApi ( InsOrdHashMap FilePath PathItem ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

type Code OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf OpenApi Source #
Instance details

Defined in Data.OpenApi.Internal

lowerOpenApiSpecVersion :: Version Source #

This is the lower version of the OpenApi Spec this library can parse or produce

upperOpenApiSpecVersion :: Version Source #

This is the upper version of the OpenApi Spec this library can parse or produce

data Info Source #

The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.

Constructors

Info

Fields

Instances

Instances details
Eq Info Source #
Instance details

Defined in Data.OpenApi.Internal

Data Info Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Info -> c Info Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Info Source #

toConstr :: Info -> Constr Source #

dataTypeOf :: Info -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Info ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Info ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Info -> Info Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Info -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Info -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Info -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Info -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Info -> m Info Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Info -> m Info Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Info -> m Info Source #

Show Info Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Info Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep Info :: Type -> Type Source #

Semigroup Info Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Info Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Info Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Info Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue Info Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Info Source #
Instance details

Defined in Data.OpenApi.Internal

HasInfo OpenApi Info Source #
Instance details

Defined in Data.OpenApi.Lens

HasVersion Info Text Source #
Instance details

Defined in Data.OpenApi.Lens

HasTitle Info Text Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe Contact , b ~ Maybe Contact ) => LabelOptic "contact" k Info Info a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k Info Info a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe License , b ~ Maybe License ) => LabelOptic "license" k Info Info a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "termsOfService" k Info Info a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "title" k Info Info a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "version" k Info Info a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasDescription Info ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasTermsOfService Info ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasLicense Info ( Maybe License ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasContact Info ( Maybe Contact ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Info Source #
Instance details

Defined in Data.OpenApi.Internal

data Contact Source #

Contact information for the exposed API.

Constructors

Contact

Fields

Instances

Instances details
Eq Contact Source #
Instance details

Defined in Data.OpenApi.Internal

Data Contact Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Contact -> c Contact Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Contact Source #

toConstr :: Contact -> Constr Source #

dataTypeOf :: Contact -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Contact ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Contact ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Contact -> Contact Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Contact -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Contact -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Contact -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Contact -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Contact -> m Contact Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Contact -> m Contact Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Contact -> m Contact Source #

Show Contact Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Contact Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Contact Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Contact Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Contact Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Contact Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "email" k Contact Contact a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "name" k Contact Contact a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe URL , b ~ Maybe URL ) => LabelOptic "url" k Contact Contact a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasUrl Contact ( Maybe URL ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasContact Info ( Maybe Contact ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasName Contact ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasEmail Contact ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Contact Source #
Instance details

Defined in Data.OpenApi.Internal

data License Source #

License information for the exposed API.

Constructors

License

Fields

Instances

Instances details
Eq License Source #
Instance details

Defined in Data.OpenApi.Internal

Data License Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> License -> c License Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c License Source #

toConstr :: License -> Constr Source #

dataTypeOf :: License -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c License ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c License ) Source #

gmapT :: ( forall b. Data b => b -> b) -> License -> License Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> License -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> License -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> License -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> License -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> License -> m License Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> License -> m License Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> License -> m License Source #

Show License Source #
Instance details

Defined in Data.OpenApi.Internal

IsString License Source #
Instance details

Defined in Data.OpenApi.Internal

Generic License Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON License Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON License Source #
Instance details

Defined in Data.OpenApi.Internal

HasName License Text Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "name" k License License a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe URL , b ~ Maybe URL ) => LabelOptic "url" k License License a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasUrl License ( Maybe URL ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasLicense Info ( Maybe License ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep License Source #
Instance details

Defined in Data.OpenApi.Internal

data Server Source #

An object representing a Server.

Constructors

Server

Fields

Instances

Instances details
Eq Server Source #
Instance details

Defined in Data.OpenApi.Internal

Data Server Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Server -> c Server Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Server Source #

toConstr :: Server -> Constr Source #

dataTypeOf :: Server -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Server ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Server ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Server -> Server Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Server -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Server -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Server -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Server -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Server -> m Server Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Server -> m Server Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Server -> m Server Source #

Show Server Source #
Instance details

Defined in Data.OpenApi.Internal

IsString Server Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Server Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Server Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Server Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Server Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Server :: [[ Type ]] Source #

HasDatatypeInfo Server Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue Server Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Server Source #
Instance details

Defined in Data.OpenApi.Internal

HasUrl Server Text Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k Server Server a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "url" k Server Server a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap Text ServerVariable , b ~ InsOrdHashMap Text ServerVariable ) => LabelOptic "variables" k Server Server a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasServers Operation [ Server ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasServers PathItem [ Server ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasServers OpenApi [ Server ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription Server ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasServer Link ( Maybe Server ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasVariables Server ( InsOrdHashMap Text ServerVariable ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Server Source #
Instance details

Defined in Data.OpenApi.Internal

type Code Server Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Server Source #
Instance details

Defined in Data.OpenApi.Internal

data ServerVariable Source #

Constructors

ServerVariable

Fields

Instances

Instances details
Eq ServerVariable Source #
Instance details

Defined in Data.OpenApi.Internal

Data ServerVariable Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ServerVariable -> c ServerVariable Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ServerVariable Source #

toConstr :: ServerVariable -> Constr Source #

dataTypeOf :: ServerVariable -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ServerVariable ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ServerVariable ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ServerVariable -> ServerVariable Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ServerVariable -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ServerVariable -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ServerVariable -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ServerVariable -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ServerVariable -> m ServerVariable Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ServerVariable -> m ServerVariable Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ServerVariable -> m ServerVariable Source #

Show ServerVariable Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ServerVariable Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ServerVariable Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ServerVariable Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "default" k ServerVariable ServerVariable a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k ServerVariable ServerVariable a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( InsOrdHashSet Text ), b ~ Maybe ( InsOrdHashSet Text )) => LabelOptic "enum" k ServerVariable ServerVariable a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasVariables Server ( InsOrdHashMap Text ServerVariable ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep ServerVariable Source #
Instance details

Defined in Data.OpenApi.Internal

data Components Source #

Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.

Instances

Instances details
Eq Components Source #
Instance details

Defined in Data.OpenApi.Internal

Data Components Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Components -> c Components Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Components Source #

toConstr :: Components -> Constr Source #

dataTypeOf :: Components -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Components ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Components ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Components -> Components Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Components -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Components -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Components -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Components -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Components -> m Components Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Components -> m Components Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Components -> m Components Source #

Show Components Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Components Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Components Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Components Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Components Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Components Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Components Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Components :: [[ Type ]] Source #

HasDatatypeInfo Components Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue Components Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Components Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Components Source #
Instance details

Defined in Data.OpenApi.Internal

HasComponents OpenApi Components Source #
Instance details

Defined in Data.OpenApi.Lens

HasSecuritySchemes Components SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Definitions Callback , b ~ Definitions Callback ) => LabelOptic "callbacks" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Definitions Example , b ~ Definitions Example ) => LabelOptic "examples" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Definitions Header , b ~ Definitions Header ) => LabelOptic "headers" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Definitions Link , b ~ Definitions Link ) => LabelOptic "links" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Definitions Param , b ~ Definitions Param ) => LabelOptic "parameters" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Definitions RequestBody , b ~ Definitions RequestBody ) => LabelOptic "requestBodies" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Definitions Response , b ~ Definitions Response ) => LabelOptic "responses" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Definitions Schema , b ~ Definitions Schema ) => LabelOptic "schemas" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ SecurityDefinitions , b ~ SecurityDefinitions ) => LabelOptic "securitySchemes" k Components Components a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasSchemas Components ( Definitions Schema ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasResponses Components ( Definitions Response ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequestBodies Components ( Definitions RequestBody ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasParameters Components ( Definitions Param ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasLinks Components ( Definitions Link ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Components ( Definitions Header ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples Components ( Definitions Example ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasCallbacks Components ( Definitions Callback ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Components Source #
Instance details

Defined in Data.OpenApi.Internal

type Code Components Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Components Source #
Instance details

Defined in Data.OpenApi.Internal

data PathItem Source #

Describes the operations available on a single path. A PathItem may be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.

Constructors

PathItem

Fields

Instances

Instances details
Eq PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

Data PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PathItem -> c PathItem Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PathItem Source #

toConstr :: PathItem -> Constr Source #

dataTypeOf :: PathItem -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PathItem ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PathItem ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PathItem -> PathItem Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PathItem -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PathItem -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PathItem -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PathItem -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PathItem -> m PathItem Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PathItem -> m PathItem Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PathItem -> m PathItem Source #

Show PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

Generic PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

Generic PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code PathItem :: [[ Type ]] Source #

HasDatatypeInfo PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "delete" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "get" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "head" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "options" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ Referenced Param ], b ~ [ Referenced Param ]) => LabelOptic "parameters" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "patch" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "post" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "put" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ Server ], b ~ [ Server ]) => LabelOptic "servers" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "summary" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Operation , b ~ Maybe Operation ) => LabelOptic "trace" k PathItem PathItem a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasServers PathItem [ Server ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasParameters PathItem [ Referenced Param ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription PathItem ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasTrace PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSummary PathItem ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPut PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPost PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPatch PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasOptions PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHead PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasGet PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDelete PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPaths OpenApi ( InsOrdHashMap FilePath PathItem ) Source #
Instance details

Defined in Data.OpenApi.Lens

SwaggerMonoid ( InsOrdHashMap FilePath PathItem ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep PathItem = D1 (' MetaData "PathItem" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "PathItem" ' PrefixI ' True ) ((( S1 (' MetaSel (' Just "_pathItemSummary") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: ( S1 (' MetaSel (' Just "_pathItemDescription") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: S1 (' MetaSel (' Just "_pathItemGet") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation )))) :*: ( S1 (' MetaSel (' Just "_pathItemPut") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation )) :*: ( S1 (' MetaSel (' Just "_pathItemPost") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation )) :*: S1 (' MetaSel (' Just "_pathItemDelete") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation ))))) :*: (( S1 (' MetaSel (' Just "_pathItemOptions") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation )) :*: ( S1 (' MetaSel (' Just "_pathItemHead") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation )) :*: S1 (' MetaSel (' Just "_pathItemPatch") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation )))) :*: ( S1 (' MetaSel (' Just "_pathItemTrace") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Operation )) :*: ( S1 (' MetaSel (' Just "_pathItemServers") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ Server ]) :*: S1 (' MetaSel (' Just "_pathItemParameters") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ Referenced Param ]))))))
type Code PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf PathItem Source #
Instance details

Defined in Data.OpenApi.Internal

data Operation Source #

Describes a single API operation on a path.

Constructors

Operation

Fields

  • _operationTags :: InsOrdHashSet TagName

    A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.

  • _operationSummary :: Maybe Text

    A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.

  • _operationDescription :: Maybe Text

    A verbose explanation of the operation behavior. CommonMark syntax can be used for rich text representation.

  • _operationExternalDocs :: Maybe ExternalDocs

    Additional external documentation for this operation.

  • _operationOperationId :: Maybe Text

    Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is **case-sensitive**. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions.

  • _operationParameters :: [ Referenced Param ]

    A list of parameters that are applicable for this operation. If a parameter is already defined at the PathItem , the new definition will override it, but can never remove it. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location.

  • _operationRequestBody :: Maybe ( Referenced RequestBody )

    The request body applicable for this operation. The requestBody is only supported in HTTP methods where the HTTP 1.1 specification RFC7231 has explicitly defined semantics for request bodies. In other cases where the HTTP spec is vague, requestBody SHALL be ignored by consumers.

  • _operationResponses :: Responses

    The list of possible responses as they are returned from executing this operation.

  • _operationCallbacks :: InsOrdHashMap Text ( Referenced Callback )

    A map of possible out-of band callbacks related to the parent operation. The key is a unique identifier for the Callback Object. Each value in the map is a Callback Object that describes a request that may be initiated by the API provider and the expected responses.

  • _operationDeprecated :: Maybe Bool

    Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is False .

  • _operationSecurity :: [ SecurityRequirement ]

    A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level security. To remove a top-level security declaration, Just [] can be used.

  • _operationServers :: [ Server ]

    An alternative server array to service this operation. If an alternative server object is specified at the PathItem Object or Root level, it will be overridden by this value.

Instances

Instances details
Eq Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Data Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Operation -> c Operation Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Operation Source #

toConstr :: Operation -> Constr Source #

dataTypeOf :: Operation -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Operation ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Operation ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Operation -> Operation Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Operation -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Operation -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Operation -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Operation -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Operation -> m Operation Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Operation -> m Operation Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Operation -> m Operation Source #

Show Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Operation Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Operation Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Operation :: [[ Type ]] Source #

HasDatatypeInfo Operation Source #
Instance details

Defined in Data.OpenApi.Internal

Ixed Operation Source #
Instance details

Defined in Data.OpenApi.Lens

At Operation Source #
Instance details

Defined in Data.OpenApi.Lens

Ixed Operation Source #
Instance details

Defined in Data.OpenApi.Optics

At Operation Source #
Instance details

Defined in Data.OpenApi.Optics

HasSwaggerAesonOptions Operation Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Operation Source #
Instance details

Defined in Data.OpenApi.Internal

HasResponses Operation Responses Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ InsOrdHashMap Text ( Referenced Callback ), b ~ InsOrdHashMap Text ( Referenced Callback )) => LabelOptic "callbacks" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "deprecated" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ExternalDocs , b ~ Maybe ExternalDocs ) => LabelOptic "externalDocs" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "operationId" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ Referenced Param ], b ~ [ Referenced Param ]) => LabelOptic "parameters" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( Referenced RequestBody ), b ~ Maybe ( Referenced RequestBody )) => LabelOptic "requestBody" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Responses , b ~ Responses ) => LabelOptic "responses" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ SecurityRequirement ], b ~ [ SecurityRequirement ]) => LabelOptic "security" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ Server ], b ~ [ Server ]) => LabelOptic "servers" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "summary" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashSet TagName , b ~ InsOrdHashSet TagName ) => LabelOptic "tags" k Operation Operation a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasTags Operation ( InsOrdHashSet TagName ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasServers Operation [ Server ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasSecurity Operation [ SecurityRequirement ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalDocs Operation ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasParameters Operation [ Referenced Param ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription Operation ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasTrace PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSummary Operation ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPut PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPost PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPatch PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasOptions PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHead PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasGet PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDelete PathItem ( Maybe Operation ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequestBody Operation ( Maybe ( Referenced RequestBody )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasOperationId Operation ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDeprecated Operation ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasCallbacks Operation ( InsOrdHashMap Text ( Referenced Callback )) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Operation Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Operation = D1 (' MetaData "Operation" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "Operation" ' PrefixI ' True ) ((( S1 (' MetaSel (' Just "_operationTags") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( InsOrdHashSet TagName )) :*: ( S1 (' MetaSel (' Just "_operationSummary") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: S1 (' MetaSel (' Just "_operationDescription") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )))) :*: ( S1 (' MetaSel (' Just "_operationExternalDocs") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ExternalDocs )) :*: ( S1 (' MetaSel (' Just "_operationOperationId") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: S1 (' MetaSel (' Just "_operationParameters") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ Referenced Param ])))) :*: (( S1 (' MetaSel (' Just "_operationRequestBody") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ( Referenced RequestBody ))) :*: ( S1 (' MetaSel (' Just "_operationResponses") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Responses ) :*: S1 (' MetaSel (' Just "_operationCallbacks") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( InsOrdHashMap Text ( Referenced Callback ))))) :*: ( S1 (' MetaSel (' Just "_operationDeprecated") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: ( S1 (' MetaSel (' Just "_operationSecurity") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ SecurityRequirement ]) :*: S1 (' MetaSel (' Just "_operationServers") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ Server ]))))))
type Code Operation Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Operation Source #
Instance details

Defined in Data.OpenApi.Internal

type Index Operation Source #
Instance details

Defined in Data.OpenApi.Lens

type IxValue Operation Source #
Instance details

Defined in Data.OpenApi.Lens

type Index Operation Source #
Instance details

Defined in Data.OpenApi.Optics

type IxValue Operation Source #
Instance details

Defined in Data.OpenApi.Optics

type IxKind Operation Source #
Instance details

Defined in Data.OpenApi.Optics

data RequestBody Source #

Describes a single request body.

Constructors

RequestBody

Fields

Instances

Instances details
Eq RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

Data RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> RequestBody -> c RequestBody Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c RequestBody Source #

toConstr :: RequestBody -> Constr Source #

dataTypeOf :: RequestBody -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c RequestBody ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c RequestBody ) Source #

gmapT :: ( forall b. Data b => b -> b) -> RequestBody -> RequestBody Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> RequestBody -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> RequestBody -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> RequestBody -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> RequestBody -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> RequestBody -> m RequestBody Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> RequestBody -> m RequestBody Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> RequestBody -> m RequestBody Source #

Show RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

Generic RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

Generic RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code RequestBody :: [[ Type ]] Source #

HasDatatypeInfo RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ InsOrdHashMap MediaType MediaTypeObject , b ~ InsOrdHashMap MediaType MediaTypeObject ) => LabelOptic "content" k RequestBody RequestBody a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k RequestBody RequestBody a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "required" k RequestBody RequestBody a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasRequestBodies Components ( Definitions RequestBody ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription RequestBody ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequired RequestBody ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequestBody Operation ( Maybe ( Referenced RequestBody )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasContent RequestBody ( InsOrdHashMap MediaType MediaTypeObject ) Source #
Instance details

Defined in Data.OpenApi.Lens

ToJSON ( Referenced RequestBody ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced RequestBody ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

type Code RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf RequestBody Source #
Instance details

Defined in Data.OpenApi.Internal

data MediaTypeObject Source #

Each Media Type Object provides schema and examples for the media type identified by its key.

Constructors

MediaTypeObject

Fields

Instances

Instances details
Eq MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

Data MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> MediaTypeObject -> c MediaTypeObject Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c MediaTypeObject Source #

toConstr :: MediaTypeObject -> Constr Source #

dataTypeOf :: MediaTypeObject -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c MediaTypeObject ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c MediaTypeObject ) Source #

gmapT :: ( forall b. Data b => b -> b) -> MediaTypeObject -> MediaTypeObject Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> MediaTypeObject -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> MediaTypeObject -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> MediaTypeObject -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> MediaTypeObject -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> MediaTypeObject -> m MediaTypeObject Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> MediaTypeObject -> m MediaTypeObject Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> MediaTypeObject -> m MediaTypeObject Source #

Show MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

Generic MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

Generic MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code MediaTypeObject :: [[ Type ]] Source #

HasDatatypeInfo MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ InsOrdHashMap Text Encoding , b ~ InsOrdHashMap Text Encoding ) => LabelOptic "encoding" k MediaTypeObject MediaTypeObject a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Value , b ~ Maybe Value ) => LabelOptic "example" k MediaTypeObject MediaTypeObject a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap Text ( Referenced Example ), b ~ InsOrdHashMap Text ( Referenced Example )) => LabelOptic "examples" k MediaTypeObject MediaTypeObject a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( Referenced Schema ), b ~ Maybe ( Referenced Schema )) => LabelOptic "schema" k MediaTypeObject MediaTypeObject a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasSchema MediaTypeObject ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExample MediaTypeObject ( Maybe Value ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples MediaTypeObject ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasContent Response ( InsOrdHashMap MediaType MediaTypeObject ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasContent RequestBody ( InsOrdHashMap MediaType MediaTypeObject ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasEncoding MediaTypeObject ( InsOrdHashMap Text Encoding ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

type Code MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf MediaTypeObject Source #
Instance details

Defined in Data.OpenApi.Internal

data Style Source #

In order to support common ways of serializing simple parameters, a set of style values are defined.

Constructors

StyleMatrix

Path-style parameters defined by RFC6570 .

StyleLabel

Label style parameters defined by RFC6570 .

StyleForm

Form style parameters defined by RFC6570 . This option replaces collectionFormat with a csv (when explode is false) or multi (when explode is true) value from OpenAPI 2.0.

StyleSimple

Simple style parameters defined by RFC6570 . This option replaces collectionFormat with a csv value from OpenAPI 2.0.

StyleSpaceDelimited

Space separated array values. This option replaces collectionFormat equal to ssv from OpenAPI 2.0.

StylePipeDelimited

Pipe separated array values. This option replaces collectionFormat equal to pipes from OpenAPI 2.0.

StyleDeepObject

Provides a simple way of rendering nested objects using form parameters.

Instances

Instances details
Eq Style Source #
Instance details

Defined in Data.OpenApi.Internal

Data Style Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Style -> c Style Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Style Source #

toConstr :: Style -> Constr Source #

dataTypeOf :: Style -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Style ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Style ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Style -> Style Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Style -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Style -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Style -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Style -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Style -> m Style Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Style -> m Style Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Style -> m Style Source #

Show Style Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Style Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Style Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Style Source #
Instance details

Defined in Data.OpenApi.Internal

HasStyle Param ( Maybe Style ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasStyle Encoding ( Maybe Style ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Style Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Style = D1 (' MetaData "Style" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) (( C1 (' MetaCons "StyleMatrix" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "StyleLabel" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "StyleForm" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: (( C1 (' MetaCons "StyleSimple" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "StyleSpaceDelimited" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "StylePipeDelimited" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "StyleDeepObject" ' PrefixI ' False ) ( U1 :: Type -> Type ))))

data Encoding Source #

Constructors

Encoding

Fields

  • _encodingContentType :: Maybe MediaType

    The Content-Type for encoding a specific property. Default value depends on the property type: for string with format being binary – application/octet-stream ; for other primitive types – text/plain ; for object - application/json ; for array – the default is defined based on the inner type. The value can be a specific media type (e.g. application/json ), a wildcard media type (e.g. image/* ), or a comma-separated list of the two types.

  • _encodingHeaders :: InsOrdHashMap Text ( Referenced Header )

    A map allowing additional information to be provided as headers, for example Content-Disposition . Content-Type is described separately and SHALL be ignored in this section. This property SHALL be ignored if the request body media type is not a multipart .

  • _encodingStyle :: Maybe Style

    Describes how a specific property value will be serialized depending on its type. See Param Object for details on the style property. The behavior follows the same values as query parameters, including default values. This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded .

  • _encodingExplode :: Maybe Bool

    When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When style is form, the default value is true . For all other styles, the default value is false . This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded .

  • _encodingAllowReserved :: Maybe Bool

    Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[] !$&'()*+,;= to be included without percent-encoding. The default value is false . This property SHALL be ignored if the request body media type is not application/x-www-form-urlencoded@.

Instances

Instances details
Eq Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

Data Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Encoding -> c Encoding Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Encoding Source #

toConstr :: Encoding -> Constr Source #

dataTypeOf :: Encoding -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Encoding ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Encoding ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Encoding -> Encoding Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Encoding -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Encoding -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Encoding -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Encoding -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Encoding -> m Encoding Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Encoding -> m Encoding Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Encoding -> m Encoding Source #

Show Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Encoding :: [[ Type ]] Source #

HasDatatypeInfo Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "allowReserved" k Encoding Encoding a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe MediaType , b ~ Maybe MediaType ) => LabelOptic "contentType" k Encoding Encoding a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "explode" k Encoding Encoding a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap Text ( Referenced Header ), b ~ InsOrdHashMap Text ( Referenced Header )) => LabelOptic "headers" k Encoding Encoding a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Style , b ~ Maybe Style ) => LabelOptic "style" k Encoding Encoding a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasStyle Encoding ( Maybe Style ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExplode Encoding ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAllowReserved Encoding ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasContentType Encoding ( Maybe MediaType ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Encoding ( InsOrdHashMap Text ( Referenced Header )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasEncoding MediaTypeObject ( InsOrdHashMap Text Encoding ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

type Code Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Encoding Source #
Instance details

Defined in Data.OpenApi.Internal

newtype MimeList Source #

Constructors

MimeList

Instances

Instances details
Eq MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

Data MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> MimeList -> c MimeList Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c MimeList Source #

toConstr :: MimeList -> Constr Source #

dataTypeOf :: MimeList -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c MimeList ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c MimeList ) Source #

gmapT :: ( forall b. Data b => b -> b) -> MimeList -> MimeList Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> MimeList -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> MimeList -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> MimeList -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> MimeList -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> MimeList -> m MimeList Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> MimeList -> m MimeList Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> MimeList -> m MimeList Source #

Show MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid MimeList Source #
Instance details

Defined in Data.OpenApi.Internal

data Param Source #

Describes a single operation parameter. A unique parameter is defined by a combination of a name and location.

Constructors

Param

Fields

Instances

Instances details
Eq Param Source #
Instance details

Defined in Data.OpenApi.Internal

Data Param Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Param -> c Param Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Param Source #

toConstr :: Param -> Constr Source #

dataTypeOf :: Param -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Param ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Param ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Param -> Param Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Param -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Param -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Param -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Param -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Param -> m Param Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Param -> m Param Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Param -> m Param Source #

Show Param Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Param Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Param Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Param Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Param Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Param Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Param Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Param :: [[ Type ]] Source #

HasDatatypeInfo Param Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Param Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Param Source #
Instance details

Defined in Data.OpenApi.Internal

HasName Param Text Source #
Instance details

Defined in Data.OpenApi.Lens

HasIn Param ParamLocation Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "allowEmptyValue" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "allowReserved" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "deprecated" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Value , b ~ Maybe Value ) => LabelOptic "example" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap Text ( Referenced Example ), b ~ InsOrdHashMap Text ( Referenced Example )) => LabelOptic "examples" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "explode" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ ParamLocation , b ~ ParamLocation ) => LabelOptic "in" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "name" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "required" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( Referenced Schema ), b ~ Maybe ( Referenced Schema )) => LabelOptic "schema" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Style , b ~ Maybe Style ) => LabelOptic "style" k Param Param a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasParameters Operation [ Referenced Param ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasParameters PathItem [ Referenced Param ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasParameters Components ( Definitions Param ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription Param ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequired Param ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema Param ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExample Param ( Maybe Value ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDeprecated Param ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasStyle Param ( Maybe Style ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExplode Param ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAllowReserved Param ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAllowEmptyValue Param ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples Param ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

ToJSON ( Referenced Param ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Param ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Param Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Param = D1 (' MetaData "Param" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "Param" ' PrefixI ' True ) ((( S1 (' MetaSel (' Just "_paramName") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text ) :*: ( S1 (' MetaSel (' Just "_paramDescription") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: S1 (' MetaSel (' Just "_paramRequired") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )))) :*: ( S1 (' MetaSel (' Just "_paramDeprecated") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: ( S1 (' MetaSel (' Just "_paramIn") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ParamLocation ) :*: S1 (' MetaSel (' Just "_paramAllowEmptyValue") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool ))))) :*: (( S1 (' MetaSel (' Just "_paramAllowReserved") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: ( S1 (' MetaSel (' Just "_paramSchema") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ( Referenced Schema ))) :*: S1 (' MetaSel (' Just "_paramStyle") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Style )))) :*: ( S1 (' MetaSel (' Just "_paramExplode") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: ( S1 (' MetaSel (' Just "_paramExample") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Value )) :*: S1 (' MetaSel (' Just "_paramExamples") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( InsOrdHashMap Text ( Referenced Example ))))))))
type Code Param Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Param Source #
Instance details

Defined in Data.OpenApi.Internal

data Example Source #

Constructors

Example

Fields

Instances

Instances details
Eq Example Source #
Instance details

Defined in Data.OpenApi.Internal

Data Example Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Example -> c Example Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Example Source #

toConstr :: Example -> Constr Source #

dataTypeOf :: Example -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Example ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Example ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Example -> Example Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Example -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Example -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Example -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Example -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Example -> m Example Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Example -> m Example Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Example -> m Example Source #

Show Example Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Example Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Example Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Example Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Example Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Example :: [[ Type ]] Source #

HasDatatypeInfo Example Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Example Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k Example Example a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe URL , b ~ Maybe URL ) => LabelOptic "externalValue" k Example Example a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "summary" k Example Example a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Value , b ~ Maybe Value ) => LabelOptic "value" k Example Example a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasExamples Components ( Definitions Example ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription Example ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSummary Example ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasValue Example ( Maybe Value ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalValue Example ( Maybe URL ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples Header ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples Param ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples MediaTypeObject ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

ToJSON ( Referenced Example ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Example ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Example Source #
Instance details

Defined in Data.OpenApi.Internal

type Code Example Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Example Source #
Instance details

Defined in Data.OpenApi.Internal

data ExpressionOrValue Source #

Instances

Instances details
Eq ExpressionOrValue Source #
Instance details

Defined in Data.OpenApi.Internal

Data ExpressionOrValue Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ExpressionOrValue -> c ExpressionOrValue Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ExpressionOrValue Source #

toConstr :: ExpressionOrValue -> Constr Source #

dataTypeOf :: ExpressionOrValue -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ExpressionOrValue ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ExpressionOrValue ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ExpressionOrValue -> ExpressionOrValue Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ExpressionOrValue -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ExpressionOrValue -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ExpressionOrValue -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ExpressionOrValue -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ExpressionOrValue -> m ExpressionOrValue Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExpressionOrValue -> m ExpressionOrValue Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExpressionOrValue -> m ExpressionOrValue Source #

Show ExpressionOrValue Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ExpressionOrValue Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ExpressionOrValue Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ExpressionOrValue Source #

All strings are parsed as expressions

Instance details

Defined in Data.OpenApi.Internal

HasRequestBody Link ( Maybe ExpressionOrValue ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasParameters Link ( InsOrdHashMap Text ExpressionOrValue ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep ExpressionOrValue Source #
Instance details

Defined in Data.OpenApi.Internal

data Link Source #

The Link object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.

Constructors

Link

Fields

Instances

data OpenApiItems where Source #

Items for OpenApiArray schemas.

Warning : OpenAPI 3.0 does not support tuple arrays. However, OpenAPI 3.1 will, as it will incorporate Json Schema mostly verbatim.

OpenApiItemsObject should be used to specify homogenous array Schema s.

OpenApiItemsArray should be used to specify tuple Schema s.

Instances

Instances details
Eq OpenApiItems Source #
Instance details

Defined in Data.OpenApi.Internal

Data OpenApiItems Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OpenApiItems -> c OpenApiItems Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OpenApiItems Source #

toConstr :: OpenApiItems -> Constr Source #

dataTypeOf :: OpenApiItems -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OpenApiItems ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OpenApiItems ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OpenApiItems -> OpenApiItems Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApiItems -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApiItems -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OpenApiItems -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OpenApiItems -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OpenApiItems -> m OpenApiItems Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApiItems -> m OpenApiItems Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApiItems -> m OpenApiItems Source #

Show OpenApiItems Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApiItems Source #

As for nullary schema for 0-arity type constructors, see https://github.com/GetShopTV/swagger2/issues/167 .

>>> BSL.putStrLn $ encodePretty (OpenApiItemsArray [])
{
    "example": [],
    "items": {},
    "maxItems": 0
}
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApiItems Source #
Instance details

Defined in Data.OpenApi.Internal

(a ~ [ Referenced Schema ], b ~ [ Referenced Schema ]) => LabelOptic "_OpenApiItemsArray" A_Review OpenApiItems OpenApiItems a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Referenced Schema , b ~ Referenced Schema ) => LabelOptic "_OpenApiItemsObject" A_Review OpenApiItems OpenApiItems a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasSchema s Schema => HasItems s ( Maybe OpenApiItems ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasItems Schema ( Maybe OpenApiItems ) Source #
Instance details

Defined in Data.OpenApi.Lens

data OpenApiType where Source #

Instances

Instances details
Eq OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

Data OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OpenApiType -> c OpenApiType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OpenApiType Source #

toConstr :: OpenApiType -> Constr Source #

dataTypeOf :: OpenApiType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OpenApiType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OpenApiType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OpenApiType -> OpenApiType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApiType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApiType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OpenApiType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OpenApiType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OpenApiType -> m OpenApiType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApiType -> m OpenApiType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApiType -> m OpenApiType Source #

Show OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

HasType NamedSchema ( Maybe OpenApiType ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasType Schema ( Maybe OpenApiType ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OpenApiType Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep OpenApiType = D1 (' MetaData "OpenApiType" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) (( C1 (' MetaCons "OpenApiString" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "OpenApiNumber" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "OpenApiInteger" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: (( C1 (' MetaCons "OpenApiBoolean" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "OpenApiArray" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "OpenApiNull" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "OpenApiObject" ' PrefixI ' False ) ( U1 :: Type -> Type ))))

data ParamLocation Source #

Constructors

ParamQuery

Parameters that are appended to the URL. For example, in /items?id=### , the query parameter is id .

ParamHeader

Custom headers that are expected as part of the request.

ParamPath

Used together with Path Templating, where the parameter value is actually part of the operation's URL. This does not include the host or base path of the API. For example, in items {itemId} , the path parameter is itemId .

ParamCookie

Used to pass a specific cookie value to the API.

Instances

Instances details
Eq ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

Data ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ParamLocation -> c ParamLocation Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ParamLocation Source #

toConstr :: ParamLocation -> Constr Source #

dataTypeOf :: ParamLocation -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ParamLocation ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ParamLocation ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ParamLocation -> ParamLocation Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ParamLocation -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ParamLocation -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ParamLocation -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ParamLocation -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ParamLocation -> m ParamLocation Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ParamLocation -> m ParamLocation Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ParamLocation -> m ParamLocation Source #

Show ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

HasIn Param ParamLocation Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep ParamLocation Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep ParamLocation = D1 (' MetaData "ParamLocation" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) (( C1 (' MetaCons "ParamQuery" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ParamHeader" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "ParamPath" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ParamCookie" ' PrefixI ' False ) ( U1 :: Type -> Type )))

data Schema Source #

Constructors

Schema

Fields

Instances

Instances details
Eq Schema Source #
Instance details

Defined in Data.OpenApi.Internal

Data Schema Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Schema -> c Schema Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Schema Source #

toConstr :: Schema -> Constr Source #

dataTypeOf :: Schema -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Schema ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Schema ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Schema -> Schema Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Schema -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Schema -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Schema -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Schema -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Schema -> m Schema Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Schema -> m Schema Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Schema -> m Schema Source #

Show Schema Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Schema Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Schema Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Schema Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Schema Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Schema Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Schema Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Schema :: [[ Type ]] Source #

HasDatatypeInfo Schema Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Schema Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Schema Source #
Instance details

Defined in Data.OpenApi.Internal

HasSchema NamedSchema Schema Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe AdditionalProperties , b ~ Maybe AdditionalProperties ) => LabelOptic "additionalProperties" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe [ Referenced Schema ], b ~ Maybe [ Referenced Schema ]) => LabelOptic "allOf" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe [ Referenced Schema ], b ~ Maybe [ Referenced Schema ]) => LabelOptic "anyOf" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Value , b ~ Maybe Value ) => LabelOptic "default" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "deprecated" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Discriminator , b ~ Maybe Discriminator ) => LabelOptic "discriminator" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe [ Value ], b ~ Maybe [ Value ]) => LabelOptic "enum" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Value , b ~ Maybe Value ) => LabelOptic "example" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "exclusiveMaximum" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "exclusiveMinimum" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ExternalDocs , b ~ Maybe ExternalDocs ) => LabelOptic "externalDocs" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Format , b ~ Maybe Format ) => LabelOptic "format" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe OpenApiItems , b ~ Maybe OpenApiItems ) => LabelOptic "items" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "maxItems" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "maxLength" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "maxProperties" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Scientific , b ~ Maybe Scientific ) => LabelOptic "maximum" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "minItems" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "minLength" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "minProperties" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Scientific , b ~ Maybe Scientific ) => LabelOptic "minimum" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Scientific , b ~ Maybe Scientific ) => LabelOptic "multipleOf" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( Referenced Schema ), b ~ Maybe ( Referenced Schema )) => LabelOptic "not" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "nullable" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe [ Referenced Schema ], b ~ Maybe [ Referenced Schema ]) => LabelOptic "oneOf" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Pattern , b ~ Maybe Pattern ) => LabelOptic "pattern" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap Text ( Referenced Schema ), b ~ InsOrdHashMap Text ( Referenced Schema )) => LabelOptic "properties" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "readOnly" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ [ ParamName ], b ~ [ ParamName ]) => LabelOptic "required" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "title" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe OpenApiType , b ~ Maybe OpenApiType ) => LabelOptic "type" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "uniqueItems" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "writeOnly" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Xml , b ~ Maybe Xml ) => LabelOptic "xml" k Schema Schema a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasExternalDocs Schema ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchemas Components ( Definitions Schema ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription Schema ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequired Schema [ ParamName ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema Header ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema Param ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema MediaTypeObject ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExample Schema ( Maybe Value ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasTitle Schema ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDeprecated Schema ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasXml Schema ( Maybe Xml ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasWriteOnly Schema ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasUniqueItems Schema ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasType Schema ( Maybe OpenApiType ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasReadOnly Schema ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPattern Schema ( Maybe Pattern ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasOneOf Schema ( Maybe [ Referenced Schema ]) Source #
Instance details

Defined in Data.OpenApi.Lens

HasNullable Schema ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasNot Schema ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMultipleOf Schema ( Maybe Scientific ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMinimum Schema ( Maybe Scientific ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMinProperties Schema ( Maybe Integer ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMinLength Schema ( Maybe Integer ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMinItems Schema ( Maybe Integer ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMaximum Schema ( Maybe Scientific ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMaxProperties Schema ( Maybe Integer ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMaxLength Schema ( Maybe Integer ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMaxItems Schema ( Maybe Integer ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasItems Schema ( Maybe OpenApiItems ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasFormat Schema ( Maybe Format ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExclusiveMinimum Schema ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExclusiveMaximum Schema ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasEnum Schema ( Maybe [ Value ]) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDiscriminator Schema ( Maybe Discriminator ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDefault Schema ( Maybe Value ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAnyOf Schema ( Maybe [ Referenced Schema ]) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAllOf Schema ( Maybe [ Referenced Schema ]) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAdditionalProperties Schema ( Maybe AdditionalProperties ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasProperties Schema ( InsOrdHashMap Text ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

ToJSON ( Referenced Schema ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Schema ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Schema Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Schema = D1 (' MetaData "Schema" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "Schema" ' PrefixI ' True ) ((((( S1 (' MetaSel (' Just "_schemaTitle") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: S1 (' MetaSel (' Just "_schemaDescription") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text ))) :*: ( S1 (' MetaSel (' Just "_schemaRequired") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ ParamName ]) :*: S1 (' MetaSel (' Just "_schemaNullable") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )))) :*: (( S1 (' MetaSel (' Just "_schemaAllOf") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe [ Referenced Schema ])) :*: S1 (' MetaSel (' Just "_schemaOneOf") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe [ Referenced Schema ]))) :*: ( S1 (' MetaSel (' Just "_schemaNot") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ( Referenced Schema ))) :*: S1 (' MetaSel (' Just "_schemaAnyOf") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe [ Referenced Schema ]))))) :*: ((( S1 (' MetaSel (' Just "_schemaProperties") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( InsOrdHashMap Text ( Referenced Schema ))) :*: S1 (' MetaSel (' Just "_schemaAdditionalProperties") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe AdditionalProperties ))) :*: ( S1 (' MetaSel (' Just "_schemaDiscriminator") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Discriminator )) :*: S1 (' MetaSel (' Just "_schemaReadOnly") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )))) :*: (( S1 (' MetaSel (' Just "_schemaWriteOnly") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: S1 (' MetaSel (' Just "_schemaXml") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Xml ))) :*: ( S1 (' MetaSel (' Just "_schemaExternalDocs") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ExternalDocs )) :*: ( S1 (' MetaSel (' Just "_schemaExample") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Value )) :*: S1 (' MetaSel (' Just "_schemaDeprecated") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool ))))))) :*: (((( S1 (' MetaSel (' Just "_schemaMaxProperties") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Integer )) :*: S1 (' MetaSel (' Just "_schemaMinProperties") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Integer ))) :*: ( S1 (' MetaSel (' Just "_schemaDefault") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Value )) :*: S1 (' MetaSel (' Just "_schemaType") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe OpenApiType )))) :*: (( S1 (' MetaSel (' Just "_schemaFormat") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Format )) :*: S1 (' MetaSel (' Just "_schemaItems") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe OpenApiItems ))) :*: ( S1 (' MetaSel (' Just "_schemaMaximum") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Scientific )) :*: ( S1 (' MetaSel (' Just "_schemaExclusiveMaximum") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: S1 (' MetaSel (' Just "_schemaMinimum") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Scientific )))))) :*: ((( S1 (' MetaSel (' Just "_schemaExclusiveMinimum") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: S1 (' MetaSel (' Just "_schemaMaxLength") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Integer ))) :*: ( S1 (' MetaSel (' Just "_schemaMinLength") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Integer )) :*: S1 (' MetaSel (' Just "_schemaPattern") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Pattern )))) :*: (( S1 (' MetaSel (' Just "_schemaMaxItems") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Integer )) :*: S1 (' MetaSel (' Just "_schemaMinItems") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Integer ))) :*: ( S1 (' MetaSel (' Just "_schemaUniqueItems") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Bool )) :*: ( S1 (' MetaSel (' Just "_schemaEnum") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe [ Value ])) :*: S1 (' MetaSel (' Just "_schemaMultipleOf") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Scientific )))))))))
type Code Schema Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Schema Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Schema = ' ADT "Data.OpenApi.Internal" "Schema" '[' Record "Schema" '[' FieldInfo "_schemaTitle", ' FieldInfo "_schemaDescription", ' FieldInfo "_schemaRequired", ' FieldInfo "_schemaNullable", ' FieldInfo "_schemaAllOf", ' FieldInfo "_schemaOneOf", ' FieldInfo "_schemaNot", ' FieldInfo "_schemaAnyOf", ' FieldInfo "_schemaProperties", ' FieldInfo "_schemaAdditionalProperties", ' FieldInfo "_schemaDiscriminator", ' FieldInfo "_schemaReadOnly", ' FieldInfo "_schemaWriteOnly", ' FieldInfo "_schemaXml", ' FieldInfo "_schemaExternalDocs", ' FieldInfo "_schemaExample", ' FieldInfo "_schemaDeprecated", ' FieldInfo "_schemaMaxProperties", ' FieldInfo "_schemaMinProperties", ' FieldInfo "_schemaDefault", ' FieldInfo "_schemaType", ' FieldInfo "_schemaFormat", ' FieldInfo "_schemaItems", ' FieldInfo "_schemaMaximum", ' FieldInfo "_schemaExclusiveMaximum", ' FieldInfo "_schemaMinimum", ' FieldInfo "_schemaExclusiveMinimum", ' FieldInfo "_schemaMaxLength", ' FieldInfo "_schemaMinLength", ' FieldInfo "_schemaPattern", ' FieldInfo "_schemaMaxItems", ' FieldInfo "_schemaMinItems", ' FieldInfo "_schemaUniqueItems", ' FieldInfo "_schemaEnum", ' FieldInfo "_schemaMultipleOf"]] '['[' 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 , ' 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 , ' 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 , ' 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 , ' StrictnessInfo ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy , ' StrictnessInfo ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy , ' StrictnessInfo ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ]]

type Pattern = Text Source #

Regex pattern for string type.

data Discriminator Source #

Constructors

Discriminator

Fields

Instances

Instances details
Eq Discriminator Source #
Instance details

Defined in Data.OpenApi.Internal

Data Discriminator Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Discriminator -> c Discriminator Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Discriminator Source #

toConstr :: Discriminator -> Constr Source #

dataTypeOf :: Discriminator -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Discriminator ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Discriminator ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Discriminator -> Discriminator Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Discriminator -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Discriminator -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Discriminator -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Discriminator -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Discriminator -> m Discriminator Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Discriminator -> m Discriminator Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Discriminator -> m Discriminator Source #

Show Discriminator Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Discriminator Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Discriminator Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Discriminator Source #
Instance details

Defined in Data.OpenApi.Internal

HasPropertyName Discriminator Text Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ InsOrdHashMap Text Text , b ~ InsOrdHashMap Text Text ) => LabelOptic "mapping" k Discriminator Discriminator a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "propertyName" k Discriminator Discriminator a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasDiscriminator Schema ( Maybe Discriminator ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasMapping Discriminator ( InsOrdHashMap Text Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Discriminator Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Discriminator = D1 (' MetaData "Discriminator" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "Discriminator" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_discriminatorPropertyName") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text ) :*: S1 (' MetaSel (' Just "_discriminatorMapping") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( InsOrdHashMap Text Text ))))

data NamedSchema Source #

A Schema with an optional name. This name can be used in references.

Instances

Instances details
Eq NamedSchema Source #
Instance details

Defined in Data.OpenApi.Internal

Data NamedSchema Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> NamedSchema -> c NamedSchema Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c NamedSchema Source #

toConstr :: NamedSchema -> Constr Source #

dataTypeOf :: NamedSchema -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c NamedSchema ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c NamedSchema ) Source #

gmapT :: ( forall b. Data b => b -> b) -> NamedSchema -> NamedSchema Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> NamedSchema -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> NamedSchema -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> NamedSchema -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> NamedSchema -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> NamedSchema -> m NamedSchema Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> NamedSchema -> m NamedSchema Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> NamedSchema -> m NamedSchema Source #

Show NamedSchema Source #
Instance details

Defined in Data.OpenApi.Internal

Generic NamedSchema Source #
Instance details

Defined in Data.OpenApi.Internal

HasSchema NamedSchema Schema Source #
Instance details

Defined in Data.OpenApi.Lens

(a ~ Maybe Value , b ~ Maybe Value ) => LabelOptic "default" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe [ Value ], b ~ Maybe [ Value ]) => LabelOptic "enum" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "exclusiveMaximum" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "exclusiveMinimum" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Format , b ~ Maybe Format ) => LabelOptic "format" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe OpenApiItems , b ~ Maybe OpenApiItems ) => LabelOptic "items" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "maxItems" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "maxLength" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Scientific , b ~ Maybe Scientific ) => LabelOptic "maximum" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "minItems" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Integer , b ~ Maybe Integer ) => LabelOptic "minLength" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Scientific , b ~ Maybe Scientific ) => LabelOptic "minimum" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Scientific , b ~ Maybe Scientific ) => LabelOptic "multipleOf" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "name" k NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "pattern" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Schema , b ~ Schema ) => LabelOptic "schema" k NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe OpenApiType , b ~ Maybe OpenApiType ) => LabelOptic "type" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

(a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "uniqueItems" A_Lens NamedSchema NamedSchema a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasName NamedSchema ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasType NamedSchema ( Maybe OpenApiType ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep NamedSchema Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep NamedSchema = D1 (' MetaData "NamedSchema" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "NamedSchema" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_namedSchemaName") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: S1 (' MetaSel (' Just "_namedSchemaSchema") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Schema )))

data Xml Source #

Constructors

Xml

Fields

  • _xmlName :: Maybe Text

    Replaces the name of the element/attribute used for the described schema property. When defined within the OpenApiItems (items), it will affect the name of the individual XML elements within the list. When defined alongside type being array (outside the items), it will affect the wrapping element and only if wrapped is true. If wrapped is false, it will be ignored.

  • _xmlNamespace :: Maybe Text

    The URL of the namespace definition. Value SHOULD be in the form of a URL.

  • _xmlPrefix :: Maybe Text

    The prefix to be used for the name.

  • _xmlAttribute :: Maybe Bool

    Declares whether the property definition translates to an attribute instead of an element. Default value is False .

  • _xmlWrapped :: Maybe Bool

    MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book ><book ></books> ) or unwrapped ( <book ><book > ). Default value is False . The definition takes effect only when defined alongside type being array (outside the items).

Instances

Instances details
Eq Xml Source #
Instance details

Defined in Data.OpenApi.Internal

Data Xml Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Xml -> c Xml Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Xml Source #

toConstr :: Xml -> Constr Source #

dataTypeOf :: Xml -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Xml ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Xml ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Xml -> Xml Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Xml -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Xml -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Xml -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Xml -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Xml -> m Xml Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Xml -> m Xml Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Xml -> m Xml Source #

Show Xml Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Xml Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep Xml :: Type -> Type Source #

ToJSON Xml Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Xml Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "attribute" k Xml Xml a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "name" k Xml Xml a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "namespace" k Xml Xml a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "prefix" k Xml Xml a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "wrapped" k Xml Xml a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasName Xml ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasXml Schema ( Maybe Xml ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasWrapped Xml ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasPrefix Xml ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasNamespace Xml ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAttribute Xml ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Xml Source #
Instance details

Defined in Data.OpenApi.Internal

data Responses Source #

A container for the expected responses of an operation. The container maps a HTTP response code to the expected response. It is not expected from the documentation to necessarily cover all possible HTTP response codes, since they may not be known in advance. However, it is expected from the documentation to cover a successful operation response and any known errors.

Constructors

Responses

Fields

Instances

Instances details
Eq Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Data Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Responses -> c Responses Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Responses Source #

toConstr :: Responses -> Constr Source #

dataTypeOf :: Responses -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Responses ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Responses ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Responses -> Responses Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Responses -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Responses -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Responses -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Responses -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Responses -> m Responses Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Responses -> m Responses Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Responses -> m Responses Source #

Show Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Responses Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Responses Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Responses :: [[ Type ]] Source #

HasDatatypeInfo Responses Source #
Instance details

Defined in Data.OpenApi.Internal

Ixed Responses Source #
Instance details

Defined in Data.OpenApi.Lens

At Responses Source #
Instance details

Defined in Data.OpenApi.Lens

Ixed Responses Source #
Instance details

Defined in Data.OpenApi.Optics

At Responses Source #
Instance details

Defined in Data.OpenApi.Optics

AesonDefaultValue Responses Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Responses Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Responses Source #
Instance details

Defined in Data.OpenApi.Internal

HasResponses Operation Responses Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe ( Referenced Response ), b ~ Maybe ( Referenced Response )) => LabelOptic "default" k Responses Responses a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap HttpStatusCode ( Referenced Response ), b ~ InsOrdHashMap HttpStatusCode ( Referenced Response )) => LabelOptic "responses" k Responses Responses a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasDefault Responses ( Maybe ( Referenced Response )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasResponses Responses ( InsOrdHashMap HttpStatusCode ( Referenced Response )) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Responses Source #
Instance details

Defined in Data.OpenApi.Internal

type Code Responses Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Responses Source #
Instance details

Defined in Data.OpenApi.Internal

type Index Responses Source #
Instance details

Defined in Data.OpenApi.Lens

type IxValue Responses Source #
Instance details

Defined in Data.OpenApi.Lens

type Index Responses Source #
Instance details

Defined in Data.OpenApi.Optics

type IxValue Responses Source #
Instance details

Defined in Data.OpenApi.Optics

type IxKind Responses Source #
Instance details

Defined in Data.OpenApi.Optics

data Response Source #

Describes a single response from an API Operation.

Constructors

Response

Fields

Instances

Instances details
Eq Response Source #
Instance details

Defined in Data.OpenApi.Internal

Data Response Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Response -> c Response Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Response Source #

toConstr :: Response -> Constr Source #

dataTypeOf :: Response -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Response ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Response ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Response -> Response Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Response -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Response -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Response -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Response -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Response -> m Response Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Response -> m Response Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Response -> m Response Source #

Show Response Source #
Instance details

Defined in Data.OpenApi.Internal

IsString Response Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Response Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Response Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Response Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Response Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Response Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Response Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Response :: [[ Type ]] Source #

HasDatatypeInfo Response Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Response Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid Response Source #
Instance details

Defined in Data.OpenApi.Internal

HasDescription Response Text Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ InsOrdHashMap MediaType MediaTypeObject , b ~ InsOrdHashMap MediaType MediaTypeObject ) => LabelOptic "content" k Response Response a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Text , b ~ Text ) => LabelOptic "description" k Response Response a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap HeaderName ( Referenced Header ), b ~ InsOrdHashMap HeaderName ( Referenced Header )) => LabelOptic "headers" k Response Response a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap Text ( Referenced Link ), b ~ InsOrdHashMap Text ( Referenced Link )) => LabelOptic "links" k Response Response a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasResponses Components ( Definitions Response ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDefault Responses ( Maybe ( Referenced Response )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasResponses Responses ( InsOrdHashMap HttpStatusCode ( Referenced Response )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasLinks Response ( InsOrdHashMap Text ( Referenced Link )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Response ( InsOrdHashMap HeaderName ( Referenced Header )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasContent Response ( InsOrdHashMap MediaType MediaTypeObject ) Source #
Instance details

Defined in Data.OpenApi.Lens

ToJSON ( Referenced Response ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Response ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Response Source #
Instance details

Defined in Data.OpenApi.Internal

type Code Response Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Response Source #
Instance details

Defined in Data.OpenApi.Internal

newtype Callback Source #

A map of possible out-of band callbacks related to the parent operation. Each value in the map is a PathItem Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.

Instances

Instances details
Eq Callback Source #
Instance details

Defined in Data.OpenApi.Internal

Data Callback Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Callback -> c Callback Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Callback Source #

toConstr :: Callback -> Constr Source #

dataTypeOf :: Callback -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Callback ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Callback ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Callback -> Callback Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Callback -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Callback -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Callback -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Callback -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Callback -> m Callback Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Callback -> m Callback Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Callback -> m Callback Source #

Show Callback Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Callback Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Callback Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Callback Source #
Instance details

Defined in Data.OpenApi.Internal

HasCallbacks Components ( Definitions Callback ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasCallbacks Operation ( InsOrdHashMap Text ( Referenced Callback )) Source #
Instance details

Defined in Data.OpenApi.Lens

ToJSON ( Referenced Callback ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Callback ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Callback Source #
Instance details

Defined in Data.OpenApi.Internal

data Header Source #

Header fields have the same meaning as for Param .

Style is always treated as StyleSimple , as it is the only value allowed for headers.

Instances

Instances details
Eq Header Source #
Instance details

Defined in Data.OpenApi.Internal

Data Header Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Header -> c Header Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Header Source #

toConstr :: Header -> Constr Source #

dataTypeOf :: Header -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Header ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Header ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Header -> Header Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Header -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Header -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Header -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Header -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Header -> m Header Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Header -> m Header Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Header -> m Header Source #

Show Header Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Header Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup Header Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid Header Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Header Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Header Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Header Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code Header :: [[ Type ]] Source #

HasDatatypeInfo Header Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions Header Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "allowEmptyValue" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "deprecated" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe HeaderName , b ~ Maybe HeaderName ) => LabelOptic "description" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Value , b ~ Maybe Value ) => LabelOptic "example" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ InsOrdHashMap Text ( Referenced Example ), b ~ InsOrdHashMap Text ( Referenced Example )) => LabelOptic "examples" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "explode" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe Bool , b ~ Maybe Bool ) => LabelOptic "required" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( Referenced Schema ), b ~ Maybe ( Referenced Schema )) => LabelOptic "schema" k Header Header a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasHeaders Components ( Definitions Header ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription Header ( Maybe HeaderName ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequired Header ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema Header ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExample Header ( Maybe Value ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDeprecated Header ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExplode Header ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAllowEmptyValue Header ( Maybe Bool ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Response ( InsOrdHashMap HeaderName ( Referenced Header )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Encoding ( InsOrdHashMap Text ( Referenced Header )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples Header ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

ToJSON ( Referenced Header ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Header ) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep Header Source #
Instance details

Defined in Data.OpenApi.Internal

type Code Header Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf Header Source #
Instance details

Defined in Data.OpenApi.Internal

data ApiKeyLocation Source #

The location of the API key.

Instances

Instances details
Eq ApiKeyLocation Source #
Instance details

Defined in Data.OpenApi.Internal

Data ApiKeyLocation Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ApiKeyLocation -> c ApiKeyLocation Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ApiKeyLocation Source #

toConstr :: ApiKeyLocation -> Constr Source #

dataTypeOf :: ApiKeyLocation -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ApiKeyLocation ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ApiKeyLocation ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ApiKeyLocation -> ApiKeyLocation Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ApiKeyLocation -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ApiKeyLocation -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ApiKeyLocation -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ApiKeyLocation -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ApiKeyLocation -> m ApiKeyLocation Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ApiKeyLocation -> m ApiKeyLocation Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ApiKeyLocation -> m ApiKeyLocation Source #

Show ApiKeyLocation Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ApiKeyLocation Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ApiKeyLocation Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ApiKeyLocation Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep ApiKeyLocation Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep ApiKeyLocation = D1 (' MetaData "ApiKeyLocation" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "ApiKeyQuery" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "ApiKeyHeader" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ApiKeyCookie" ' PrefixI ' False ) ( U1 :: Type -> Type )))

data ApiKeyParams Source #

Constructors

ApiKeyParams

Fields

Instances

Instances details
Eq ApiKeyParams Source #
Instance details

Defined in Data.OpenApi.Internal

Data ApiKeyParams Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ApiKeyParams -> c ApiKeyParams Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ApiKeyParams Source #

toConstr :: ApiKeyParams -> Constr Source #

dataTypeOf :: ApiKeyParams -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ApiKeyParams ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ApiKeyParams ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ApiKeyParams -> ApiKeyParams Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ApiKeyParams -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ApiKeyParams -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ApiKeyParams -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ApiKeyParams -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ApiKeyParams -> m ApiKeyParams Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ApiKeyParams -> m ApiKeyParams Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ApiKeyParams -> m ApiKeyParams Source #

Show ApiKeyParams Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ApiKeyParams Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ApiKeyParams Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ApiKeyParams Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep ApiKeyParams Source #
Instance details

Defined in Data.OpenApi.Internal

type AuthorizationURL = Text Source #

The authorization URL to be used for OAuth2 flow. This SHOULD be in the form of a URL.

type TokenURL = Text Source #

The token URL to be used for OAuth2 flow. This SHOULD be in the form of a URL.

newtype OAuth2ImplicitFlow Source #

Instances

Instances details
Eq OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Data OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OAuth2ImplicitFlow -> c OAuth2ImplicitFlow Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OAuth2ImplicitFlow Source #

toConstr :: OAuth2ImplicitFlow -> Constr Source #

dataTypeOf :: OAuth2ImplicitFlow -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OAuth2ImplicitFlow ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OAuth2ImplicitFlow ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OAuth2ImplicitFlow -> OAuth2ImplicitFlow Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2ImplicitFlow -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2ImplicitFlow -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OAuth2ImplicitFlow -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OAuth2ImplicitFlow -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OAuth2ImplicitFlow -> m OAuth2ImplicitFlow Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2ImplicitFlow -> m OAuth2ImplicitFlow Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2ImplicitFlow -> m OAuth2ImplicitFlow Source #

Show OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

HasAuthorizationUrl OAuth2ImplicitFlow AuthorizationURL Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ An_Iso , a ~ AuthorizationURL , b ~ AuthorizationURL ) => LabelOptic "authorizationUrl" k OAuth2ImplicitFlow OAuth2ImplicitFlow a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasImplicit OAuth2Flows ( Maybe ( OAuth2Flow OAuth2ImplicitFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OAuth2ImplicitFlow Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep OAuth2ImplicitFlow = D1 (' MetaData "OAuth2ImplicitFlow" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' True ) ( C1 (' MetaCons "OAuth2ImplicitFlow" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_oAuth2ImplicitFlowAuthorizationUrl") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 AuthorizationURL )))

newtype OAuth2PasswordFlow Source #

Instances

Instances details
Eq OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Data OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OAuth2PasswordFlow -> c OAuth2PasswordFlow Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OAuth2PasswordFlow Source #

toConstr :: OAuth2PasswordFlow -> Constr Source #

dataTypeOf :: OAuth2PasswordFlow -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OAuth2PasswordFlow ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OAuth2PasswordFlow ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OAuth2PasswordFlow -> OAuth2PasswordFlow Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2PasswordFlow -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2PasswordFlow -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OAuth2PasswordFlow -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OAuth2PasswordFlow -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OAuth2PasswordFlow -> m OAuth2PasswordFlow Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2PasswordFlow -> m OAuth2PasswordFlow Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2PasswordFlow -> m OAuth2PasswordFlow Source #

Show OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

HasTokenUrl OAuth2PasswordFlow TokenURL Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ An_Iso , a ~ TokenURL , b ~ TokenURL ) => LabelOptic "tokenUrl" k OAuth2PasswordFlow OAuth2PasswordFlow a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasPassword OAuth2Flows ( Maybe ( OAuth2Flow OAuth2PasswordFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OAuth2PasswordFlow Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep OAuth2PasswordFlow = D1 (' MetaData "OAuth2PasswordFlow" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' True ) ( C1 (' MetaCons "OAuth2PasswordFlow" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_oAuth2PasswordFlowTokenUrl") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 TokenURL )))

newtype OAuth2ClientCredentialsFlow Source #

Instances

Instances details
Eq OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Data OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OAuth2ClientCredentialsFlow -> c OAuth2ClientCredentialsFlow Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OAuth2ClientCredentialsFlow Source #

toConstr :: OAuth2ClientCredentialsFlow -> Constr Source #

dataTypeOf :: OAuth2ClientCredentialsFlow -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OAuth2ClientCredentialsFlow ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OAuth2ClientCredentialsFlow ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OAuth2ClientCredentialsFlow -> OAuth2ClientCredentialsFlow Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2ClientCredentialsFlow -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2ClientCredentialsFlow -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OAuth2ClientCredentialsFlow -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OAuth2ClientCredentialsFlow -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OAuth2ClientCredentialsFlow -> m OAuth2ClientCredentialsFlow Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2ClientCredentialsFlow -> m OAuth2ClientCredentialsFlow Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2ClientCredentialsFlow -> m OAuth2ClientCredentialsFlow Source #

Show OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

HasTokenUrl OAuth2ClientCredentialsFlow TokenURL Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ An_Iso , a ~ TokenURL , b ~ TokenURL ) => LabelOptic "tokenUrl" k OAuth2ClientCredentialsFlow OAuth2ClientCredentialsFlow a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasClientCredentials OAuth2Flows ( Maybe ( OAuth2Flow OAuth2ClientCredentialsFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OAuth2ClientCredentialsFlow Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep OAuth2ClientCredentialsFlow = D1 (' MetaData "OAuth2ClientCredentialsFlow" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' True ) ( C1 (' MetaCons "OAuth2ClientCredentialsFlow" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_oAuth2ClientCredentialsFlowTokenUrl") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 TokenURL )))

data OAuth2AuthorizationCodeFlow Source #

Instances

Instances details
Eq OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Data OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OAuth2AuthorizationCodeFlow -> c OAuth2AuthorizationCodeFlow Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OAuth2AuthorizationCodeFlow Source #

toConstr :: OAuth2AuthorizationCodeFlow -> Constr Source #

dataTypeOf :: OAuth2AuthorizationCodeFlow -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OAuth2AuthorizationCodeFlow ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OAuth2AuthorizationCodeFlow ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OAuth2AuthorizationCodeFlow -> OAuth2AuthorizationCodeFlow Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2AuthorizationCodeFlow -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2AuthorizationCodeFlow -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OAuth2AuthorizationCodeFlow -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OAuth2AuthorizationCodeFlow -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OAuth2AuthorizationCodeFlow -> m OAuth2AuthorizationCodeFlow Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2AuthorizationCodeFlow -> m OAuth2AuthorizationCodeFlow Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2AuthorizationCodeFlow -> m OAuth2AuthorizationCodeFlow Source #

Show OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

HasAuthorizationUrl OAuth2AuthorizationCodeFlow AuthorizationURL Source #
Instance details

Defined in Data.OpenApi.Lens

HasTokenUrl OAuth2AuthorizationCodeFlow TokenURL Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ AuthorizationURL , b ~ AuthorizationURL ) => LabelOptic "authorizationUrl" k OAuth2AuthorizationCodeFlow OAuth2AuthorizationCodeFlow a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ TokenURL , b ~ TokenURL ) => LabelOptic "tokenUrl" k OAuth2AuthorizationCodeFlow OAuth2AuthorizationCodeFlow a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasAuthorizationCode OAuth2Flows ( Maybe ( OAuth2Flow OAuth2AuthorizationCodeFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OAuth2AuthorizationCodeFlow Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep OAuth2AuthorizationCodeFlow = D1 (' MetaData "OAuth2AuthorizationCodeFlow" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "OAuth2AuthorizationCodeFlow" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_oAuth2AuthorizationCodeFlowAuthorizationUrl") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 AuthorizationURL ) :*: S1 (' MetaSel (' Just "_oAuth2AuthorizationCodeFlowTokenUrl") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 TokenURL )))

data OAuth2Flow p Source #

Constructors

OAuth2Flow

Fields

Instances

Instances details
HasPassword OAuth2Flows ( Maybe ( OAuth2Flow OAuth2PasswordFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasImplicit OAuth2Flows ( Maybe ( OAuth2Flow OAuth2ImplicitFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasClientCredentials OAuth2Flows ( Maybe ( OAuth2Flow OAuth2ClientCredentialsFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAuthorizationCode OAuth2Flows ( Maybe ( OAuth2Flow OAuth2AuthorizationCodeFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

Eq p => Eq ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

Data p => Data ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OAuth2Flow p -> c ( OAuth2Flow p) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( OAuth2Flow p) Source #

toConstr :: OAuth2Flow p -> Constr Source #

dataTypeOf :: OAuth2Flow p -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( OAuth2Flow p)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( OAuth2Flow p)) Source #

gmapT :: ( forall b. Data b => b -> b) -> OAuth2Flow p -> OAuth2Flow p Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2Flow p -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2Flow p -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OAuth2Flow p -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OAuth2Flow p -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OAuth2Flow p -> m ( OAuth2Flow p) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2Flow p -> m ( OAuth2Flow p) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2Flow p -> m ( OAuth2Flow p) Source #

Show p => Show ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ( OAuth2Flow p) :: Type -> Type Source #

Semigroup ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

( Eq p, ToJSON p, AesonDefaultValue p) => ToJSON ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

( Eq p, FromJSON p, AesonDefaultValue p) => FromJSON ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code ( OAuth2Flow p) :: [[ Type ]] Source #

HasDatatypeInfo ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue p => AesonDefaultValue ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue p => HasSwaggerAesonOptions ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

type Code ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf ( OAuth2Flow p) Source #
Instance details

Defined in Data.OpenApi.Internal

data OAuth2Flows Source #

Constructors

OAuth2Flows

Fields

Instances

Instances details
Eq OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

Data OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OAuth2Flows -> c OAuth2Flows Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OAuth2Flows Source #

toConstr :: OAuth2Flows -> Constr Source #

dataTypeOf :: OAuth2Flows -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OAuth2Flows ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OAuth2Flows ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OAuth2Flows -> OAuth2Flows Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2Flows -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OAuth2Flows -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OAuth2Flows -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OAuth2Flows -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OAuth2Flows -> m OAuth2Flows Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2Flows -> m OAuth2Flows Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OAuth2Flows -> m OAuth2Flows Source #

Show OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code OAuth2Flows :: [[ Type ]] Source #

HasDatatypeInfo OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Lens , a ~ Maybe ( OAuth2Flow OAuth2AuthorizationCodeFlow ), b ~ Maybe ( OAuth2Flow OAuth2AuthorizationCodeFlow )) => LabelOptic "authorizationCode" k OAuth2Flows OAuth2Flows a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( OAuth2Flow OAuth2ClientCredentialsFlow ), b ~ Maybe ( OAuth2Flow OAuth2ClientCredentialsFlow )) => LabelOptic "clientCredentials" k OAuth2Flows OAuth2Flows a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( OAuth2Flow OAuth2ImplicitFlow ), b ~ Maybe ( OAuth2Flow OAuth2ImplicitFlow )) => LabelOptic "implicit" k OAuth2Flows OAuth2Flows a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ( OAuth2Flow OAuth2PasswordFlow ), b ~ Maybe ( OAuth2Flow OAuth2PasswordFlow )) => LabelOptic "password" k OAuth2Flows OAuth2Flows a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasPassword OAuth2Flows ( Maybe ( OAuth2Flow OAuth2PasswordFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasImplicit OAuth2Flows ( Maybe ( OAuth2Flow OAuth2ImplicitFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasClientCredentials OAuth2Flows ( Maybe ( OAuth2Flow OAuth2ClientCredentialsFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAuthorizationCode OAuth2Flows ( Maybe ( OAuth2Flow OAuth2AuthorizationCodeFlow )) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

type Code OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf OAuth2Flows Source #
Instance details

Defined in Data.OpenApi.Internal

data HttpSchemeType Source #

Instances

Instances details
Eq HttpSchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

Data HttpSchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> HttpSchemeType -> c HttpSchemeType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c HttpSchemeType Source #

toConstr :: HttpSchemeType -> Constr Source #

dataTypeOf :: HttpSchemeType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c HttpSchemeType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c HttpSchemeType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> HttpSchemeType -> HttpSchemeType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> HttpSchemeType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> HttpSchemeType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> HttpSchemeType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> HttpSchemeType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> HttpSchemeType -> m HttpSchemeType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> HttpSchemeType -> m HttpSchemeType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> HttpSchemeType -> m HttpSchemeType Source #

Show HttpSchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

Generic HttpSchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep HttpSchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

data SecuritySchemeType Source #

>>> BSL.putStrLn $ encodePretty (SecuritySchemeHttp (HttpSchemeBearer Nothing))
{
    "scheme": "bearer",
    "type": "http"
}
>>> BSL.putStrLn $ encodePretty (SecuritySchemeHttp (HttpSchemeBearer (Just "jwt")))
{
    "bearerFormat": "jwt",
    "scheme": "bearer",
    "type": "http"
}
>>> BSL.putStrLn $ encodePretty (SecuritySchemeHttp HttpSchemeBasic)
{
    "scheme": "basic",
    "type": "http"
}
>>> BSL.putStrLn $ encodePretty (SecuritySchemeHttp (HttpSchemeCustom "CANARY"))
{
    "scheme": "CANARY",
    "type": "http"
}
>>> BSL.putStrLn $ encodePretty (SecuritySchemeApiKey (ApiKeyParams "id" ApiKeyCookie))
{
    "in": "cookie",
    "name": "id",
    "type": "apiKey"
}

Instances

Instances details
Eq SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

Data SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SecuritySchemeType -> c SecuritySchemeType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SecuritySchemeType Source #

toConstr :: SecuritySchemeType -> Constr Source #

dataTypeOf :: SecuritySchemeType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SecuritySchemeType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SecuritySchemeType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SecuritySchemeType -> SecuritySchemeType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SecuritySchemeType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SecuritySchemeType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SecuritySchemeType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SecuritySchemeType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SecuritySchemeType -> m SecuritySchemeType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SecuritySchemeType -> m SecuritySchemeType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SecuritySchemeType -> m SecuritySchemeType Source #

Show SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

Generic SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

HasType SecurityScheme SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Prism , a ~ ApiKeyParams , b ~ ApiKeyParams ) => LabelOptic "_SecuritySchemeApiKey" k SecuritySchemeType SecuritySchemeType a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Prism , a ~ HttpSchemeType , b ~ HttpSchemeType ) => LabelOptic "_SecuritySchemeHttp" k SecuritySchemeType SecuritySchemeType a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Prism , a ~ OAuth2Flows , b ~ OAuth2Flows ) => LabelOptic "_SecuritySchemeOAuth2" k SecuritySchemeType SecuritySchemeType a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Prism , a ~ URL , b ~ URL ) => LabelOptic "_SecuritySchemeOpenIdConnect" k SecuritySchemeType SecuritySchemeType a b Source #
Instance details

Defined in Data.OpenApi.Optics

type Rep SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Internal

data SecurityScheme Source #

Constructors

SecurityScheme

Fields

Instances

Instances details
Eq SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

Data SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> SecurityScheme -> c SecurityScheme Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c SecurityScheme Source #

toConstr :: SecurityScheme -> Constr Source #

dataTypeOf :: SecurityScheme -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c SecurityScheme ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c SecurityScheme ) Source #

gmapT :: ( forall b. Data b => b -> b) -> SecurityScheme -> SecurityScheme Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> SecurityScheme -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> SecurityScheme -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> SecurityScheme -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> SecurityScheme -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> SecurityScheme -> m SecurityScheme Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> SecurityScheme -> m SecurityScheme Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> SecurityScheme -> m SecurityScheme Source #

Show SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

Generic SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

Generic SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Code SecurityScheme :: [[ Type ]] Source #

HasDatatypeInfo SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

HasType SecurityScheme SecuritySchemeType Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k SecurityScheme SecurityScheme a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ SecuritySchemeType , b ~ SecuritySchemeType ) => LabelOptic "type" k SecurityScheme SecurityScheme a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasDescription SecurityScheme ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep SecurityScheme = D1 (' MetaData "SecurityScheme" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "SecurityScheme" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_securitySchemeType") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 SecuritySchemeType ) :*: S1 (' MetaSel (' Just "_securitySchemeDescription") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text ))))
type Code SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf SecurityScheme Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf SecurityScheme = ' ADT "Data.OpenApi.Internal" "SecurityScheme" '[' Record "SecurityScheme" '[' FieldInfo "_securitySchemeType", ' FieldInfo "_securitySchemeDescription"]] '['[' StrictnessInfo ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy , ' StrictnessInfo ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ]]

newtype SecurityDefinitions Source #

Instances

Instances details
Eq SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

Data SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

Show SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

Generic SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

HasSecuritySchemes Components SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep SecurityDefinitions Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep SecurityDefinitions = D1 (' MetaData "SecurityDefinitions" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' True ) ( C1 (' MetaCons "SecurityDefinitions" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Definitions SecurityScheme ))))

newtype SecurityRequirement Source #

Lists the required security schemes to execute this operation. The object can have multiple security schemes declared in it which are all required (that is, there is a logical AND between the schemes).

Instances

Instances details
Eq SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

Data SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

Read SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

Show SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecurityRequirement Source #
Instance details

Defined in Data.OpenApi.Internal

HasSecurity Operation [ SecurityRequirement ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasSecurity OpenApi [ SecurityRequirement ] Source #
Instance details

Defined in Data.OpenApi.Lens

data Tag Source #

Allows adding meta data to a single tag that is used by Operation . It is not mandatory to have a Tag per tag used there.

Constructors

Tag

Fields

Instances

Instances details
Eq Tag Source #
Instance details

Defined in Data.OpenApi.Internal

Data Tag Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Tag -> c Tag Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Tag Source #

toConstr :: Tag -> Constr Source #

dataTypeOf :: Tag -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Tag ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Tag ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Tag -> Tag Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Tag -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Tag -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Tag -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Tag -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Tag -> m Tag Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Tag -> m Tag Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Tag -> m Tag Source #

Ord Tag Source #
Instance details

Defined in Data.OpenApi.Internal

Show Tag Source #
Instance details

Defined in Data.OpenApi.Internal

IsString Tag Source #
Instance details

Defined in Data.OpenApi.Internal

Generic Tag Source #
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep Tag :: Type -> Type Source #

Hashable Tag Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Tag Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Tag Source #
Instance details

Defined in Data.OpenApi.Internal

HasName Tag TagName Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k Tag Tag a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ Maybe ExternalDocs , b ~ Maybe ExternalDocs ) => LabelOptic "externalDocs" k Tag Tag a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ TagName , b ~ TagName ) => LabelOptic "name" k Tag Tag a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasTags OpenApi ( InsOrdHashSet Tag ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalDocs Tag ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription Tag ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep Tag Source #
Instance details

Defined in Data.OpenApi.Internal

data ExternalDocs Source #

Allows referencing an external resource for extended documentation.

Constructors

ExternalDocs

Fields

Instances

Instances details
Eq ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

Data ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ExternalDocs -> c ExternalDocs Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ExternalDocs Source #

toConstr :: ExternalDocs -> Constr Source #

dataTypeOf :: ExternalDocs -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ExternalDocs ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ExternalDocs ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ExternalDocs -> ExternalDocs Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ExternalDocs -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ExternalDocs -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ExternalDocs -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ExternalDocs -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ExternalDocs -> m ExternalDocs Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExternalDocs -> m ExternalDocs Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ExternalDocs -> m ExternalDocs Source #

Ord ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

Show ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

Generic ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

Hashable ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

HasUrl ExternalDocs URL Source #
Instance details

Defined in Data.OpenApi.Lens

(k ~ A_Lens , a ~ Maybe Text , b ~ Maybe Text ) => LabelOptic "description" k ExternalDocs ExternalDocs a b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Lens , a ~ URL , b ~ URL ) => LabelOptic "url" k ExternalDocs ExternalDocs a b Source #
Instance details

Defined in Data.OpenApi.Optics

HasExternalDocs Tag ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalDocs Schema ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalDocs Operation ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalDocs OpenApi ( Maybe ExternalDocs ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDescription ExternalDocs ( Maybe Text ) Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep ExternalDocs Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep ExternalDocs = D1 (' MetaData "ExternalDocs" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' False ) ( C1 (' MetaCons "ExternalDocs" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_externalDocsDescription") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe Text )) :*: S1 (' MetaSel (' Just "_externalDocsUrl") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 URL )))

newtype Reference Source #

A simple object to allow referencing other definitions in the specification. It can be used to reference parameters and responses that are defined at the top level for reuse.

Constructors

Reference

Instances

Instances details
Eq Reference Source #
Instance details

Defined in Data.OpenApi.Internal

Data Reference Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Reference -> c Reference Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Reference Source #

toConstr :: Reference -> Constr Source #

dataTypeOf :: Reference -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Reference ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Reference ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Reference -> Reference Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Reference -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Reference -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Reference -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Reference -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Reference -> m Reference Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Reference -> m Reference Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Reference -> m Reference Source #

Show Reference Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON Reference Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON Reference Source #
Instance details

Defined in Data.OpenApi.Internal

data Referenced a Source #

Instances

Instances details
Functor Referenced Source #
Instance details

Defined in Data.OpenApi.Internal

(k ~ A_Prism , a1 ~ a2, b ~ a3) => LabelOptic "_Inline" k ( Referenced a2) ( Referenced a3) a1 b Source #
Instance details

Defined in Data.OpenApi.Optics

(k ~ A_Prism , a1 ~ Reference , b ~ Reference ) => LabelOptic "_Ref" k ( Referenced a2) ( Referenced a2) a1 b Source #
Instance details

Defined in Data.OpenApi.Optics

HasParameters Operation [ Referenced Param ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasParameters PathItem [ Referenced Param ] Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema Header ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema Param ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasSchema MediaTypeObject ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasRequestBody Operation ( Maybe ( Referenced RequestBody )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasOneOf Schema ( Maybe [ Referenced Schema ]) Source #
Instance details

Defined in Data.OpenApi.Lens

HasNot Schema ( Maybe ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasDefault Responses ( Maybe ( Referenced Response )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAnyOf Schema ( Maybe [ Referenced Schema ]) Source #
Instance details

Defined in Data.OpenApi.Lens

HasAllOf Schema ( Maybe [ Referenced Schema ]) Source #
Instance details

Defined in Data.OpenApi.Lens

HasResponses Responses ( InsOrdHashMap HttpStatusCode ( Referenced Response )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasLinks Response ( InsOrdHashMap Text ( Referenced Link )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Response ( InsOrdHashMap HeaderName ( Referenced Header )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Encoding ( InsOrdHashMap Text ( Referenced Header )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples Header ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples Param ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExamples MediaTypeObject ( InsOrdHashMap Text ( Referenced Example )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasCallbacks Operation ( InsOrdHashMap Text ( Referenced Callback )) Source #
Instance details

Defined in Data.OpenApi.Lens

HasProperties Schema ( InsOrdHashMap Text ( Referenced Schema )) Source #
Instance details

Defined in Data.OpenApi.Lens

Eq a => Eq ( Referenced a) Source #
Instance details

Defined in Data.OpenApi.Internal

Data a => Data ( Referenced a) Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Referenced a -> c ( Referenced a) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Referenced a) Source #

toConstr :: Referenced a -> Constr Source #

dataTypeOf :: Referenced a -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Referenced a)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Referenced a)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Referenced a -> Referenced a Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Referenced a -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Referenced a -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Referenced a -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Referenced a -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Referenced a -> m ( Referenced a) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Referenced a -> m ( Referenced a) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Referenced a -> m ( Referenced a) Source #

Show a => Show ( Referenced a) Source #
Instance details

Defined in Data.OpenApi.Internal

IsString a => IsString ( Referenced a) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced Header ) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced Callback ) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced Response ) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced Schema ) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced Link ) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced Example ) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced Param ) Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON ( Referenced RequestBody ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Header ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Callback ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Response ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Schema ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Link ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Example ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced Param ) Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON ( Referenced RequestBody ) Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid a => SwaggerMonoid ( Referenced a) Source #
Instance details

Defined in Data.OpenApi.Internal

newtype URL Source #

Constructors

URL

Instances

Instances details
Eq URL Source #
Instance details

Defined in Data.OpenApi.Internal

Data URL Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> URL -> c URL Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c URL Source #

toConstr :: URL -> Constr Source #

dataTypeOf :: URL -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c URL ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c URL ) Source #

gmapT :: ( forall b. Data b => b -> b) -> URL -> URL Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> URL -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> URL -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> URL -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> URL -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> URL -> m URL Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> URL -> m URL Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> URL -> m URL Source #

Ord URL Source #
Instance details

Defined in Data.OpenApi.Internal

Show URL Source #
Instance details

Defined in Data.OpenApi.Internal

Hashable URL Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON URL Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON URL Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid URL Source #
Instance details

Defined in Data.OpenApi.Internal

HasUrl ExternalDocs URL Source #
Instance details

Defined in Data.OpenApi.Lens

HasUrl License ( Maybe URL ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasUrl Contact ( Maybe URL ) Source #
Instance details

Defined in Data.OpenApi.Lens

HasExternalValue Example ( Maybe URL ) Source #
Instance details

Defined in Data.OpenApi.Lens

data AdditionalProperties Source #

Instances

Instances details
Eq AdditionalProperties Source #
Instance details

Defined in Data.OpenApi.Internal

Data AdditionalProperties Source #
Instance details

Defined in Data.OpenApi.Internal

Show AdditionalProperties Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON AdditionalProperties Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON AdditionalProperties Source #
Instance details

Defined in Data.OpenApi.Internal

HasAdditionalProperties Schema ( Maybe AdditionalProperties ) Source #
Instance details

Defined in Data.OpenApi.Lens

newtype OpenApiSpecVersion Source #

Instances

Instances details
Eq OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

Data OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> OpenApiSpecVersion -> c OpenApiSpecVersion Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c OpenApiSpecVersion Source #

toConstr :: OpenApiSpecVersion -> Constr Source #

dataTypeOf :: OpenApiSpecVersion -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c OpenApiSpecVersion ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c OpenApiSpecVersion ) Source #

gmapT :: ( forall b. Data b => b -> b) -> OpenApiSpecVersion -> OpenApiSpecVersion Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApiSpecVersion -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> OpenApiSpecVersion -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> OpenApiSpecVersion -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> OpenApiSpecVersion -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> OpenApiSpecVersion -> m OpenApiSpecVersion Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApiSpecVersion -> m OpenApiSpecVersion Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> OpenApiSpecVersion -> m OpenApiSpecVersion Source #

Show OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

Semigroup OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

Monoid OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

Generic OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

HasDatatypeInfo OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

AesonDefaultValue OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

HasSwaggerAesonOptions OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

SwaggerMonoid OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

HasOpenapi OpenApi OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Lens

type Rep OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

type Rep OpenApiSpecVersion = D1 (' MetaData "OpenApiSpecVersion" "Data.OpenApi.Internal" "openapi3-3.2.3-DDms5mjbCFD41v1R6d21dC" ' True ) ( C1 (' MetaCons "OpenApiSpecVersion" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getVersion") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Version )))
type Code OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf OpenApiSpecVersion Source #
Instance details

Defined in Data.OpenApi.Internal

type DatatypeInfoOf OpenApiSpecVersion = ' Newtype "Data.OpenApi.Internal" "OpenApiSpecVersion" (' Record "OpenApiSpecVersion" '[' FieldInfo "getVersion"])

Orphan instances

Data MediaType Source #
Instance details

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> MediaType -> c MediaType Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c MediaType Source #

toConstr :: MediaType -> Constr Source #

dataTypeOf :: MediaType -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c MediaType ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c MediaType ) Source #

gmapT :: ( forall b. Data b => b -> b) -> MediaType -> MediaType Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> MediaType -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> MediaType -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> MediaType -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> MediaType -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> MediaType -> m MediaType Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> MediaType -> m MediaType Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> MediaType -> m MediaType Source #

Hashable MediaType Source #
Instance details

ToJSON MediaType Source #
Instance details

ToJSONKey MediaType Source #
Instance details

FromJSON MediaType Source #
Instance details

FromJSONKey MediaType Source #
Instance details

AesonDefaultValue Version Source #
Instance details

( Eq a, Hashable a) => SwaggerMonoid ( InsOrdHashSet a) Source #
Instance details