Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Components = Components {
- _components_schemas :: Maybe (HashMap Text (ReferenceOr Schema))
- _components_responses :: Maybe (HashMap Text (ReferenceOr Response))
- _components_parameters :: Maybe (HashMap Text (ReferenceOr Parameter))
- _components_examples :: Maybe (HashMap Text (ReferenceOr Example))
- _components_requestBodies :: Maybe (HashMap Text (ReferenceOr RequestBody))
- _components_headers :: Maybe (HashMap Text (ReferenceOr Header))
- _components_securitySchemes :: Maybe (HashMap Text SecuritySchema)
- _components_links :: Maybe (HashMap Text (ReferenceOr Link))
- _components_callbacks :: Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem)))
- _components_x :: Maybe (HashMap Text Value)
- getSchemaExclusiveMaximum :: Schema -> Maybe BoolInt
- setSchemaExclusiveMaximum :: Schema -> Maybe BoolInt -> Schema
- eitherSecuritySchemaHTTPSS :: SecuritySchema -> Either SecuritySchema HTTPSecurityScheme
- getAPIKeySecuritySchemeType :: APIKeySecurityScheme -> Text
- setAPIKeySecuritySchemeType :: APIKeySecurityScheme -> Text -> APIKeySecurityScheme
- getOAuth2SecuritySchemeFlows :: OAuth2SecurityScheme -> OAuthFlows
- setOAuth2SecuritySchemeFlows :: OAuth2SecurityScheme -> OAuthFlows -> OAuth2SecurityScheme
- getServerUrl :: Server -> Text
- setServerUrl :: Server -> Text -> Server
- getParameterExplode :: Parameter -> Maybe Bool
- setParameterExplode :: Parameter -> Maybe Bool -> Parameter
- getOpenAPIObjectTags :: OpenAPIObject -> Maybe [Tag]
- setOpenAPIObjectTags :: OpenAPIObject -> Maybe [Tag] -> OpenAPIObject
- eitherAdditionalBool :: Additionals -> Either Additionals Bool
- getSchemaDeprecated :: Schema -> Maybe Bool
- setSchemaDeprecated :: Schema -> Maybe Bool -> Schema
- getOperationRequestBody :: Operation -> Maybe (ReferenceOr RequestBody)
- setOperationRequestBody :: Operation -> Maybe (ReferenceOr RequestBody) -> Operation
- getServerDescription :: Server -> Maybe Text
- setServerDescription :: Server -> Maybe Text -> Server
- data ServerVariable = ServerVariable {}
- getOpenAPIObjectOpenapi :: OpenAPIObject -> Text
- setOpenAPIObjectOpenapi :: OpenAPIObject -> Text -> OpenAPIObject
- getEncodingHeaders :: Encoding -> Maybe (HashMap Text Header)
- setEncodingHeaders :: Encoding -> Maybe (HashMap Text Header) -> Encoding
- getOperationDeprecated :: Operation -> Maybe Bool
- setOperationDeprecated :: Operation -> Maybe Bool -> Operation
- eitherBoolIntBool :: BoolInt -> Either BoolInt Bool
- getPathItemPut :: PathItem -> Maybe Operation
- setPathItemPut :: PathItem -> Maybe Operation -> PathItem
- getLinkParameters :: Link -> Maybe (HashMap Text Value)
- setLinkParameters :: Link -> Maybe (HashMap Text Value) -> Link
- getPasswordOAuthFlowTokenUrl :: PasswordOAuthFlow -> Text
- setPasswordOAuthFlowTokenUrl :: PasswordOAuthFlow -> Text -> PasswordOAuthFlow
- data Schema = Schema {
- _schema_title :: Maybe Text
- _schema_multipleOf :: Maybe Double
- _schema_maximum :: Maybe Double
- _schema_exclusiveMaximum :: Maybe BoolInt
- _schema_minimum :: Maybe Double
- _schema_exclusiveMinimum :: Maybe BoolInt
- _schema_maxLength :: Maybe Int
- _schema_minLength :: Maybe Int
- _schema_pattern :: Maybe Text
- _schema_maxItems :: Maybe Int
- _schema_minItems :: Maybe Int
- _schema_uniqueItems :: Maybe Bool
- _schema_maxProperties :: Maybe Int
- _schema_minProperties :: Maybe Int
- _schema_required :: Maybe [Text]
- _schema_enum :: Maybe [Value]
- _schema_allOf :: Maybe [ReferenceOr Schema]
- _schema_oneOf :: Maybe [ReferenceOr Schema]
- _schema_anyOf :: Maybe [ReferenceOr Schema]
- _schema_items :: Maybe Items
- _schema_properties :: Maybe (HashMap Text (ReferenceOr Schema))
- _schema_additionalProperties :: Maybe Additionals
- _schema_description :: Maybe Text
- _schema_default :: Maybe Value
- _schema_nullable :: Maybe Bool
- _schema_discriminator :: Maybe Discriminator
- _schema_readOnly :: Maybe Bool
- _schema_writeOnly :: Maybe Bool
- _schema_example :: Maybe Value
- _schema_externalDocs :: Maybe ExternalDocumentation
- _schema_deprecated :: Maybe Bool
- _schema_xml :: Maybe XML
- _schema_format :: Maybe Text
- _schema_type :: Maybe Text
- _schema_not :: Maybe (ReferenceOr Schema)
- _schema_x :: Maybe (HashMap Text Value)
- getPathItemOptions :: PathItem -> Maybe Operation
- setPathItemOptions :: PathItem -> Maybe Operation -> PathItem
- getComponentsRequestBodies :: Components -> Maybe (HashMap Text (ReferenceOr RequestBody))
- setComponentsRequestBodies :: Components -> Maybe (HashMap Text (ReferenceOr RequestBody)) -> Components
- getOAuthFlowsX :: OAuthFlows -> Maybe (HashMap Text Value)
- setOAuthFlowsX :: OAuthFlows -> Maybe (HashMap Text Value) -> OAuthFlows
- getParameterDescription :: Parameter -> Maybe Text
- setParameterDescription :: Parameter -> Maybe Text -> Parameter
- getComponentsHeaders :: Components -> Maybe (HashMap Text (ReferenceOr Header))
- setComponentsHeaders :: Components -> Maybe (HashMap Text (ReferenceOr Header)) -> Components
- getSchemaWriteOnly :: Schema -> Maybe Bool
- setSchemaWriteOnly :: Schema -> Maybe Bool -> Schema
- getHeaderExamples :: Header -> Maybe (HashMap Text (ReferenceOr Example))
- setHeaderExamples :: Header -> Maybe (HashMap Text (ReferenceOr Example)) -> Header
- getMediaTypeExamples :: MediaType -> Maybe (HashMap Text (ReferenceOr Example))
- setMediaTypeExamples :: MediaType -> Maybe (HashMap Text (ReferenceOr Example)) -> MediaType
- getLicenseUrl :: License -> Maybe Text
- setLicenseUrl :: License -> Maybe Text -> License
- getReferenceRef :: Reference -> Text
- setReferenceRef :: Reference -> Text -> Reference
- getServerVariables :: Server -> Maybe (HashMap Text ServerVariable)
- setServerVariables :: Server -> Maybe (HashMap Text ServerVariable) -> Server
- getExampleX :: Example -> Maybe (HashMap Text Value)
- setExampleX :: Example -> Maybe (HashMap Text Value) -> Example
- getHeaderExample :: Header -> Maybe Value
- setHeaderExample :: Header -> Maybe Value -> Header
- getSchemaMaxProperties :: Schema -> Maybe Int
- setSchemaMaxProperties :: Schema -> Maybe Int -> Schema
- getInfoTermsOfService :: Info -> Maybe Text
- setInfoTermsOfService :: Info -> Maybe Text -> Info
- eitherAdditionalReference :: Additionals -> Either Additionals Reference
- data ImplicitOAuthFlow = ImplicitOAuthFlow {}
- getSchemaMultipleOf :: Schema -> Maybe Double
- setSchemaMultipleOf :: Schema -> Maybe Double -> Schema
- data ClientCredentialsFlow = ClientCredentialsFlow {}
- getPathItemTrace :: PathItem -> Maybe Operation
- setPathItemTrace :: PathItem -> Maybe Operation -> PathItem
- eitherSecuritySchemaAPIKeySS :: SecuritySchema -> Either SecuritySchema APIKeySecurityScheme
- getExternalDocumentationDescription :: ExternalDocumentation -> Maybe Text
- setExternalDocumentationDescription :: ExternalDocumentation -> Maybe Text -> ExternalDocumentation
- getPasswordOAuthFlowRefreshUrl :: PasswordOAuthFlow -> Maybe Text
- setPasswordOAuthFlowRefreshUrl :: PasswordOAuthFlow -> Maybe Text -> PasswordOAuthFlow
- data Reference = Reference {
- _reference_ref :: Text
- _reference_x :: Maybe (HashMap Text Value)
- getClientCredentialsFlowRefreshUrl :: ClientCredentialsFlow -> Maybe Text
- setClientCredentialsFlowRefreshUrl :: ClientCredentialsFlow -> Maybe Text -> ClientCredentialsFlow
- getSchemaMaximum :: Schema -> Maybe Double
- setSchemaMaximum :: Schema -> Maybe Double -> Schema
- getEncodingX :: Encoding -> Maybe (HashMap Text Value)
- setEncodingX :: Encoding -> Maybe (HashMap Text Value) -> Encoding
- getOperationSummary :: Operation -> Maybe Text
- setOperationSummary :: Operation -> Maybe Text -> Operation
- getAuthorizationCodeOAuthFlowAuthorizationUrl :: AuthorizationCodeOAuthFlow -> Text
- setAuthorizationCodeOAuthFlowAuthorizationUrl :: AuthorizationCodeOAuthFlow -> Text -> AuthorizationCodeOAuthFlow
- getXMLWrapped :: XML -> Maybe Bool
- setXMLWrapped :: XML -> Maybe Bool -> XML
- getHTTPSecuritySchemeX :: HTTPSecurityScheme -> Maybe (HashMap Text Value)
- setHTTPSecuritySchemeX :: HTTPSecurityScheme -> Maybe (HashMap Text Value) -> HTTPSecurityScheme
- data OAuth2SecurityScheme = OAuth2SecurityScheme {}
- data APIKeySecurityScheme = APIKeySecurityScheme {}
- getOperationParameters :: Operation -> Maybe [ReferenceOr Parameter]
- setOperationParameters :: Operation -> Maybe [ReferenceOr Parameter] -> Operation
- getResponseHeaders :: Response -> Maybe (HashMap Text (ReferenceOr Header))
- setResponseHeaders :: Response -> Maybe (HashMap Text (ReferenceOr Header)) -> Response
- data Example = Example {}
- data OpenIdConnectSecurityScheme = OpenIdConnectSecurityScheme {}
- getSchemaNullable :: Schema -> Maybe Bool
- setSchemaNullable :: Schema -> Maybe Bool -> Schema
- getSchemaExample :: Schema -> Maybe Value
- setSchemaExample :: Schema -> Maybe Value -> Schema
- getSchemaReadOnly :: Schema -> Maybe Bool
- setSchemaReadOnly :: Schema -> Maybe Bool -> Schema
- getSchemaNot :: Schema -> Maybe (ReferenceOr Schema)
- setSchemaNot :: Schema -> Maybe (ReferenceOr Schema) -> Schema
- getInfoLicense :: Info -> Maybe License
- setInfoLicense :: Info -> Maybe License -> Info
- getComponentsParameters :: Components -> Maybe (HashMap Text (ReferenceOr Parameter))
- setComponentsParameters :: Components -> Maybe (HashMap Text (ReferenceOr Parameter)) -> Components
- eitherBoolIntInt :: BoolInt -> Either BoolInt Int
- getSchemaOneOf :: Schema -> Maybe [ReferenceOr Schema]
- setSchemaOneOf :: Schema -> Maybe [ReferenceOr Schema] -> Schema
- getHeaderAllowReserved :: Header -> Maybe Bool
- setHeaderAllowReserved :: Header -> Maybe Bool -> Header
- getOAuthFlowsAuthorizationCode :: OAuthFlows -> Maybe AuthorizationCodeOAuthFlow
- setOAuthFlowsAuthorizationCode :: OAuthFlows -> Maybe AuthorizationCodeOAuthFlow -> OAuthFlows
- data License = License {
- _license_name :: Text
- _license_url :: Maybe Text
- _license_x :: Maybe (HashMap Text Value)
- getSchemaDescription :: Schema -> Maybe Text
- setSchemaDescription :: Schema -> Maybe Text -> Schema
- getLinkDescription :: Link -> Maybe Text
- setLinkDescription :: Link -> Maybe Text -> Link
- getComponentsExamples :: Components -> Maybe (HashMap Text (ReferenceOr Example))
- setComponentsExamples :: Components -> Maybe (HashMap Text (ReferenceOr Example)) -> Components
- eitherItemsSingleItem :: Items -> Either Items Schema
- getParameterExample :: Parameter -> Maybe Value
- setParameterExample :: Parameter -> Maybe Value -> Parameter
- getContactName :: Contact -> Maybe Text
- setContactName :: Contact -> Maybe Text -> Contact
- eitherItemsSingleItemReference :: Items -> Either Items Reference
- getAuthorizationCodeOAuthFlowX :: AuthorizationCodeOAuthFlow -> Maybe (HashMap Text Value)
- setAuthorizationCodeOAuthFlowX :: AuthorizationCodeOAuthFlow -> Maybe (HashMap Text Value) -> AuthorizationCodeOAuthFlow
- getComponentsResponses :: Components -> Maybe (HashMap Text (ReferenceOr Response))
- setComponentsResponses :: Components -> Maybe (HashMap Text (ReferenceOr Response)) -> Components
- data OpenAPIObject = OpenAPIObject {
- _openAPIObject_openapi :: Text
- _openAPIObject_info :: Info
- _openAPIObject_paths :: HashMap Text PathItem
- _openAPIObject_externalDocs :: Maybe ExternalDocumentation
- _openAPIObject_servers :: Maybe [Server]
- _openAPIObject_security :: Maybe [HashMap Text [Text]]
- _openAPIObject_tags :: Maybe [Tag]
- _openAPIObject_components :: Maybe Components
- _openAPIObject_x :: Maybe (HashMap Text Value)
- data HTTPSecurityScheme = HTTPSecurityScheme {}
- getContactEmail :: Contact -> Maybe Text
- setContactEmail :: Contact -> Maybe Text -> Contact
- getSchemaMinItems :: Schema -> Maybe Int
- setSchemaMinItems :: Schema -> Maybe Int -> Schema
- eitherSecuritySchemaOAuth2SS :: SecuritySchema -> Either SecuritySchema OAuth2SecurityScheme
- getOperationCallbacks :: Operation -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem)))
- setOperationCallbacks :: Operation -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem))) -> Operation
- getParameterDeprecated :: Parameter -> Maybe Bool
- setParameterDeprecated :: Parameter -> Maybe Bool -> Parameter
- getServerX :: Server -> Maybe (HashMap Text Value)
- setServerX :: Server -> Maybe (HashMap Text Value) -> Server
- getSchemaEnum :: Schema -> Maybe [Value]
- setSchemaEnum :: Schema -> Maybe [Value] -> Schema
- getLicenseName :: License -> Text
- setLicenseName :: License -> Text -> License
- getOpenAPIObjectComponents :: OpenAPIObject -> Maybe Components
- setOpenAPIObjectComponents :: OpenAPIObject -> Maybe Components -> OpenAPIObject
- getAPIKeySecuritySchemeDescription :: APIKeySecurityScheme -> Maybe Text
- setAPIKeySecuritySchemeDescription :: APIKeySecurityScheme -> Maybe Text -> APIKeySecurityScheme
- getSchemaTitle :: Schema -> Maybe Text
- setSchemaTitle :: Schema -> Maybe Text -> Schema
- getResponseContent :: Response -> Maybe (HashMap Text MediaType)
- setResponseContent :: Response -> Maybe (HashMap Text MediaType) -> Response
- getSchemaX :: Schema -> Maybe (HashMap Text Value)
- setSchemaX :: Schema -> Maybe (HashMap Text Value) -> Schema
- getOAuth2SecuritySchemeType :: OAuth2SecurityScheme -> Text
- setOAuth2SecuritySchemeType :: OAuth2SecurityScheme -> Text -> OAuth2SecurityScheme
- getEncodingExplode :: Encoding -> Maybe Bool
- setEncodingExplode :: Encoding -> Maybe Bool -> Encoding
- data AuthorizationCodeOAuthFlow = AuthorizationCodeOAuthFlow {}
- getOperationExternalDocs :: Operation -> Maybe ExternalDocumentation
- setOperationExternalDocs :: Operation -> Maybe ExternalDocumentation -> Operation
- getAPIKeySecuritySchemeIn :: APIKeySecurityScheme -> Text
- setAPIKeySecuritySchemeIn :: APIKeySecurityScheme -> Text -> APIKeySecurityScheme
- getTagName :: Tag -> Text
- setTagName :: Tag -> Text -> Tag
- getOpenAPIObjectInfo :: OpenAPIObject -> Info
- setOpenAPIObjectInfo :: OpenAPIObject -> Info -> OpenAPIObject
- getParameterX :: Parameter -> Maybe (HashMap Text Value)
- setParameterX :: Parameter -> Maybe (HashMap Text Value) -> Parameter
- getOpenIdConnectSecuritySchemeType :: OpenIdConnectSecurityScheme -> Text
- setOpenIdConnectSecuritySchemeType :: OpenIdConnectSecurityScheme -> Text -> OpenIdConnectSecurityScheme
- getOAuth2SecuritySchemeX :: OAuth2SecurityScheme -> Maybe (HashMap Text Value)
- setOAuth2SecuritySchemeX :: OAuth2SecurityScheme -> Maybe (HashMap Text Value) -> OAuth2SecurityScheme
- getImplicitOAuthFlowRefreshUrl :: ImplicitOAuthFlow -> Maybe Text
- setImplicitOAuthFlowRefreshUrl :: ImplicitOAuthFlow -> Maybe Text -> ImplicitOAuthFlow
- getHTTPSecuritySchemeType :: HTTPSecurityScheme -> Text
- setHTTPSecuritySchemeType :: HTTPSecurityScheme -> Text -> HTTPSecurityScheme
- getSchemaPattern :: Schema -> Maybe Text
- setSchemaPattern :: Schema -> Maybe Text -> Schema
- getInfoVersion :: Info -> Text
- setInfoVersion :: Info -> Text -> Info
- getSchemaDiscriminator :: Schema -> Maybe Discriminator
- setSchemaDiscriminator :: Schema -> Maybe Discriminator -> Schema
- getSchemaType :: Schema -> Maybe Text
- setSchemaType :: Schema -> Maybe Text -> Schema
- getRequestBodyX :: RequestBody -> Maybe (HashMap Text Value)
- setRequestBodyX :: RequestBody -> Maybe (HashMap Text Value) -> RequestBody
- getSchemaMaxLength :: Schema -> Maybe Int
- setSchemaMaxLength :: Schema -> Maybe Int -> Schema
- getParameterAllowEmptyValue :: Parameter -> Maybe Bool
- setParameterAllowEmptyValue :: Parameter -> Maybe Bool -> Parameter
- getEncodingContentType :: Encoding -> Maybe Text
- setEncodingContentType :: Encoding -> Maybe Text -> Encoding
- getPathItemDelete :: PathItem -> Maybe Operation
- setPathItemDelete :: PathItem -> Maybe Operation -> PathItem
- getPasswordOAuthFlowScopes :: PasswordOAuthFlow -> Maybe (HashMap Text Text)
- setPasswordOAuthFlowScopes :: PasswordOAuthFlow -> Maybe (HashMap Text Text) -> PasswordOAuthFlow
- getXMLX :: XML -> Maybe (HashMap Text Value)
- setXMLX :: XML -> Maybe (HashMap Text Value) -> XML
- getHeaderRequired :: Header -> Maybe Bool
- setHeaderRequired :: Header -> Maybe Bool -> Header
- getSchemaRequired :: Schema -> Maybe [Text]
- setSchemaRequired :: Schema -> Maybe [Text] -> Schema
- getOperationTags :: Operation -> Maybe [Text]
- setOperationTags :: Operation -> Maybe [Text] -> Operation
- getOpenIdConnectSecuritySchemeDescription :: OpenIdConnectSecurityScheme -> Maybe Text
- setOpenIdConnectSecuritySchemeDescription :: OpenIdConnectSecurityScheme -> Maybe Text -> OpenIdConnectSecurityScheme
- getRequestBodyContent :: RequestBody -> HashMap Text MediaType
- setRequestBodyContent :: RequestBody -> HashMap Text MediaType -> RequestBody
- getHTTPSecuritySchemeScheme :: HTTPSecurityScheme -> Text
- setHTTPSecuritySchemeScheme :: HTTPSecurityScheme -> Text -> HTTPSecurityScheme
- getDiscriminatorMapping :: Discriminator -> Maybe (HashMap Text Text)
- setDiscriminatorMapping :: Discriminator -> Maybe (HashMap Text Text) -> Discriminator
- getResponseX :: Response -> Maybe (HashMap Text Value)
- setResponseX :: Response -> Maybe (HashMap Text Value) -> Response
- getHeaderSchema :: Header -> Maybe (ReferenceOr Schema)
- setHeaderSchema :: Header -> Maybe (ReferenceOr Schema) -> Header
- getHeaderDeprecated :: Header -> Maybe Bool
- setHeaderDeprecated :: Header -> Maybe Bool -> Header
- data RequestBody = RequestBody {}
- getExternalDocumentationX :: ExternalDocumentation -> Maybe (HashMap Text Value)
- setExternalDocumentationX :: ExternalDocumentation -> Maybe (HashMap Text Value) -> ExternalDocumentation
- getOpenAPIObjectExternalDocs :: OpenAPIObject -> Maybe ExternalDocumentation
- setOpenAPIObjectExternalDocs :: OpenAPIObject -> Maybe ExternalDocumentation -> OpenAPIObject
- getSchemaProperties :: Schema -> Maybe (HashMap Text (ReferenceOr Schema))
- setSchemaProperties :: Schema -> Maybe (HashMap Text (ReferenceOr Schema)) -> Schema
- getImplicitOAuthFlowScopes :: ImplicitOAuthFlow -> HashMap Text Text
- setImplicitOAuthFlowScopes :: ImplicitOAuthFlow -> HashMap Text Text -> ImplicitOAuthFlow
- getTagDescription :: Tag -> Maybe Text
- setTagDescription :: Tag -> Maybe Text -> Tag
- eitherItemsTuple :: Items -> Either Items [ReferenceOr Schema]
- data ExternalDocumentation = ExternalDocumentation {}
- data Items
- data Parameter = Parameter {
- _parameter_name :: Text
- _parameter_in :: Text
- _parameter_description :: Maybe Text
- _parameter_required :: Maybe Bool
- _parameter_deprecated :: Maybe Bool
- _parameter_allowEmptyValue :: Maybe Bool
- _parameter_style :: Maybe Text
- _parameter_explode :: Maybe Bool
- _parameter_allowReserved :: Maybe Bool
- _parameter_schema :: Maybe (ReferenceOr Schema)
- _parameter_content :: Maybe (HashMap Text MediaType)
- _parameter_example :: Maybe Value
- _parameter_examples :: Maybe (HashMap Text (ReferenceOr Example))
- _parameter_x :: Maybe (HashMap Text Value)
- data Link = Link {}
- getParameterAllowReserved :: Parameter -> Maybe Bool
- setParameterAllowReserved :: Parameter -> Maybe Bool -> Parameter
- getSchemaExclusiveMinimum :: Schema -> Maybe BoolInt
- setSchemaExclusiveMinimum :: Schema -> Maybe BoolInt -> Schema
- getAPIKeySecuritySchemeName :: APIKeySecurityScheme -> Text
- setAPIKeySecuritySchemeName :: APIKeySecurityScheme -> Text -> APIKeySecurityScheme
- getOperationX :: Operation -> Maybe (HashMap Text Value)
- setOperationX :: Operation -> Maybe (HashMap Text Value) -> Operation
- data SecuritySchema
- data Contact = Contact {}
- data Additionals
- getParameterRequired :: Parameter -> Maybe Bool
- setParameterRequired :: Parameter -> Maybe Bool -> Parameter
- getSchemaMinProperties :: Schema -> Maybe Int
- setSchemaMinProperties :: Schema -> Maybe Int -> Schema
- getLicenseX :: License -> Maybe (HashMap Text Value)
- setLicenseX :: License -> Maybe (HashMap Text Value) -> License
- getComponentsSecuritySchemes :: Components -> Maybe (HashMap Text SecuritySchema)
- setComponentsSecuritySchemes :: Components -> Maybe (HashMap Text SecuritySchema) -> Components
- getPathItemServers :: PathItem -> Maybe [Server]
- setPathItemServers :: PathItem -> Maybe [Server] -> PathItem
- getComponentsCallbacks :: Components -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem)))
- setComponentsCallbacks :: Components -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem))) -> Components
- getMediaTypeSchema :: MediaType -> Maybe (ReferenceOr Schema)
- setMediaTypeSchema :: MediaType -> Maybe (ReferenceOr Schema) -> MediaType
- getOAuth2SecuritySchemeDescription :: OAuth2SecurityScheme -> Maybe Text
- setOAuth2SecuritySchemeDescription :: OAuth2SecurityScheme -> Maybe Text -> OAuth2SecurityScheme
- getOpenAPIObjectSecurity :: OpenAPIObject -> Maybe [HashMap Text [Text]]
- setOpenAPIObjectSecurity :: OpenAPIObject -> Maybe [HashMap Text [Text]] -> OpenAPIObject
- getEncodingStyle :: Encoding -> Maybe Text
- setEncodingStyle :: Encoding -> Maybe Text -> Encoding
- getResponseDescription :: Response -> Text
- setResponseDescription :: Response -> Text -> Response
- getServerVariableDescription :: ServerVariable -> Maybe Text
- setServerVariableDescription :: ServerVariable -> Maybe Text -> ServerVariable
- eitherReferenceOrRef :: ReferenceOr a -> Either (ReferenceOr a) Reference
- getPathItemPost :: PathItem -> Maybe Operation
- setPathItemPost :: PathItem -> Maybe Operation -> PathItem
- data XML = XML {
- _xML_name :: Maybe Text
- _xML_namespace :: Maybe Text
- _xML_prefix :: Maybe Text
- _xML_attribute :: Maybe Bool
- _xML_wrapped :: Maybe Bool
- _xML_x :: Maybe (HashMap Text Value)
- getXMLAttribute :: XML -> Maybe Bool
- setXMLAttribute :: XML -> Maybe Bool -> XML
- getLinkOperationId :: Link -> Maybe Text
- setLinkOperationId :: Link -> Maybe Text -> Link
- getOAuthFlowsPassword :: OAuthFlows -> Maybe PasswordOAuthFlow
- setOAuthFlowsPassword :: OAuthFlows -> Maybe PasswordOAuthFlow -> OAuthFlows
- getOperationOperationId :: Operation -> Maybe Text
- setOperationOperationId :: Operation -> Maybe Text -> Operation
- getSchemaAnyOf :: Schema -> Maybe [ReferenceOr Schema]
- setSchemaAnyOf :: Schema -> Maybe [ReferenceOr Schema] -> Schema
- getXMLNamespace :: XML -> Maybe Text
- setXMLNamespace :: XML -> Maybe Text -> XML
- getOperationServers :: Operation -> Maybe [Server]
- setOperationServers :: Operation -> Maybe [Server] -> Operation
- getOpenAPIObjectX :: OpenAPIObject -> Maybe (HashMap Text Value)
- setOpenAPIObjectX :: OpenAPIObject -> Maybe (HashMap Text Value) -> OpenAPIObject
- getPathItemHead :: PathItem -> Maybe Operation
- setPathItemHead :: PathItem -> Maybe Operation -> PathItem
- getImplicitOAuthFlowX :: ImplicitOAuthFlow -> Maybe (HashMap Text Value)
- setImplicitOAuthFlowX :: ImplicitOAuthFlow -> Maybe (HashMap Text Value) -> ImplicitOAuthFlow
- getInfoX :: Info -> Maybe (HashMap Text Value)
- setInfoX :: Info -> Maybe (HashMap Text Value) -> Info
- getLinkOperationRef :: Link -> Maybe Text
- setLinkOperationRef :: Link -> Maybe Text -> Link
- getPathItemGet :: PathItem -> Maybe Operation
- setPathItemGet :: PathItem -> Maybe Operation -> PathItem
- getExampleExternalValue :: Example -> Maybe Text
- setExampleExternalValue :: Example -> Maybe Text -> Example
- getSchemaMaxItems :: Schema -> Maybe Int
- setSchemaMaxItems :: Schema -> Maybe Int -> Schema
- data Header = Header {
- _header_description :: Maybe Text
- _header_required :: Maybe Bool
- _header_deprecated :: Maybe Bool
- _header_allowEmptyValue :: Maybe Bool
- _header_style :: Maybe Text
- _header_explode :: Maybe Bool
- _header_allowReserved :: Maybe Bool
- _header_schema :: Maybe (ReferenceOr Schema)
- _header_content :: Maybe (HashMap Text MediaType)
- _header_example :: Maybe Value
- _header_examples :: Maybe (HashMap Text (ReferenceOr Example))
- _header_x :: Maybe (HashMap Text Value)
- getSchemaMinimum :: Schema -> Maybe Double
- setSchemaMinimum :: Schema -> Maybe Double -> Schema
- getSchemaExternalDocs :: Schema -> Maybe ExternalDocumentation
- setSchemaExternalDocs :: Schema -> Maybe ExternalDocumentation -> Schema
- data Info = Info {}
- getSchemaItems :: Schema -> Maybe Items
- setSchemaItems :: Schema -> Maybe Items -> Schema
- getClientCredentialsFlowTokenUrl :: ClientCredentialsFlow -> Text
- setClientCredentialsFlowTokenUrl :: ClientCredentialsFlow -> Text -> ClientCredentialsFlow
- getPathItemX :: PathItem -> Maybe (HashMap Text Value)
- setPathItemX :: PathItem -> Maybe (HashMap Text Value) -> PathItem
- getPasswordOAuthFlowX :: PasswordOAuthFlow -> Maybe (HashMap Text Value)
- setPasswordOAuthFlowX :: PasswordOAuthFlow -> Maybe (HashMap Text Value) -> PasswordOAuthFlow
- data OAuthFlows = OAuthFlows {}
- getParameterStyle :: Parameter -> Maybe Text
- setParameterStyle :: Parameter -> Maybe Text -> Parameter
- getHeaderAllowEmptyValue :: Header -> Maybe Bool
- setHeaderAllowEmptyValue :: Header -> Maybe Bool -> Header
- getAuthorizationCodeOAuthFlowRefreshUrl :: AuthorizationCodeOAuthFlow -> Maybe Text
- setAuthorizationCodeOAuthFlowRefreshUrl :: AuthorizationCodeOAuthFlow -> Maybe Text -> AuthorizationCodeOAuthFlow
- getReferenceX :: Reference -> Maybe (HashMap Text Value)
- setReferenceX :: Reference -> Maybe (HashMap Text Value) -> Reference
- getServerVariableEnum :: ServerVariable -> Maybe [Text]
- setServerVariableEnum :: ServerVariable -> Maybe [Text] -> ServerVariable
- data Operation = Operation {
- _operation_responses :: HashMap Text (ReferenceOr Response)
- _operation_tags :: Maybe [Text]
- _operation_summary :: Maybe Text
- _operation_description :: Maybe Text
- _operation_externalDocs :: Maybe ExternalDocumentation
- _operation_operationId :: Maybe Text
- _operation_parameters :: Maybe [ReferenceOr Parameter]
- _operation_requestBody :: Maybe (ReferenceOr RequestBody)
- _operation_callbacks :: Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem)))
- _operation_deprecated :: Maybe Bool
- _operation_security :: Maybe [HashMap Text [Text]]
- _operation_servers :: Maybe [Server]
- _operation_x :: Maybe (HashMap Text Value)
- getSchemaUniqueItems :: Schema -> Maybe Bool
- setSchemaUniqueItems :: Schema -> Maybe Bool -> Schema
- getResponseLinks :: Response -> Maybe (HashMap Text (ReferenceOr Link))
- setResponseLinks :: Response -> Maybe (HashMap Text (ReferenceOr Link)) -> Response
- getTagX :: Tag -> Maybe (HashMap Text Value)
- setTagX :: Tag -> Maybe (HashMap Text Value) -> Tag
- data ReferenceOr a
- getComponentsX :: Components -> Maybe (HashMap Text Value)
- setComponentsX :: Components -> Maybe (HashMap Text Value) -> Components
- data PasswordOAuthFlow = PasswordOAuthFlow {}
- getDiscriminatorX :: Discriminator -> Maybe (HashMap Text Value)
- setDiscriminatorX :: Discriminator -> Maybe (HashMap Text Value) -> Discriminator
- getMediaTypeX :: MediaType -> Maybe (HashMap Text Value)
- setMediaTypeX :: MediaType -> Maybe (HashMap Text Value) -> MediaType
- getRequestBodyRequired :: RequestBody -> Maybe Bool
- setRequestBodyRequired :: RequestBody -> Maybe Bool -> RequestBody
- getOAuthFlowsImplicit :: OAuthFlows -> Maybe ImplicitOAuthFlow
- setOAuthFlowsImplicit :: OAuthFlows -> Maybe ImplicitOAuthFlow -> OAuthFlows
- eitherSecuritySchemaOpenIdConnectSS :: SecuritySchema -> Either SecuritySchema OpenIdConnectSecurityScheme
- getInfoContact :: Info -> Maybe Contact
- setInfoContact :: Info -> Maybe Contact -> Info
- eitherAdditionalSchema :: Additionals -> Either Additionals Schema
- getSchemaAdditionalProperties :: Schema -> Maybe Additionals
- setSchemaAdditionalProperties :: Schema -> Maybe Additionals -> Schema
- getHeaderContent :: Header -> Maybe (HashMap Text MediaType)
- setHeaderContent :: Header -> Maybe (HashMap Text MediaType) -> Header
- getRequestBodyDescription :: RequestBody -> Maybe Text
- setRequestBodyDescription :: RequestBody -> Maybe Text -> RequestBody
- getClientCredentialsFlowScopes :: ClientCredentialsFlow -> Maybe (HashMap Text Text)
- setClientCredentialsFlowScopes :: ClientCredentialsFlow -> Maybe (HashMap Text Text) -> ClientCredentialsFlow
- getAuthorizationCodeOAuthFlowTokenUrl :: AuthorizationCodeOAuthFlow -> Text
- setAuthorizationCodeOAuthFlowTokenUrl :: AuthorizationCodeOAuthFlow -> Text -> AuthorizationCodeOAuthFlow
- getHeaderStyle :: Header -> Maybe Text
- setHeaderStyle :: Header -> Maybe Text -> Header
- getContactUrl :: Contact -> Maybe Text
- setContactUrl :: Contact -> Maybe Text -> Contact
- data Encoding = Encoding {}
- data PathItem = PathItem {
- _pathItem_summary :: Maybe Text
- _pathItem_description :: Maybe Text
- _pathItem_servers :: Maybe [Server]
- _pathItem_parameters :: Maybe [ReferenceOr Parameter]
- _pathItem_get :: Maybe Operation
- _pathItem_put :: Maybe Operation
- _pathItem_post :: Maybe Operation
- _pathItem_delete :: Maybe Operation
- _pathItem_options :: Maybe Operation
- _pathItem_head :: Maybe Operation
- _pathItem_patch :: Maybe Operation
- _pathItem_trace :: Maybe Operation
- _pathItem_ref :: Maybe Text
- _pathItem_x :: Maybe (HashMap Text Value)
- getHeaderDescription :: Header -> Maybe Text
- setHeaderDescription :: Header -> Maybe Text -> Header
- getExternalDocumentationUrl :: ExternalDocumentation -> Text
- setExternalDocumentationUrl :: ExternalDocumentation -> Text -> ExternalDocumentation
- getAuthorizationCodeOAuthFlowScopes :: AuthorizationCodeOAuthFlow -> Maybe (HashMap Text Text)
- setAuthorizationCodeOAuthFlowScopes :: AuthorizationCodeOAuthFlow -> Maybe (HashMap Text Text) -> AuthorizationCodeOAuthFlow
- getOperationDescription :: Operation -> Maybe Text
- setOperationDescription :: Operation -> Maybe Text -> Operation
- getServerVariableDefault :: ServerVariable -> Text
- setServerVariableDefault :: ServerVariable -> Text -> ServerVariable
- getComponentsLinks :: Components -> Maybe (HashMap Text (ReferenceOr Link))
- setComponentsLinks :: Components -> Maybe (HashMap Text (ReferenceOr Link)) -> Components
- getOpenAPIObjectPaths :: OpenAPIObject -> HashMap Text PathItem
- setOpenAPIObjectPaths :: OpenAPIObject -> HashMap Text PathItem -> OpenAPIObject
- getHTTPSecuritySchemeBearerFormat :: HTTPSecurityScheme -> Maybe Text
- setHTTPSecuritySchemeBearerFormat :: HTTPSecurityScheme -> Maybe Text -> HTTPSecurityScheme
- getInfoTitle :: Info -> Text
- setInfoTitle :: Info -> Text -> Info
- getImplicitOAuthFlowAuthorizationUrl :: ImplicitOAuthFlow -> Text
- setImplicitOAuthFlowAuthorizationUrl :: ImplicitOAuthFlow -> Text -> ImplicitOAuthFlow
- getPathItemSummary :: PathItem -> Maybe Text
- setPathItemSummary :: PathItem -> Maybe Text -> PathItem
- getOpenIdConnectSecuritySchemeX :: OpenIdConnectSecurityScheme -> Maybe (HashMap Text Value)
- setOpenIdConnectSecuritySchemeX :: OpenIdConnectSecurityScheme -> Maybe (HashMap Text Value) -> OpenIdConnectSecurityScheme
- getPathItemParameters :: PathItem -> Maybe [ReferenceOr Parameter]
- setPathItemParameters :: PathItem -> Maybe [ReferenceOr Parameter] -> PathItem
- getSchemaDefault :: Schema -> Maybe Value
- setSchemaDefault :: Schema -> Maybe Value -> Schema
- getMediaTypeExample :: MediaType -> Maybe Value
- setMediaTypeExample :: MediaType -> Maybe Value -> MediaType
- getInfoDescription :: Info -> Maybe Text
- setInfoDescription :: Info -> Maybe Text -> Info
- getPathItemDescription :: PathItem -> Maybe Text
- setPathItemDescription :: PathItem -> Maybe Text -> PathItem
- getOAuthFlowsClientCredentials :: OAuthFlows -> Maybe ClientCredentialsFlow
- setOAuthFlowsClientCredentials :: OAuthFlows -> Maybe ClientCredentialsFlow -> OAuthFlows
- getParameterIn :: Parameter -> Text
- setParameterIn :: Parameter -> Text -> Parameter
- getXMLName :: XML -> Maybe Text
- setXMLName :: XML -> Maybe Text -> XML
- getMediaTypeEncoding :: MediaType -> Maybe (HashMap Text Encoding)
- setMediaTypeEncoding :: MediaType -> Maybe (HashMap Text Encoding) -> MediaType
- data BoolInt
- getSchemaFormat :: Schema -> Maybe Text
- setSchemaFormat :: Schema -> Maybe Text -> Schema
- getHeaderX :: Header -> Maybe (HashMap Text Value)
- setHeaderX :: Header -> Maybe (HashMap Text Value) -> Header
- getExampleSummary :: Example -> Maybe Text
- setExampleSummary :: Example -> Maybe Text -> Example
- data Server = Server {}
- getParameterName :: Parameter -> Text
- setParameterName :: Parameter -> Text -> Parameter
- getParameterContent :: Parameter -> Maybe (HashMap Text MediaType)
- setParameterContent :: Parameter -> Maybe (HashMap Text MediaType) -> Parameter
- data Tag = Tag {}
- getPathItemRef :: PathItem -> Maybe Text
- setPathItemRef :: PathItem -> Maybe Text -> PathItem
- getSchemaMinLength :: Schema -> Maybe Int
- setSchemaMinLength :: Schema -> Maybe Int -> Schema
- getParameterSchema :: Parameter -> Maybe (ReferenceOr Schema)
- setParameterSchema :: Parameter -> Maybe (ReferenceOr Schema) -> Parameter
- getOperationResponses :: Operation -> HashMap Text (ReferenceOr Response)
- setOperationResponses :: Operation -> HashMap Text (ReferenceOr Response) -> Operation
- getSchemaAllOf :: Schema -> Maybe [ReferenceOr Schema]
- setSchemaAllOf :: Schema -> Maybe [ReferenceOr Schema] -> Schema
- getLinkX :: Link -> Maybe (HashMap Text Value)
- setLinkX :: Link -> Maybe (HashMap Text Value) -> Link
- data Discriminator = Discriminator {}
- getOperationSecurity :: Operation -> Maybe [HashMap Text [Text]]
- setOperationSecurity :: Operation -> Maybe [HashMap Text [Text]] -> Operation
- getHTTPSecuritySchemeDescription :: HTTPSecurityScheme -> Maybe Text
- setHTTPSecuritySchemeDescription :: HTTPSecurityScheme -> Maybe Text -> HTTPSecurityScheme
- data MediaType = MediaType {}
- getExampleValue :: Example -> Maybe Value
- setExampleValue :: Example -> Maybe Value -> Example
- getXMLPrefix :: XML -> Maybe Text
- setXMLPrefix :: XML -> Maybe Text -> XML
- getDiscriminatorPropertyName :: Discriminator -> Text
- setDiscriminatorPropertyName :: Discriminator -> Text -> Discriminator
- getSchemaXml :: Schema -> Maybe XML
- setSchemaXml :: Schema -> Maybe XML -> Schema
- getHeaderExplode :: Header -> Maybe Bool
- setHeaderExplode :: Header -> Maybe Bool -> Header
- getServerVariableX :: ServerVariable -> Maybe (HashMap Text Value)
- setServerVariableX :: ServerVariable -> Maybe (HashMap Text Value) -> ServerVariable
- getPathItemPatch :: PathItem -> Maybe Operation
- setPathItemPatch :: PathItem -> Maybe Operation -> PathItem
- getAPIKeySecuritySchemeX :: APIKeySecurityScheme -> Maybe (HashMap Text Value)
- setAPIKeySecuritySchemeX :: APIKeySecurityScheme -> Maybe (HashMap Text Value) -> APIKeySecurityScheme
- getLinkRequestBody :: Link -> Maybe Value
- setLinkRequestBody :: Link -> Maybe Value -> Link
- getExampleDescription :: Example -> Maybe Text
- setExampleDescription :: Example -> Maybe Text -> Example
- getComponentsSchemas :: Components -> Maybe (HashMap Text (ReferenceOr Schema))
- setComponentsSchemas :: Components -> Maybe (HashMap Text (ReferenceOr Schema)) -> Components
- data Response = Response {}
- getClientCredentialsFlowX :: ClientCredentialsFlow -> Maybe (HashMap Text Value)
- setClientCredentialsFlowX :: ClientCredentialsFlow -> Maybe (HashMap Text Value) -> ClientCredentialsFlow
- getOpenIdConnectSecuritySchemeOpenIdConnectUrl :: OpenIdConnectSecurityScheme -> Text
- setOpenIdConnectSecuritySchemeOpenIdConnectUrl :: OpenIdConnectSecurityScheme -> Text -> OpenIdConnectSecurityScheme
- getParameterExamples :: Parameter -> Maybe (HashMap Text (ReferenceOr Example))
- setParameterExamples :: Parameter -> Maybe (HashMap Text (ReferenceOr Example)) -> Parameter
- eitherReferenceOrRealDeal :: ReferenceOr a -> Either (ReferenceOr a) a
- getTagExternalDocs :: Tag -> Maybe ExternalDocumentation
- setTagExternalDocs :: Tag -> Maybe ExternalDocumentation -> Tag
- getEncodingAllowReserved :: Encoding -> Maybe Bool
- setEncodingAllowReserved :: Encoding -> Maybe Bool -> Encoding
- getContactX :: Contact -> Maybe (HashMap Text Value)
- setContactX :: Contact -> Maybe (HashMap Text Value) -> Contact
- getLinkServer :: Link -> Maybe Server
- setLinkServer :: Link -> Maybe Server -> Link
- getOpenAPIObjectServers :: OpenAPIObject -> Maybe [Server]
- setOpenAPIObjectServers :: OpenAPIObject -> Maybe [Server] -> OpenAPIObject
Documentation
data Components Source #
Components schemas responses parameters examples requestBodies headers securitySchemes links callbacks x
Instances
Eq Components Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: Components -> Components -> Bool # (/=) :: Components -> Components -> Bool # | |
Show Components Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> Components -> ShowS # show :: Components -> String # showList :: [Components] -> ShowS # | |
ToJSON Components Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: Components -> Value # toEncoding :: Components -> Encoding # toJSONList :: [Components] -> Value # toEncodingList :: [Components] -> Encoding # | |
FromJSON Components Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser Components # parseJSONList :: Value -> Parser [Components] # |
getServerUrl :: Server -> Text Source #
getOpenAPIObjectTags :: OpenAPIObject -> Maybe [Tag] Source #
setOpenAPIObjectTags :: OpenAPIObject -> Maybe [Tag] -> OpenAPIObject Source #
data ServerVariable Source #
ServerVariable default enum description x
Instances
Eq ServerVariable Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: ServerVariable -> ServerVariable -> Bool # (/=) :: ServerVariable -> ServerVariable -> Bool # | |
Show ServerVariable Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> ServerVariable -> ShowS # show :: ServerVariable -> String # showList :: [ServerVariable] -> ShowS # | |
ToJSON ServerVariable Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: ServerVariable -> Value # toEncoding :: ServerVariable -> Encoding # toJSONList :: [ServerVariable] -> Value # toEncodingList :: [ServerVariable] -> Encoding # | |
FromJSON ServerVariable Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser ServerVariable # parseJSONList :: Value -> Parser [ServerVariable] # |
Schema title multipleOf maximum exclusiveMaximum minimum exclusiveMinimum maxLength minLength pattern maxItems minItems uniqueItems maxProperties minProperties required enum allOf oneOf anyOf items properties additionalProperties description default nullable discriminator readOnly writeOnly example externalDocs deprecated xml format type not x
setComponentsRequestBodies :: Components -> Maybe (HashMap Text (ReferenceOr RequestBody)) -> Components Source #
getOAuthFlowsX :: OAuthFlows -> Maybe (HashMap Text Value) Source #
setOAuthFlowsX :: OAuthFlows -> Maybe (HashMap Text Value) -> OAuthFlows Source #
getComponentsHeaders :: Components -> Maybe (HashMap Text (ReferenceOr Header)) Source #
setComponentsHeaders :: Components -> Maybe (HashMap Text (ReferenceOr Header)) -> Components Source #
getHeaderExamples :: Header -> Maybe (HashMap Text (ReferenceOr Example)) Source #
setHeaderExamples :: Header -> Maybe (HashMap Text (ReferenceOr Example)) -> Header Source #
getMediaTypeExamples :: MediaType -> Maybe (HashMap Text (ReferenceOr Example)) Source #
setMediaTypeExamples :: MediaType -> Maybe (HashMap Text (ReferenceOr Example)) -> MediaType Source #
getReferenceRef :: Reference -> Text Source #
setServerVariables :: Server -> Maybe (HashMap Text ServerVariable) -> Server Source #
data ImplicitOAuthFlow Source #
ImplicitOAuthFlow authorizationUrl scopes refreshUrl x
Instances
Eq ImplicitOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: ImplicitOAuthFlow -> ImplicitOAuthFlow -> Bool # (/=) :: ImplicitOAuthFlow -> ImplicitOAuthFlow -> Bool # | |
Show ImplicitOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> ImplicitOAuthFlow -> ShowS # show :: ImplicitOAuthFlow -> String # showList :: [ImplicitOAuthFlow] -> ShowS # | |
ToJSON ImplicitOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: ImplicitOAuthFlow -> Value # toEncoding :: ImplicitOAuthFlow -> Encoding # toJSONList :: [ImplicitOAuthFlow] -> Value # toEncodingList :: [ImplicitOAuthFlow] -> Encoding # | |
FromJSON ImplicitOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser ImplicitOAuthFlow # parseJSONList :: Value -> Parser [ImplicitOAuthFlow] # |
data ClientCredentialsFlow Source #
ClientCredentialsFlow tokenUrl refreshUrl scopes x
Instances
Eq ClientCredentialsFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: ClientCredentialsFlow -> ClientCredentialsFlow -> Bool # (/=) :: ClientCredentialsFlow -> ClientCredentialsFlow -> Bool # | |
Show ClientCredentialsFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> ClientCredentialsFlow -> ShowS # show :: ClientCredentialsFlow -> String # showList :: [ClientCredentialsFlow] -> ShowS # | |
ToJSON ClientCredentialsFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: ClientCredentialsFlow -> Value # toEncoding :: ClientCredentialsFlow -> Encoding # toJSONList :: [ClientCredentialsFlow] -> Value # toEncodingList :: [ClientCredentialsFlow] -> Encoding # | |
FromJSON ClientCredentialsFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser ClientCredentialsFlow # parseJSONList :: Value -> Parser [ClientCredentialsFlow] # |
eitherSecuritySchemaAPIKeySS :: SecuritySchema -> Either SecuritySchema APIKeySecurityScheme Source #
setExternalDocumentationDescription :: ExternalDocumentation -> Maybe Text -> ExternalDocumentation Source #
Reference $ref x
Reference | |
|
setClientCredentialsFlowRefreshUrl :: ClientCredentialsFlow -> Maybe Text -> ClientCredentialsFlow Source #
setAuthorizationCodeOAuthFlowAuthorizationUrl :: AuthorizationCodeOAuthFlow -> Text -> AuthorizationCodeOAuthFlow Source #
setHTTPSecuritySchemeX :: HTTPSecurityScheme -> Maybe (HashMap Text Value) -> HTTPSecurityScheme Source #
data OAuth2SecurityScheme Source #
OAuth2SecurityScheme flows type description x
Instances
Eq OAuth2SecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: OAuth2SecurityScheme -> OAuth2SecurityScheme -> Bool # (/=) :: OAuth2SecurityScheme -> OAuth2SecurityScheme -> Bool # | |
Show OAuth2SecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> OAuth2SecurityScheme -> ShowS # show :: OAuth2SecurityScheme -> String # showList :: [OAuth2SecurityScheme] -> ShowS # | |
ToJSON OAuth2SecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: OAuth2SecurityScheme -> Value # toEncoding :: OAuth2SecurityScheme -> Encoding # toJSONList :: [OAuth2SecurityScheme] -> Value # toEncodingList :: [OAuth2SecurityScheme] -> Encoding # | |
FromJSON OAuth2SecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser OAuth2SecurityScheme # parseJSONList :: Value -> Parser [OAuth2SecurityScheme] # |
data APIKeySecurityScheme Source #
APIKeySecurityScheme name type in description x
Instances
Eq APIKeySecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: APIKeySecurityScheme -> APIKeySecurityScheme -> Bool # (/=) :: APIKeySecurityScheme -> APIKeySecurityScheme -> Bool # | |
Show APIKeySecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> APIKeySecurityScheme -> ShowS # show :: APIKeySecurityScheme -> String # showList :: [APIKeySecurityScheme] -> ShowS # | |
ToJSON APIKeySecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: APIKeySecurityScheme -> Value # toEncoding :: APIKeySecurityScheme -> Encoding # toJSONList :: [APIKeySecurityScheme] -> Value # toEncodingList :: [APIKeySecurityScheme] -> Encoding # | |
FromJSON APIKeySecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser APIKeySecurityScheme # parseJSONList :: Value -> Parser [APIKeySecurityScheme] # |
setOperationParameters :: Operation -> Maybe [ReferenceOr Parameter] -> Operation Source #
getResponseHeaders :: Response -> Maybe (HashMap Text (ReferenceOr Header)) Source #
setResponseHeaders :: Response -> Maybe (HashMap Text (ReferenceOr Header)) -> Response Source #
Example summary description value externalValue x
data OpenIdConnectSecurityScheme Source #
OpenIdConnectSecurityScheme type openIdConnectUrl description x
Instances
Eq OpenIdConnectSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 | |
Show OpenIdConnectSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> OpenIdConnectSecurityScheme -> ShowS # show :: OpenIdConnectSecurityScheme -> String # showList :: [OpenIdConnectSecurityScheme] -> ShowS # | |
ToJSON OpenIdConnectSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 | |
FromJSON OpenIdConnectSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 |
getSchemaNot :: Schema -> Maybe (ReferenceOr Schema) Source #
setSchemaNot :: Schema -> Maybe (ReferenceOr Schema) -> Schema Source #
setComponentsParameters :: Components -> Maybe (HashMap Text (ReferenceOr Parameter)) -> Components Source #
getSchemaOneOf :: Schema -> Maybe [ReferenceOr Schema] Source #
setSchemaOneOf :: Schema -> Maybe [ReferenceOr Schema] -> Schema Source #
setOAuthFlowsAuthorizationCode :: OAuthFlows -> Maybe AuthorizationCodeOAuthFlow -> OAuthFlows Source #
License name url x
License | |
|
getComponentsExamples :: Components -> Maybe (HashMap Text (ReferenceOr Example)) Source #
setComponentsExamples :: Components -> Maybe (HashMap Text (ReferenceOr Example)) -> Components Source #
setAuthorizationCodeOAuthFlowX :: AuthorizationCodeOAuthFlow -> Maybe (HashMap Text Value) -> AuthorizationCodeOAuthFlow Source #
setComponentsResponses :: Components -> Maybe (HashMap Text (ReferenceOr Response)) -> Components Source #
data OpenAPIObject Source #
OpenAPIObject openapi info paths externalDocs servers security tags components x
Instances
Eq OpenAPIObject Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: OpenAPIObject -> OpenAPIObject -> Bool # (/=) :: OpenAPIObject -> OpenAPIObject -> Bool # | |
Show OpenAPIObject Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> OpenAPIObject -> ShowS # show :: OpenAPIObject -> String # showList :: [OpenAPIObject] -> ShowS # | |
ToJSON OpenAPIObject Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: OpenAPIObject -> Value # toEncoding :: OpenAPIObject -> Encoding # toJSONList :: [OpenAPIObject] -> Value # toEncodingList :: [OpenAPIObject] -> Encoding # | |
FromJSON OpenAPIObject Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser OpenAPIObject # parseJSONList :: Value -> Parser [OpenAPIObject] # |
data HTTPSecurityScheme Source #
HTTPSecurityScheme type scheme bearerFormat description x
Instances
Eq HTTPSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: HTTPSecurityScheme -> HTTPSecurityScheme -> Bool # (/=) :: HTTPSecurityScheme -> HTTPSecurityScheme -> Bool # | |
Show HTTPSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> HTTPSecurityScheme -> ShowS # show :: HTTPSecurityScheme -> String # showList :: [HTTPSecurityScheme] -> ShowS # | |
ToJSON HTTPSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: HTTPSecurityScheme -> Value # toEncoding :: HTTPSecurityScheme -> Encoding # toJSONList :: [HTTPSecurityScheme] -> Value # toEncodingList :: [HTTPSecurityScheme] -> Encoding # | |
FromJSON HTTPSecurityScheme Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser HTTPSecurityScheme # parseJSONList :: Value -> Parser [HTTPSecurityScheme] # |
eitherSecuritySchemaOAuth2SS :: SecuritySchema -> Either SecuritySchema OAuth2SecurityScheme Source #
getOperationCallbacks :: Operation -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem))) Source #
setOperationCallbacks :: Operation -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem))) -> Operation Source #
getLicenseName :: License -> Text Source #
setAPIKeySecuritySchemeDescription :: APIKeySecurityScheme -> Maybe Text -> APIKeySecurityScheme Source #
data AuthorizationCodeOAuthFlow Source #
AuthorizationCodeOAuthFlow tokenUrl authorizationUrl refreshUrl scopes x
Instances
Eq AuthorizationCodeOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 | |
Show AuthorizationCodeOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> AuthorizationCodeOAuthFlow -> ShowS # show :: AuthorizationCodeOAuthFlow -> String # showList :: [AuthorizationCodeOAuthFlow] -> ShowS # | |
ToJSON AuthorizationCodeOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 | |
FromJSON AuthorizationCodeOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 |
getTagName :: Tag -> Text Source #
setOpenIdConnectSecuritySchemeType :: OpenIdConnectSecurityScheme -> Text -> OpenIdConnectSecurityScheme Source #
setOAuth2SecuritySchemeX :: OAuth2SecurityScheme -> Maybe (HashMap Text Value) -> OAuth2SecurityScheme Source #
getInfoVersion :: Info -> Text Source #
setSchemaDiscriminator :: Schema -> Maybe Discriminator -> Schema Source #
getRequestBodyX :: RequestBody -> Maybe (HashMap Text Value) Source #
setRequestBodyX :: RequestBody -> Maybe (HashMap Text Value) -> RequestBody Source #
setPasswordOAuthFlowScopes :: PasswordOAuthFlow -> Maybe (HashMap Text Text) -> PasswordOAuthFlow Source #
setOpenIdConnectSecuritySchemeDescription :: OpenIdConnectSecurityScheme -> Maybe Text -> OpenIdConnectSecurityScheme Source #
setDiscriminatorMapping :: Discriminator -> Maybe (HashMap Text Text) -> Discriminator Source #
getHeaderSchema :: Header -> Maybe (ReferenceOr Schema) Source #
setHeaderSchema :: Header -> Maybe (ReferenceOr Schema) -> Header Source #
data RequestBody Source #
RequestBody content description required x
Instances
Eq RequestBody Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: RequestBody -> RequestBody -> Bool # (/=) :: RequestBody -> RequestBody -> Bool # | |
Show RequestBody Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> RequestBody -> ShowS # show :: RequestBody -> String # showList :: [RequestBody] -> ShowS # | |
ToJSON RequestBody Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: RequestBody -> Value # toEncoding :: RequestBody -> Encoding # toJSONList :: [RequestBody] -> Value # toEncodingList :: [RequestBody] -> Encoding # | |
FromJSON RequestBody Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser RequestBody # parseJSONList :: Value -> Parser [RequestBody] # |
setExternalDocumentationX :: ExternalDocumentation -> Maybe (HashMap Text Value) -> ExternalDocumentation Source #
setOpenAPIObjectExternalDocs :: OpenAPIObject -> Maybe ExternalDocumentation -> OpenAPIObject Source #
getSchemaProperties :: Schema -> Maybe (HashMap Text (ReferenceOr Schema)) Source #
setSchemaProperties :: Schema -> Maybe (HashMap Text (ReferenceOr Schema)) -> Schema Source #
eitherItemsTuple :: Items -> Either Items [ReferenceOr Schema] Source #
data ExternalDocumentation Source #
ExternalDocumentation url description x
Instances
Eq ExternalDocumentation Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: ExternalDocumentation -> ExternalDocumentation -> Bool # (/=) :: ExternalDocumentation -> ExternalDocumentation -> Bool # | |
Show ExternalDocumentation Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> ExternalDocumentation -> ShowS # show :: ExternalDocumentation -> String # showList :: [ExternalDocumentation] -> ShowS # | |
ToJSON ExternalDocumentation Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: ExternalDocumentation -> Value # toEncoding :: ExternalDocumentation -> Encoding # toJSONList :: [ExternalDocumentation] -> Value # toEncodingList :: [ExternalDocumentation] -> Encoding # | |
FromJSON ExternalDocumentation Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser ExternalDocumentation # parseJSONList :: Value -> Parser [ExternalDocumentation] # |
Parameter name in description required deprecated allowEmptyValue style explode allowReserved schema content example examples x
Link operationId operationRef parameters requestBody description server x
Link | |
|
data SecuritySchema Source #
APIKeySS APIKeySecurityScheme | |
HTTPSS HTTPSecurityScheme | |
OAuth2SS OAuth2SecurityScheme | |
OpenIdConnectSS OpenIdConnectSecurityScheme | |
TextSS Text | |
ReferenceSS Reference |
Instances
Eq SecuritySchema Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: SecuritySchema -> SecuritySchema -> Bool # (/=) :: SecuritySchema -> SecuritySchema -> Bool # | |
Show SecuritySchema Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> SecuritySchema -> ShowS # show :: SecuritySchema -> String # showList :: [SecuritySchema] -> ShowS # | |
ToJSON SecuritySchema Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: SecuritySchema -> Value # toEncoding :: SecuritySchema -> Encoding # toJSONList :: [SecuritySchema] -> Value # toEncodingList :: [SecuritySchema] -> Encoding # | |
FromJSON SecuritySchema Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser SecuritySchema # parseJSONList :: Value -> Parser [SecuritySchema] # |
Contact name url email x
Contact | |
|
data Additionals Source #
Instances
Eq Additionals Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: Additionals -> Additionals -> Bool # (/=) :: Additionals -> Additionals -> Bool # | |
Show Additionals Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> Additionals -> ShowS # show :: Additionals -> String # showList :: [Additionals] -> ShowS # | |
ToJSON Additionals Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: Additionals -> Value # toEncoding :: Additionals -> Encoding # toJSONList :: [Additionals] -> Value # toEncodingList :: [Additionals] -> Encoding # | |
FromJSON Additionals Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser Additionals # parseJSONList :: Value -> Parser [Additionals] # |
setComponentsSecuritySchemes :: Components -> Maybe (HashMap Text SecuritySchema) -> Components Source #
getComponentsCallbacks :: Components -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem))) Source #
setComponentsCallbacks :: Components -> Maybe (HashMap Text (ReferenceOr (HashMap Text PathItem))) -> Components Source #
getMediaTypeSchema :: MediaType -> Maybe (ReferenceOr Schema) Source #
setMediaTypeSchema :: MediaType -> Maybe (ReferenceOr Schema) -> MediaType Source #
setOAuth2SecuritySchemeDescription :: OAuth2SecurityScheme -> Maybe Text -> OAuth2SecurityScheme Source #
getOpenAPIObjectSecurity :: OpenAPIObject -> Maybe [HashMap Text [Text]] Source #
setOpenAPIObjectSecurity :: OpenAPIObject -> Maybe [HashMap Text [Text]] -> OpenAPIObject Source #
eitherReferenceOrRef :: ReferenceOr a -> Either (ReferenceOr a) Reference Source #
XML name namespace prefix attribute wrapped x
XML | |
|
getSchemaAnyOf :: Schema -> Maybe [ReferenceOr Schema] Source #
setSchemaAnyOf :: Schema -> Maybe [ReferenceOr Schema] -> Schema Source #
getOpenAPIObjectX :: OpenAPIObject -> Maybe (HashMap Text Value) Source #
setOpenAPIObjectX :: OpenAPIObject -> Maybe (HashMap Text Value) -> OpenAPIObject Source #
setImplicitOAuthFlowX :: ImplicitOAuthFlow -> Maybe (HashMap Text Value) -> ImplicitOAuthFlow Source #
Header description required deprecated allowEmptyValue style explode allowReserved schema content example examples x
Info title version description termsOfService contact license x
Info | |
|
setPasswordOAuthFlowX :: PasswordOAuthFlow -> Maybe (HashMap Text Value) -> PasswordOAuthFlow Source #
data OAuthFlows Source #
OAuthFlows implicit password clientCredentials authorizationCode x
Instances
Eq OAuthFlows Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: OAuthFlows -> OAuthFlows -> Bool # (/=) :: OAuthFlows -> OAuthFlows -> Bool # | |
Show OAuthFlows Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> OAuthFlows -> ShowS # show :: OAuthFlows -> String # showList :: [OAuthFlows] -> ShowS # | |
ToJSON OAuthFlows Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: OAuthFlows -> Value # toEncoding :: OAuthFlows -> Encoding # toJSONList :: [OAuthFlows] -> Value # toEncodingList :: [OAuthFlows] -> Encoding # | |
FromJSON OAuthFlows Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser OAuthFlows # parseJSONList :: Value -> Parser [OAuthFlows] # |
setAuthorizationCodeOAuthFlowRefreshUrl :: AuthorizationCodeOAuthFlow -> Maybe Text -> AuthorizationCodeOAuthFlow Source #
getServerVariableEnum :: ServerVariable -> Maybe [Text] Source #
setServerVariableEnum :: ServerVariable -> Maybe [Text] -> ServerVariable Source #
Operation responses tags summary description externalDocs operationId parameters requestBody callbacks deprecated security servers x
getResponseLinks :: Response -> Maybe (HashMap Text (ReferenceOr Link)) Source #
setResponseLinks :: Response -> Maybe (HashMap Text (ReferenceOr Link)) -> Response Source #
data ReferenceOr a Source #
Instances
Eq a => Eq (ReferenceOr a) Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: ReferenceOr a -> ReferenceOr a -> Bool # (/=) :: ReferenceOr a -> ReferenceOr a -> Bool # | |
Show a => Show (ReferenceOr a) Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> ReferenceOr a -> ShowS # show :: ReferenceOr a -> String # showList :: [ReferenceOr a] -> ShowS # | |
ToJSON a => ToJSON (ReferenceOr a) Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: ReferenceOr a -> Value # toEncoding :: ReferenceOr a -> Encoding # toJSONList :: [ReferenceOr a] -> Value # toEncodingList :: [ReferenceOr a] -> Encoding # | |
FromJSON a => FromJSON (ReferenceOr a) Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser (ReferenceOr a) # parseJSONList :: Value -> Parser [ReferenceOr a] # |
getComponentsX :: Components -> Maybe (HashMap Text Value) Source #
setComponentsX :: Components -> Maybe (HashMap Text Value) -> Components Source #
data PasswordOAuthFlow Source #
PasswordOAuthFlow tokenUrl refreshUrl scopes x
Instances
Eq PasswordOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: PasswordOAuthFlow -> PasswordOAuthFlow -> Bool # (/=) :: PasswordOAuthFlow -> PasswordOAuthFlow -> Bool # | |
Show PasswordOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> PasswordOAuthFlow -> ShowS # show :: PasswordOAuthFlow -> String # showList :: [PasswordOAuthFlow] -> ShowS # | |
ToJSON PasswordOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: PasswordOAuthFlow -> Value # toEncoding :: PasswordOAuthFlow -> Encoding # toJSONList :: [PasswordOAuthFlow] -> Value # toEncodingList :: [PasswordOAuthFlow] -> Encoding # | |
FromJSON PasswordOAuthFlow Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser PasswordOAuthFlow # parseJSONList :: Value -> Parser [PasswordOAuthFlow] # |
getDiscriminatorX :: Discriminator -> Maybe (HashMap Text Value) Source #
setDiscriminatorX :: Discriminator -> Maybe (HashMap Text Value) -> Discriminator Source #
setRequestBodyRequired :: RequestBody -> Maybe Bool -> RequestBody Source #
eitherSecuritySchemaOpenIdConnectSS :: SecuritySchema -> Either SecuritySchema OpenIdConnectSecurityScheme Source #
setClientCredentialsFlowScopes :: ClientCredentialsFlow -> Maybe (HashMap Text Text) -> ClientCredentialsFlow Source #
setAuthorizationCodeOAuthFlowTokenUrl :: AuthorizationCodeOAuthFlow -> Text -> AuthorizationCodeOAuthFlow Source #
Encoding contentType headers style explode allowReserved x
PathItem summary description servers parameters get put post delete options head patch trace $ref x
getAuthorizationCodeOAuthFlowScopes :: AuthorizationCodeOAuthFlow -> Maybe (HashMap Text Text) Source #
setAuthorizationCodeOAuthFlowScopes :: AuthorizationCodeOAuthFlow -> Maybe (HashMap Text Text) -> AuthorizationCodeOAuthFlow Source #
getComponentsLinks :: Components -> Maybe (HashMap Text (ReferenceOr Link)) Source #
setComponentsLinks :: Components -> Maybe (HashMap Text (ReferenceOr Link)) -> Components Source #
setHTTPSecuritySchemeBearerFormat :: HTTPSecurityScheme -> Maybe Text -> HTTPSecurityScheme Source #
getInfoTitle :: Info -> Text Source #
getOpenIdConnectSecuritySchemeX :: OpenIdConnectSecurityScheme -> Maybe (HashMap Text Value) Source #
setOpenIdConnectSecuritySchemeX :: OpenIdConnectSecurityScheme -> Maybe (HashMap Text Value) -> OpenIdConnectSecurityScheme Source #
setPathItemParameters :: PathItem -> Maybe [ReferenceOr Parameter] -> PathItem Source #
getParameterIn :: Parameter -> Text Source #
Server url description variables x
Server | |
|
getParameterName :: Parameter -> Text Source #
Tag name description externalDocs x
getParameterSchema :: Parameter -> Maybe (ReferenceOr Schema) Source #
setParameterSchema :: Parameter -> Maybe (ReferenceOr Schema) -> Parameter Source #
setOperationResponses :: Operation -> HashMap Text (ReferenceOr Response) -> Operation Source #
getSchemaAllOf :: Schema -> Maybe [ReferenceOr Schema] Source #
setSchemaAllOf :: Schema -> Maybe [ReferenceOr Schema] -> Schema Source #
data Discriminator Source #
Discriminator propertyName mapping x
Instances
Eq Discriminator Source # | |
Defined in Data.OpenAPI.V3_0_0 (==) :: Discriminator -> Discriminator -> Bool # (/=) :: Discriminator -> Discriminator -> Bool # | |
Show Discriminator Source # | |
Defined in Data.OpenAPI.V3_0_0 showsPrec :: Int -> Discriminator -> ShowS # show :: Discriminator -> String # showList :: [Discriminator] -> ShowS # | |
ToJSON Discriminator Source # | |
Defined in Data.OpenAPI.V3_0_0 toJSON :: Discriminator -> Value # toEncoding :: Discriminator -> Encoding # toJSONList :: [Discriminator] -> Value # toEncodingList :: [Discriminator] -> Encoding # | |
FromJSON Discriminator Source # | |
Defined in Data.OpenAPI.V3_0_0 parseJSON :: Value -> Parser Discriminator # parseJSONList :: Value -> Parser [Discriminator] # |
MediaType schema example examples encoding x
getServerVariableX :: ServerVariable -> Maybe (HashMap Text Value) Source #
setServerVariableX :: ServerVariable -> Maybe (HashMap Text Value) -> ServerVariable Source #
setAPIKeySecuritySchemeX :: APIKeySecurityScheme -> Maybe (HashMap Text Value) -> APIKeySecurityScheme Source #
getComponentsSchemas :: Components -> Maybe (HashMap Text (ReferenceOr Schema)) Source #
setComponentsSchemas :: Components -> Maybe (HashMap Text (ReferenceOr Schema)) -> Components Source #
Response description headers content links x
Response | |
|
setClientCredentialsFlowX :: ClientCredentialsFlow -> Maybe (HashMap Text Value) -> ClientCredentialsFlow Source #
setOpenIdConnectSecuritySchemeOpenIdConnectUrl :: OpenIdConnectSecurityScheme -> Text -> OpenIdConnectSecurityScheme Source #
getParameterExamples :: Parameter -> Maybe (HashMap Text (ReferenceOr Example)) Source #
setParameterExamples :: Parameter -> Maybe (HashMap Text (ReferenceOr Example)) -> Parameter Source #
eitherReferenceOrRealDeal :: ReferenceOr a -> Either (ReferenceOr a) a Source #
setTagExternalDocs :: Tag -> Maybe ExternalDocumentation -> Tag Source #
setOpenAPIObjectServers :: OpenAPIObject -> Maybe [Server] -> OpenAPIObject Source #