swagger2-2.8.7: Swagger 2.0 data model
MaintainerNickolay Kudasov <nickolay@getshoptv.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.Swagger.Lens

Description

Lenses and prisms for Swagger.

Synopsis

Classy lenses

class HasBasePath s a | s -> a where Source #

Methods

basePath :: Lens' s a Source #

Instances

Instances details
HasBasePath Swagger (Maybe FilePath) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasConsumes s a | s -> a where Source #

Methods

consumes :: Lens' s a Source #

Instances

Instances details
HasConsumes Swagger MimeList Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

consumes :: Lens' Swagger MimeList Source #

HasConsumes Operation (Maybe MimeList) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasDefinitions s a | s -> a where Source #

Methods

definitions :: Lens' s a Source #

Instances

Instances details
HasDefinitions Swagger (Definitions Schema) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasExternalDocs s a | s -> a where Source #

Methods

externalDocs :: Lens' s a Source #

class HasHost s a | s -> a where Source #

Methods

host :: Lens' s a Source #

Instances

Instances details
HasHost Swagger (Maybe Host) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

host :: Lens' Swagger (Maybe Host) Source #

class HasInfo s a | s -> a where Source #

Methods

info :: Lens' s a Source #

Instances

Instances details
HasInfo Swagger Info Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

info :: Lens' Swagger Info Source #

class HasParameters s a | s -> a where Source #

Methods

parameters :: Lens' s a Source #

Instances

Instances details
HasParameters Operation [Referenced Param] Source # 
Instance details

Defined in Data.Swagger.Lens

HasParameters PathItem [Referenced Param] Source # 
Instance details

Defined in Data.Swagger.Lens

HasParameters Swagger (Definitions Param) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasPaths s a | s -> a where Source #

Methods

paths :: Lens' s a Source #

Instances

Instances details
HasPaths Swagger (InsOrdHashMap FilePath PathItem) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

paths :: Lens' Swagger (InsOrdHashMap FilePath PathItem) Source #

class HasProduces s a | s -> a where Source #

Methods

produces :: Lens' s a Source #

Instances

Instances details
HasProduces Swagger MimeList Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

produces :: Lens' Swagger MimeList Source #

HasProduces Operation (Maybe MimeList) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasResponses s a | s -> a where Source #

Methods

responses :: Lens' s a Source #

Instances

Instances details
HasResponses Operation Responses Source # 
Instance details

Defined in Data.Swagger.Lens

HasResponses Swagger (Definitions Response) Source # 
Instance details

Defined in Data.Swagger.Lens

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

Defined in Data.Swagger.Lens

Methods

responses :: Lens' Responses (InsOrdHashMap HttpStatusCode (Referenced Response)) Source #

class HasSchemes s a | s -> a where Source #

Methods

schemes :: Lens' s a Source #

Instances

Instances details
HasSchemes Operation (Maybe [Scheme]) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

schemes :: Lens' Operation (Maybe [Scheme]) Source #

HasSchemes Swagger (Maybe [Scheme]) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

schemes :: Lens' Swagger (Maybe [Scheme]) Source #

class HasSecurity s a | s -> a where Source #

Methods

security :: Lens' s a Source #

Instances

Instances details
HasSecurity Operation [SecurityRequirement] Source # 
Instance details

Defined in Data.Swagger.Lens

HasSecurity Swagger [SecurityRequirement] Source # 
Instance details

Defined in Data.Swagger.Lens

class HasSecurityDefinitions s a | s -> a where Source #

Methods

securityDefinitions :: Lens' s a Source #

class HasTags s a | s -> a where Source #

Methods

tags :: Lens' s a Source #

Instances

Instances details
HasTags Operation (InsOrdHashSet TagName) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

tags :: Lens' Operation (InsOrdHashSet TagName) Source #

HasTags Swagger (InsOrdHashSet Tag) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

tags :: Lens' Swagger (InsOrdHashSet Tag) Source #

class HasName s a | s -> a where Source #

Methods

name :: Lens' s a Source #

Instances

Instances details
HasName Tag TagName Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

name :: Lens' Tag TagName Source #

HasName Param Text Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

name :: Lens' Param Text Source #

HasName Host HostName Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

name :: Lens' Host HostName Source #

HasName License Text Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

name :: Lens' License Text Source #

HasName Xml (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

name :: Lens' Xml (Maybe Text) Source #

HasName NamedSchema (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

name :: Lens' NamedSchema (Maybe Text) Source #

HasName Contact (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

name :: Lens' Contact (Maybe Text) Source #

class HasPort s a | s -> a where Source #

Methods

port :: Lens' s a Source #

Instances

Instances details
HasPort Host (Maybe PortNumber) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

port :: Lens' Host (Maybe PortNumber) Source #

class HasContact s a | s -> a where Source #

Methods

contact :: Lens' s a Source #

Instances

Instances details
HasContact Info (Maybe Contact) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

contact :: Lens' Info (Maybe Contact) Source #

class HasDescription s a | s -> a where Source #

Methods

description :: Lens' s a Source #

Instances

Instances details
HasDescription Response Text Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

description :: Lens' Response Text Source #

HasDescription ExternalDocs (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

HasDescription Tag (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

description :: Lens' Tag (Maybe Text) Source #

HasDescription SecurityScheme (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

HasDescription Header (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

description :: Lens' Header (Maybe Text) Source #

HasDescription Schema (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

description :: Lens' Schema (Maybe Text) Source #

HasDescription Param (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

description :: Lens' Param (Maybe Text) Source #

HasDescription Operation (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

HasDescription Info (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

description :: Lens' Info (Maybe Text) Source #

class HasLicense s a | s -> a where Source #

Methods

license :: Lens' s a Source #

Instances

Instances details
HasLicense Info (Maybe License) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

license :: Lens' Info (Maybe License) Source #

class HasTermsOfService s a | s -> a where Source #

Methods

termsOfService :: Lens' s a Source #

Instances

Instances details
HasTermsOfService Info (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

termsOfService :: Lens' Info (Maybe Text) Source #

class HasTitle s a | s -> a where Source #

Methods

title :: Lens' s a Source #

Instances

Instances details
HasTitle Info Text Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

title :: Lens' Info Text Source #

HasTitle Schema (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

title :: Lens' Schema (Maybe Text) Source #

class HasVersion s a | s -> a where Source #

Methods

version :: Lens' s a Source #

Instances

Instances details
HasVersion Info Text Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

version :: Lens' Info Text Source #

class HasEmail s a | s -> a where Source #

Methods

email :: Lens' s a Source #

Instances

Instances details
HasEmail Contact (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

email :: Lens' Contact (Maybe Text) Source #

class HasUrl s a | s -> a where Source #

Methods

url :: Lens' s a Source #

Instances

Instances details
HasUrl ExternalDocs URL Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

url :: Lens' ExternalDocs URL Source #

HasUrl License (Maybe URL) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

url :: Lens' License (Maybe URL) Source #

HasUrl Contact (Maybe URL) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

url :: Lens' Contact (Maybe URL) Source #

class HasDelete s a | s -> a where Source #

Methods

delete :: Lens' s a Source #

Instances

Instances details
HasDelete PathItem (Maybe Operation) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasGet s a | s -> a where Source #

Methods

get :: Lens' s a Source #

Instances

Instances details
HasGet PathItem (Maybe Operation) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

get :: Lens' PathItem (Maybe Operation) Source #

class HasHead s a | s -> a where Source #

Methods

head_ :: Lens' s a Source #

Instances

Instances details
HasHead PathItem (Maybe Operation) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

head_ :: Lens' PathItem (Maybe Operation) Source #

class HasOptions s a | s -> a where Source #

Methods

options :: Lens' s a Source #

Instances

Instances details
HasOptions PathItem (Maybe Operation) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasPatch s a | s -> a where Source #

Methods

patch :: Lens' s a Source #

Instances

Instances details
HasPatch PathItem (Maybe Operation) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

patch :: Lens' PathItem (Maybe Operation) Source #

class HasPost s a | s -> a where Source #

Methods

post :: Lens' s a Source #

Instances

Instances details
HasPost PathItem (Maybe Operation) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

post :: Lens' PathItem (Maybe Operation) Source #

class HasPut s a | s -> a where Source #

Methods

put :: Lens' s a Source #

Instances

Instances details
HasPut PathItem (Maybe Operation) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

put :: Lens' PathItem (Maybe Operation) Source #

class HasDeprecated s a | s -> a where Source #

Methods

deprecated :: Lens' s a Source #

Instances

Instances details
HasDeprecated Operation (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasExtensions s a | s -> a where Source #

Methods

extensions :: Lens' s a Source #

Instances

Instances details
HasExtensions Operation (InsOrdHashMap Text Value) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

extensions :: Lens' Operation (InsOrdHashMap Text Value) Source #

class HasOperationId s a | s -> a where Source #

Methods

operationId :: Lens' s a Source #

Instances

Instances details
HasOperationId Operation (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasSummary s a | s -> a where Source #

Methods

summary :: Lens' s a Source #

Instances

Instances details
HasSummary Operation (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

summary :: Lens' Operation (Maybe Text) Source #

class HasRequired s a | s -> a where Source #

Methods

required :: Lens' s a Source #

Instances

Instances details
HasRequired Schema [ParamName] Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

required :: Lens' Schema [ParamName] Source #

HasRequired Param (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

required :: Lens' Param (Maybe Bool) Source #

class HasSchema s a | s -> a where Source #

Methods

schema :: Lens' s a Source #

Instances

Instances details
HasSchema NamedSchema Schema Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

schema :: Lens' NamedSchema Schema Source #

HasSchema Param ParamAnySchema Source # 
Instance details

Defined in Data.Swagger.Lens

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

Defined in Data.Swagger.Lens

class HasAllowEmptyValue s a | s -> a where Source #

Methods

allowEmptyValue :: Lens' s a Source #

Instances

Instances details
HasAllowEmptyValue ParamOtherSchema (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasIn s a | s -> a where Source #

Methods

in_ :: Lens' s a Source #

Instances

Instances details
HasIn ParamOtherSchema ParamLocation Source # 
Instance details

Defined in Data.Swagger.Lens

class HasAdditionalProperties s a | s -> a where Source #

Methods

additionalProperties :: Lens' s a Source #

class HasAllOf s a | s -> a where Source #

Methods

allOf :: Lens' s a Source #

Instances

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

Defined in Data.Swagger.Lens

Methods

allOf :: Lens' Schema (Maybe [Referenced Schema]) Source #

class HasDiscriminator s a | s -> a where Source #

Methods

discriminator :: Lens' s a Source #

Instances

Instances details
HasDiscriminator Schema (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasExample s a | s -> a where Source #

Methods

example :: Lens' s a Source #

Instances

Instances details
HasExample Schema (Maybe Value) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

example :: Lens' Schema (Maybe Value) Source #

class HasMaxProperties s a | s -> a where Source #

Methods

maxProperties :: Lens' s a Source #

Instances

Instances details
HasMaxProperties Schema (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasMinProperties s a | s -> a where Source #

Methods

minProperties :: Lens' s a Source #

Instances

Instances details
HasMinProperties Schema (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasProperties s a | s -> a where Source #

Methods

properties :: Lens' s a Source #

Instances

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

Defined in Data.Swagger.Lens

Methods

properties :: Lens' Schema (InsOrdHashMap Text (Referenced Schema)) Source #

class HasReadOnly s a | s -> a where Source #

Methods

readOnly :: Lens' s a Source #

Instances

Instances details
HasReadOnly Schema (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

readOnly :: Lens' Schema (Maybe Bool) Source #

class HasXml s a | s -> a where Source #

Methods

xml :: Lens' s a Source #

Instances

Instances details
HasXml Schema (Maybe Xml) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

xml :: Lens' Schema (Maybe Xml) Source #

class HasDefault s a | s -> a where Source #

Methods

default_ :: Lens' s a Source #

Instances

Instances details
HasDefault Header (Maybe Value) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

default_ :: Lens' Header (Maybe Value) Source #

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

Defined in Data.Swagger.Lens

HasDefault Schema (Maybe Value) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

default_ :: Lens' Schema (Maybe Value) Source #

HasDefault ParamOtherSchema (Maybe Value) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

default_ :: Lens' ParamOtherSchema (Maybe Value) Source #

HasDefault (ParamSchema t) (Maybe Value) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

default_ :: Lens' (ParamSchema t) (Maybe Value) Source #

class HasEnum s a | s -> a where Source #

Methods

enum_ :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasEnum s (Maybe [Value]) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

enum_ :: Lens' s (Maybe [Value]) Source #

HasEnum (ParamSchema t) (Maybe [Value]) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

enum_ :: Lens' (ParamSchema t) (Maybe [Value]) Source #

class HasExclusiveMaximum s a | s -> a where Source #

Methods

exclusiveMaximum :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasExclusiveMaximum s (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

exclusiveMaximum :: Lens' s (Maybe Bool) Source #

HasExclusiveMaximum (ParamSchema t) (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasExclusiveMinimum s a | s -> a where Source #

Methods

exclusiveMinimum :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasExclusiveMinimum s (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

exclusiveMinimum :: Lens' s (Maybe Bool) Source #

HasExclusiveMinimum (ParamSchema t) (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasFormat s a | s -> a where Source #

Methods

format :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasFormat s (Maybe Format) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

format :: Lens' s (Maybe Format) Source #

HasFormat (ParamSchema t) (Maybe Format) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

format :: Lens' (ParamSchema t) (Maybe Format) Source #

class HasItems s a | s -> a where Source #

Methods

items :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasItems s (Maybe (SwaggerItems t)) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

items :: Lens' s (Maybe (SwaggerItems t)) Source #

HasItems (ParamSchema t) (Maybe (SwaggerItems t)) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

items :: Lens' (ParamSchema t) (Maybe (SwaggerItems t)) Source #

class HasMaxItems s a | s -> a where Source #

Methods

maxItems :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasMaxItems s (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

maxItems :: Lens' s (Maybe Integer) Source #

HasMaxItems (ParamSchema t) (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

maxItems :: Lens' (ParamSchema t) (Maybe Integer) Source #

class HasMaxLength s a | s -> a where Source #

Methods

maxLength :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasMaxLength s (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

maxLength :: Lens' s (Maybe Integer) Source #

HasMaxLength (ParamSchema t) (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

maxLength :: Lens' (ParamSchema t) (Maybe Integer) Source #

class HasMaximum s a | s -> a where Source #

Methods

maximum_ :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasMaximum s (Maybe Scientific) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

maximum_ :: Lens' s (Maybe Scientific) Source #

HasMaximum (ParamSchema t) (Maybe Scientific) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

maximum_ :: Lens' (ParamSchema t) (Maybe Scientific) Source #

class HasMinItems s a | s -> a where Source #

Methods

minItems :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasMinItems s (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

minItems :: Lens' s (Maybe Integer) Source #

HasMinItems (ParamSchema t) (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

minItems :: Lens' (ParamSchema t) (Maybe Integer) Source #

class HasMinLength s a | s -> a where Source #

Methods

minLength :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasMinLength s (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

minLength :: Lens' s (Maybe Integer) Source #

HasMinLength (ParamSchema t) (Maybe Integer) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

minLength :: Lens' (ParamSchema t) (Maybe Integer) Source #

class HasMinimum s a | s -> a where Source #

Methods

minimum_ :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasMinimum s (Maybe Scientific) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

minimum_ :: Lens' s (Maybe Scientific) Source #

HasMinimum (ParamSchema t) (Maybe Scientific) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

minimum_ :: Lens' (ParamSchema t) (Maybe Scientific) Source #

class HasMultipleOf s a | s -> a where Source #

Methods

multipleOf :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasMultipleOf s (Maybe Scientific) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

multipleOf :: Lens' s (Maybe Scientific) Source #

HasMultipleOf (ParamSchema t) (Maybe Scientific) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

multipleOf :: Lens' (ParamSchema t) (Maybe Scientific) Source #

class HasPattern s a | s -> a where Source #

Methods

pattern :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasPattern s (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

pattern :: Lens' s (Maybe Text) Source #

HasPattern (ParamSchema t) (Maybe Pattern) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

pattern :: Lens' (ParamSchema t) (Maybe Pattern) Source #

class HasUniqueItems s a | s -> a where Source #

Methods

uniqueItems :: Lens' s a Source #

Instances

Instances details
HasParamSchema s (ParamSchema t) => HasUniqueItems s (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

uniqueItems :: Lens' s (Maybe Bool) Source #

HasUniqueItems (ParamSchema t) (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

uniqueItems :: Lens' (ParamSchema t) (Maybe Bool) Source #

class HasAttribute s a | s -> a where Source #

Methods

attribute :: Lens' s a Source #

Instances

Instances details
HasAttribute Xml (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

attribute :: Lens' Xml (Maybe Bool) Source #

class HasNamespace s a | s -> a where Source #

Methods

namespace :: Lens' s a Source #

Instances

Instances details
HasNamespace Xml (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

namespace :: Lens' Xml (Maybe Text) Source #

class HasPrefix s a | s -> a where Source #

Methods

prefix :: Lens' s a Source #

Instances

Instances details
HasPrefix Xml (Maybe Text) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

prefix :: Lens' Xml (Maybe Text) Source #

class HasWrapped s a | s -> a where Source #

Methods

wrapped :: Lens' s a Source #

Instances

Instances details
HasWrapped Xml (Maybe Bool) Source # 
Instance details

Defined in Data.Swagger.Lens

Methods

wrapped :: Lens' Xml (Maybe Bool) Source #

class HasExamples s a | s -> a where Source #

Methods

examples :: Lens' s a Source #

Instances

Instances details
HasExamples Response (Maybe Example) Source # 
Instance details

Defined in Data.Swagger.Lens

class HasHeaders s a | s -> a where Source #

Methods

headers :: Lens' s a Source #

Instances

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

Defined in Data.Swagger.Lens

Methods

headers :: Lens' Response (InsOrdHashMap HeaderName Header) Source #

Prisms

ParamAnySchema prisms

SecuritySchemeType prisms

Referenced prisms

_Inline :: forall a a. Prism (Referenced a) (Referenced a) a a Source #

_Ref :: forall a. Prism' (Referenced a) Reference Source #

SwaggerItems prisms

_SwaggerItemsPrimitive :: forall t p f. (Profunctor p, Bifunctor p, Functor f) => Optic' p f (SwaggerItems t) (Maybe (CollectionFormat t), ParamSchema t) Source #

Orphan instances

At SecurityDefinitions Source # 
Instance details

At Responses Source # 
Instance details

Methods

at :: Index Responses -> Lens' Responses (Maybe (IxValue Responses))

At Operation Source # 
Instance details

Methods

at :: Index Operation -> Lens' Operation (Maybe (IxValue Operation))

Ixed SecurityDefinitions Source # 
Instance details

Methods

ix :: Index SecurityDefinitions -> Traversal' SecurityDefinitions (IxValue SecurityDefinitions)

Ixed Responses Source # 
Instance details

Methods

ix :: Index Responses -> Traversal' Responses (IxValue Responses)

Ixed Operation Source # 
Instance details

Methods

ix :: Index Operation -> Traversal' Operation (IxValue Operation)