swagger2-2.1.3: Swagger 2.0 data model

MaintainerNickolay Kudasov <nickolay@getshoptv.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.Swagger.Lens

Contents

Description

Lenses and prisms for Swagger.

Synopsis

Classy lenses

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

Minimal complete definition

basePath

Methods

basePath :: Lens' s a Source #

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

Minimal complete definition

definitions

Methods

definitions :: Lens' s a Source #

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

Minimal complete definition

host

Methods

host :: Lens' s a Source #

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

Minimal complete definition

info

Methods

info :: Lens' s a Source #

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

Minimal complete definition

paths

Methods

paths :: Lens' s a Source #

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

Minimal complete definition

schemes

Methods

schemes :: Lens' s a Source #

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

Minimal complete definition

tags

Methods

tags :: Lens' s a Source #

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

Minimal complete definition

port

Methods

port :: Lens' s a Source #

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

Minimal complete definition

contact

Methods

contact :: Lens' s a Source #

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

Minimal complete definition

license

Methods

license :: Lens' s a Source #

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

Minimal complete definition

termsOfService

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

Minimal complete definition

title

Methods

title :: Lens' s a Source #

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

Minimal complete definition

version

Methods

version :: Lens' s a Source #

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

Minimal complete definition

email

Methods

email :: Lens' s a Source #

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

Minimal complete definition

url

Methods

url :: Lens' s a Source #

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

Minimal complete definition

delete

Methods

delete :: Lens' s a Source #

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

Minimal complete definition

get

Methods

get :: Lens' s a Source #

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

Minimal complete definition

head_

Methods

head_ :: Lens' s a Source #

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

Minimal complete definition

options

Methods

options :: Lens' s a Source #

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

Minimal complete definition

patch

Methods

patch :: Lens' s a Source #

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

Minimal complete definition

post

Methods

post :: Lens' s a Source #

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

Minimal complete definition

put

Methods

put :: Lens' s a Source #

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

Minimal complete definition

deprecated

Methods

deprecated :: Lens' s a Source #

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

Minimal complete definition

operationId

Methods

operationId :: Lens' s a Source #

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

Minimal complete definition

summary

Methods

summary :: Lens' s a Source #

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

Minimal complete definition

required

Methods

required :: Lens' s a Source #

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

Minimal complete definition

in_

Methods

in_ :: Lens' s a Source #

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

Minimal complete definition

allOf

Methods

allOf :: Lens' s a Source #

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

Minimal complete definition

discriminator

Methods

discriminator :: Lens' s a Source #

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

Minimal complete definition

example

Methods

example :: Lens' s a Source #

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

Minimal complete definition

maxProperties

Methods

maxProperties :: Lens' s a Source #

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

Minimal complete definition

minProperties

Methods

minProperties :: Lens' s a Source #

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

Minimal complete definition

properties

Methods

properties :: Lens' s a Source #

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

Minimal complete definition

readOnly

Methods

readOnly :: Lens' s a Source #

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

Minimal complete definition

xml

Methods

xml :: Lens' s a Source #

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

Minimal complete definition

enum_

Methods

enum_ :: Lens' s a Source #

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

Minimal complete definition

format

Methods

format :: Lens' s a Source #

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

Minimal complete definition

items

Methods

items :: Lens' s a Source #

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

Minimal complete definition

maxItems

Methods

maxItems :: Lens' s a Source #

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

Minimal complete definition

maxLength

Methods

maxLength :: Lens' s a Source #

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

Minimal complete definition

maximum_

Methods

maximum_ :: Lens' s a Source #

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

Minimal complete definition

minItems

Methods

minItems :: Lens' s a Source #

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

Minimal complete definition

minLength

Methods

minLength :: Lens' s a Source #

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

Minimal complete definition

minimum_

Methods

minimum_ :: Lens' s a Source #

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

Minimal complete definition

pattern

Methods

pattern :: Lens' s a Source #

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

Minimal complete definition

uniqueItems

Methods

uniqueItems :: Lens' s a Source #

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

Minimal complete definition

attribute

Methods

attribute :: Lens' s a Source #

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

Minimal complete definition

namespace

Methods

namespace :: Lens' s a Source #

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

Minimal complete definition

prefix

Methods

prefix :: Lens' s a Source #

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

Minimal complete definition

wrapped

Methods

wrapped :: Lens' s a Source #

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

Minimal complete definition

examples

Methods

examples :: Lens' s a Source #

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

Minimal complete definition

headers

Methods

headers :: Lens' s a Source #

Prisms

ParamAnySchema prisms

SecuritySchemeType prisms

Referenced prisms

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

SwaggerItems prisms

Orphan instances