![;;      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz { | } ~                                                                                                                                                                   ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~  )Nickolay Kudasov <nickolay@getshoptv.com> experimentalSafe4=?@ACqopenapi3 A declare monad parametrized by d+  the output to accumulate (declarations).NThis monad is similar to both state and writer monads. Thus it can be seen as4a restricted append-only version of a state monad orBa writer monad with the extra ability to read all previous output.openapi3Definitions of declare and look! must satisfy the following laws: monoid homomorphism (mempty) mempty == return ()monoid homomorphism (mappend) x >>  y ==  (x <> y) for every x, ydeclare-look x >>  ==  (<> x)  <*  x for every xlook as left identity >> m == m for every mopenapi3 x' is an action that produces the output x.openapi31 is an action that returns all the output so far.openapi3,A declare monad transformer parametrized by:d+  the output to accumulate (declarations);m  the inner monad.fThis monad transformer is similar to both state and writer monad transformers. Thus it can be seen as@a restricted append-only version of a state monad transformer orNa writer monad transformer with the extra ability to read all previous output.openapi31Lift a computation from the simple Declare monad.openapi3-Retrieve a function of all the output so far. openapi3 Evaluate  d m a# computation, ignoring new output d. openapi3Execute DeclateT d m a= computation, ignoring result and only producing new output d. openapi3 Evaluate  d m a2 computation, starting with empty output history. openapi3Run  d a! computation with output history d, producing result a and new output d. openapi3 Evaluate  d a computation, ignoring output d.openapi3Execute Declate d a9 computation, ignoring result and only producing output d.openapi3 Evaluate  d m a2 computation, starting with empty output history.  None &'.>Xwr*openapi3*Generic serialisation for swagger records.Features:omits nulls, empty objects and empty arrays (configurable)possible to add fieldspossible to merge sub-object+openapi3BTODO:* This is only used by ToJSON (ParamSchema SwaggerKindSchema)Also uses default &!openapi3prefix !"#$%&'()*+,-"#*-+,$%& !(')None,.HUV}{4openapi3Infer a 9( for a generic representation of a type.7openapi3 A combined shape for a sum type.8openapi3$A combined shape for a product type.9openapi3Shape of a datatype.:openapi3A simple enumeration.;openapi3(A product or a sum of non-unit products.<openapi38Mixed sum type with both unit and non-unit constructors. 456789<;: 9<;:87654None 8=>?SUVX~A =?>@ABCDEFGHI CDEFGHI@AB=?>None"#&'.124567=>?HMVX ^openapi3A simple object to allow referencing other definitions in the specification. It can be used to reference parameters and responses that are defined at the top level for reuse.aopenapi3CAllows referencing an external resource for extended documentation.copenapi32A short description of the target documentation.  https://spec.commonmark.org/CommonMark syntax* MAY be used for rich text representation.dopenapi3%The URL for the target documentation.eopenapi38Allows adding meta data to a single tag that is used by  Operation!. It is not mandatory to have a Tag per tag used there.gopenapi3The name of the tag.hopenapi3"A short description for the tag.  https://spec.commonmark.org/CommonMark syntax* MAY be used for rich text representation.iopenapi3/Additional external documentation for this tag.jopenapi3 Tag name.kopenapi3Lists the required security schemes to execute this operation. The object can have multiple security schemes declared in it which are all required (that is, there is a logical AND between the schemes).ropenapi3 The type of the security scheme.sopenapi3(A short description for security scheme.{openapi3)Configuration for the OAuth Implicit flow|openapi38Configuration for the OAuth Resource Owner Password flow}openapi33Configuration for the OAuth Client Credentials flow~openapi33Configuration for the OAuth Authorization Code flowopenapi30The URL to be used for obtaining refresh tokens.openapi3The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.openapi3NThe token URL to be used for OAuth2 flow. This SHOULD be in the form of a URL.openapi3VThe authorization URL to be used for OAuth2 flow. This SHOULD be in the form of a URL.openapi35The name of the header or query parameter to be used.openapi3The location of the API key.openapi3The location of the API key.openapi3+Header fields have the same meaning as for  .Style is always treated as '., as it is the only value allowed for headers.openapi3"A short description of the header.openapi3eA map of possible out-of band callbacks related to the parent operation. Each value in the map is a D Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.openapi32Describes a single response from an API Operation.openapi3&A short description of the response.  https://spec.commonmark.org/CommonMark syntax* can be used for rich text representation.openapi3A map containing descriptions of potential response payloads. The key is a media type or media type range and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g.  text/plain overrides text/*.openapi3%Maps a header name to its definition.openapi3A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for  Component Objects.openapi3tA container for the expected responses of an operation. The container maps a HTTP response code to the expected response. It is not expected from the documentation to necessarily cover all possible HTTP response codes, since they may not be known in advance. However, it is expected from the documentation to cover a successful operation response and any known errors.openapi3The documentation of responses other than the ones declared for specific HTTP response codes. It can be used to cover undeclared responses.openapi3Any HTTP status code can be used as the property name (one property per HTTP status code). Describes the expected response for those HTTP status codes.openapi3lReplaces the name of the element/attribute used for the described schema property. When defined within the  (items), it will affect the name of the individual XML elements within the list. When defined alongside type being array (outside the items), it will affect the wrapping element and only if wrapped is true. If wrapped is false, it will be ignored.openapi3KThe URL of the namespace definition. Value SHOULD be in the form of a URL.openapi3#The prefix to be used for the name.openapi3mDeclares whether the property definition translates to an attribute instead of an element. Default value is False.openapi3aMAY be used only for an array definition. Signifies whether the array is wrapped (for example,  <books><book><book ></books>) or unwrapped (<book><book>). Default value is False`. The definition takes effect only when defined alongside type being array (outside the items).openapi3A = with an optional name. This name can be used in references.openapi3OThe name of the property in the payload that will hold the discriminator value.openapi3QAn object to hold mappings between payload values and schema names or references.openapi3Regex pattern for string type.openapi3aDeclares the value of the parameter that the server will use if none is provided, for example a "count"< to control the number of results per page might default to 100 if not supplied by the client in the request. (Note: "default" has no meaning for required parameters.) Unlike JSON Schema this value MUST conform to the defined type for this parameter.openapi3:Parameters that are appended to the URL. For example, in  /items?id=###, the query parameter is id.openapi38Custom headers that are expected as part of the request.openapi3Used together with Path Templating, where the parameter value is actually part of the operation's URL. This does not include the host or base path of the API. For example, in items{itemId}, the path parameter is itemId.openapi30Used to pass a specific cookie value to the API.openapi3 Items for  schemas.Warning|: OpenAPI 3.0 does not support tuple arrays. However, OpenAPI 3.1 will, as it will incorporate Json Schema mostly verbatim., should be used to specify homogenous array s.! should be used to specify tuple s.openapi3 The Link object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.openapi3cA relative or absolute URI reference to an OAS operation. This field is mutually exclusive of the  field, and MUST point to an 6 Object. Relative + values MAY be used to locate an existing 6" Object in the OpenAPI definition.openapi3The name of an existing6, resolvable OAS operation, as defined with a unique <*. This field is mutually exclusive of the  field.openapi3HA map representing parameters to pass to an operation as specified with  or identified via . The key is the parameter name to be used, whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. The parameter name can be qualified using the parameter location  [{in}.]{name}X for operations that use the same parameter name in different locations (e.g. path.id).openapi3A literal value or  {expression}< to use as a request body when calling the target operation.openapi3A description of the link.openapi33A server object to be used by the target operation.openapi3"Short description for the example.openapi3^Long description for the example. CommonMark syntax MAY be used for rich text representation. openapi3Embedded literal example. The   field and   field are mutually exclusive.To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary. openapi3A URL that points to the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The   field and   field are mutually exclusive. openapi3oDescribes a single operation parameter. A unique parameter is defined by a combination of a name and location. openapi3?The name of the parameter. Parameter names are case sensitive.openapi3A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.openapi3Determines whether this parameter is mandatory. If the parameter is in "path", this property is required and its value MUST be true. Otherwise, the property MAY be included and its default value is False.openapi3dSpecifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false.openapi3The location of the parameter.openapi3JSets the ability to pass empty-valued parameters. This is valid only for R parameters and allows sending a parameter with an empty value. Default value is false.openapi3XDetermines whether the parameter value SHOULD allow reserved characters, as defined by  /https://tools.ietf.org/html/rfc3986#section-2.2RFC3986 :/?#[]h!$&'()*+,;=@ to be included without percent-encoding. This property only applies to parameters with an  value of . The default value is .openapi3Parameter schema.openapi3Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of ): for  - &; for  - '; for  - '; for  - &.openapi3,When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is formN, the default value is true. For all other styles, the default value is false.openapi3Example of the parameter's potential value. The example SHOULD match the specified schema and encoding properties if present. The $ field is mutually exclusive of the 0 field. Furthermore, if referencing a schema that contains an example, the example value SHALL override the example provided by the schema. To represent examples of media types that cannot naturally be represented in JSON or YAML, a string value can contain the example with escaping where necessary.openapi3Examples of the parameter's potential value. Each example SHOULD contain a value in the correct format as specified in the parameter encoding. The $ field is mutually exclusive of the  field. Furthermore, if referencing a schema that contains an example, the examples value SHALL override the example provided by the schema.openapi3dThe Content-Type for encoding a specific property. Default value depends on the property type: for string with format being binary  application/octet-stream; for other primitive types   text/plain; for object - application/jsonm; for array  the default is defined based on the inner type. The value can be a specific media type (e.g. application/json ), a wildcard media type (e.g. image/*.), or a comma-separated list of the two types.openapi3NA map allowing additional information to be provided as headers, for example Content-Disposition.  Content-Type is described separately and SHALL be ignored in this section. This property SHALL be ignored if the request body media type is not a  multipart. openapi3WDescribes how a specific property value will be serialized depending on its type. See   Object for details on the style property. The behavior follows the same values as query parameters, including default values. This property SHALL be ignored if the request body media type is not !application/x-www-form-urlencoded.!openapi3+When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When style is form, the default value is true.. For all other styles, the default value is falseH. This property SHALL be ignored if the request body media type is not !application/x-www-form-urlencoded."openapi3XDetermines whether the parameter value SHOULD allow reserved characters, as defined by  /https://tools.ietf.org/html/rfc3986#section-2.2RFC3986 :/?#[] !$&'()*+,;=@ to be included without percent-encoding. The default value is falseH. This property SHALL be ignored if the request body media type is not #application/x-www-form-urlencoded@.#openapi3dIn order to support common ways of serializing simple parameters, a set of style values are defined.$openapi3!Path-style parameters defined by  1https://tools.ietf.org/html/rfc6570#section-3.2.7RFC6570.%openapi3"Label style parameters defined by  1https://tools.ietf.org/html/rfc6570#section-3.2.7RFC6570.&openapi3!Form style parameters defined by  1https://tools.ietf.org/html/rfc6570#section-3.2.7RFC6570. This option replaces collectionFormat with a csv (when explode is false) or multi0 (when explode is true) value from OpenAPI 2.0.'openapi3#Simple style parameters defined by  1https://tools.ietf.org/html/rfc6570#section-3.2.7RFC6570. This option replaces collectionFormat with a csv value from OpenAPI 2.0.(openapi34Space separated array values. This option replaces collectionFormat equal to ssv from OpenAPI 2.0.)openapi33Pipe separated array values. This option replaces collectionFormat equal to pipes from OpenAPI 2.0.*openapi3HProvides a simple way of rendering nested objects using form parameters.+openapi3]Each Media Type Object provides schema and examples for the media type identified by its key..openapi3nExample of the media type. The example object SHOULD be in the correct format as specified by the media type./openapi3mExamples of the media type. Each example object SHOULD match the media type and specified schema if present.0openapi3A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding object SHALL only apply to 1! objects when the media type is  multipart or !application/x-www-form-urlencoded.1openapi3 Describes a single request body.3openapi3NA brief description of the request body. This could contain examples of use.  https://spec.commonmark.org/CommonMark syntax* MAY be used for rich text representation.4openapi3The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g.  text/plain overrides text/*5openapi3HDetermines if the request body is required in the request. Defaults to .6openapi3+Describes a single API operation on a path.8openapi3A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.9openapi3A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.:openapi32A verbose explanation of the operation behavior.  https://spec.commonmark.org/CommonMark syntax* can be used for rich text representation.;openapi35Additional external documentation for this operation.<openapi3<Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is **case-sensitive**. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions.=openapi3gA list of parameters that are applicable for this operation. If a parameter is already defined at the D, the new definition will override it, but can never remove it. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location.>openapi3The request body applicable for this operation. The requestBody is only supported in HTTP methods where the HTTP 1.1 specification  1https://tools.ietf.org/html/rfc7231#section-4.3.1RFC7231 has explicitly defined semantics for request bodies. In other cases where the HTTP spec is vague, requestBody SHALL be ignored by consumers.?openapi3RThe list of possible responses as they are returned from executing this operation.@openapi3qA map of possible out-of band callbacks related to the parent operation. The key is a unique identifier for the % Object. Each value in the map is a g Object that describes a request that may be initiated by the API provider and the expected responses.Aopenapi3rDeclares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is False.Bopenapi3BA declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level security. To remove a top-level security declaration, Just [] can be used.Copenapi3lAn alternative server array to service this operation. If an alternative server object is specified at the D< Object or Root level, it will be overridden by this value.Dopenapi38Describes the operations available on a single path. A D may be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.Fopenapi3NAn optional, string summary, intended to apply to all operations in this path.Gopenapi3TAn optional, string description, intended to apply to all operations in this path.  https://spec.commonmark.org/CommonMark syntax* MAY be used for rich text representation.Hopenapi3-A definition of a GET operation on this path.Iopenapi3-A definition of a PUT operation on this path.Jopenapi3.A definition of a POST operation on this path.Kopenapi30A definition of a DELETE operation on this path.Lopenapi31A definition of a OPTIONS operation on this path.Mopenapi3.A definition of a HEAD operation on this path.Nopenapi3/A definition of a PATCH operation on this path.Oopenapi3/A definition of a TRACE operation on this path.Popenapi3CAn alternative server array to service all operations in this path.Qopenapi3-A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location.Ropenapi3Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object._openapi3~An enumeration of string values to be used if the substitution options are from a limited set. The array SHOULD NOT be empty.`openapi3The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. Note this behavior is different than the 'Schema Object's treatment of default values, because in those cases parameter values are optional. If the _9 is defined, the value SHOULD exist in the enum's values.aopenapi32An optional description for the server variable.  https://spec.commonmark.org/CommonMark syntax* MAY be used for rich text representation.bopenapi3 An object representing a Server.dopenapi3A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in  {brackets}.eopenapi3?An optional string describing the host designated by the URL.  https://spec.commonmark.org/CommonMark syntax* MAY be used for rich text representation.fopenapi3nA map between a variable name and its value. The value is used for substitution in the server's URL template.gopenapi3(License information for the exposed API.iopenapi3"The license name used for the API.jopenapi3&A URL to the license used for the API.kopenapi3(Contact information for the exposed API.mopenapi38The identifying name of the contact person/organization.nopenapi3,The URL pointing to the contact information.oopenapi35The email address of the contact person/organization.popenapi3The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.ropenapi3The title of the API.sopenapi3!A short description of the API.  https://spec.commonmark.org/CommonMark syntax* MAY be used for rich text representation.topenapi3JA URL to the Terms of Service for the API. MUST be in the format of a URL.uopenapi3,The contact information for the exposed API.vopenapi3,The license information for the exposed API.wopenapi3The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API implementation version).xopenapi3;This is the root document object for the API specification.zopenapi3TProvides metadata about the API. The metadata can be used by the clients if needed.{openapi3An array of Server Objects, which provide connectivity information to a target server. If the servers property is not provided, or is an empty array, the default value would be a b object with a url value of /.|openapi3/The available paths and operations for the API.}openapi39An element to hold various schemas for the specification.~openapi3A declaration of which security mechanisms can be used across the API. The list of values includes alternative security requirement objects that can be used. Only one of the security requirement objects need to be satisfied to authorize a request. Individual operations can override this definition. To make security optional, an empty security requirement can be included in the array.openapi3A list of tags used by the specification with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the 6 Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique.openapi3"Additional external documentation.openapi35A list of definitions that can be used in references.openapi3%All strings are parsed as expressionsopenapi3:As for nullary schema for 0-arity type constructors, see  0https://github.com/GetShopTV/swagger2/issues/167.encode (OpenApiItemsArray [])."{\"example\":[],\"items\":{},\"maxItems\":0}"3UWVXYZ[\]^_`abdcefihgjklmnopqsrtxwvuyz~}|{     "! #*)('&%$+,0/.-1254367CBA@?>=<;:98DEQPONMLKJIHGFRS\[ZYXWVUT]^a`_bcfedghjiklonmpqwvutsrxy~}|{ztu3xy~}|{zpqwvutsrklonmghjibcfed]^a`_RS\[ZYXWVUTDEQPONMLKJIHGF67CBA@?>=<;:9812543+,0/.-#*)('&%$"!      yz~}|{txwvupqsrnoklmjefihgabdc^_`[\]XYZUWVtu)Nickolay Kudasov <nickolay@getshoptv.com> experimentalNone&'.=>?@ACHSVXG6789:;<=>?@ABCKLMNOPQRSTUVWXYZ[\fghijkopqrvwxyz{      !"#IJKLMNOP^_abghijklmnuv|}~BC@A>?<=:;8967[\YZWXUVSTQROPMNKLjkhifgqropz{xyvw"# !     OPMNKLIJ^_abmnklijghuv~|}%Andrzej Rybczak <andrzej@rybczak.net> experimentalNone .=?@AHVe)Nickolay Kudasov <nickolay@getshoptv.com> experimentalNone"# popenapi3?Options that specify how to encode your type to Swagger schema.ropenapi3XFunction applied to field labels. Handy for removing common record prefixes for example.sopenapi3\Function applied to constructor tags which could be handy for lower-casing them for example.topenapi3"Function applied to datatype name.uopenapi3If  the constructors of a datatype, with all nullary constructors, will be encoded to a string enumeration schema with the constructor tags as possible values.vopenapi3QHide the field name when a record constructor has only one field, like a newtype.wopenapi37Specifies how to encode constructors of a sum datatype.xopenapi3Default encoding p. p { r = id , s = id , t = id , u = True , v = False , w =  } yopenapi3Convert  to p.-Specifically the following fields get copied:rsuv)Note that these fields have no effect on p:The rest is defined as in x. pqtvwusrxy pqtvwusrxy None-.8=>?HUVWX+ openapi3Convert a type into a plain .EIn previous versions of the package there was a separate type called  ParamSchema#, which was included in a greater e. Now this is a single class, but distinction for schema generators for "simple" types is preserved.H is suited only for primitive-like types without nested fields and such.An example type and instance: 8{-# LANGUAGE OverloadedStrings #-} -- allows to write  literals import Control.Lens data Direction = Up | Down instance ToParamSchema Direction where toParamSchema _ = mempty & type_ ?~ OpenApiString & enum_ ?~ [ "Up", "Down" ] !Instead of manually writing your ; instance you can use a default generic implementation of .To do that, simply add  deriving ( clause to your datatype and declare a ; instance for your datatype without giving definition for .?For instance, the previous example can be simplified into this: {-# LANGUAGE DeriveGeneric #-} import GHC.Generics (Generic) data Direction = Up | Down deriving Generic instance ToParamSchema Direction openapi3-Convert a type into a plain parameter schema./encode $ toParamSchema (Proxy :: Proxy Integer)"{\"type\":\"integer\"}"openapi38Default schema for binary data (any sequence of octets).openapi30Default schema for binary data (base64 encoded).openapi3%Default schema for password string.  "password"; format is used to hint UIs the input needs to be obscured.openapi3Default plain schema for ,  types.;encode $ toParamSchemaBoundedIntegral (Proxy :: Proxy Int8)9"{\"maximum\":127,\"minimum\":-128,\"type\":\"integer\"}"openapi3A configurable generic  creator.:set -XDeriveGeneric(data Color = Red | Blue deriving GenericIencode $ genericToParamSchema defaultSchemaOptions (Proxy :: Proxy Color)3"{\"type\":\"string\",\"enum\":[\"Red\",\"Blue\"]}"openapi3*encode $ toParamSchema (Proxy :: Proxy ())("{\"type\":\"string\",\"enum\":[\"_\"]}"openapi30toParamSchema (Proxy :: Proxy UTCTime) ^. formatJust "yyyy-mm-ddThh:MM:ssZ"openapi32toParamSchema (Proxy :: Proxy ZonedTime) ^. formatJust "yyyy-mm-ddThh:MM:ss+hhMM"openapi32toParamSchema (Proxy :: Proxy LocalTime) ^. formatJust "yyyy-mm-ddThh:MM:ss"openapi32toParamSchema (Proxy :: Proxy TimeOfDay) ^. formatJust "hh:MM:ss"openapi3Format "date" corresponds to  yyyy-mm-dd format.z{|}~~|}z{)Nickolay Kudasov <nickolay@getshoptv.com> experimentalNone-~pqrsuwvtxpqrsuwvtx None ,-.8=>?HPUVWX0$openapi3Convert a type into .An example type and instance: 8{-# LANGUAGE OverloadedStrings #-} -- allows to write B literals {-# LANGUAGE OverloadedLists #-} -- allows to write  and  as lists import Control.Lens import Data.Proxy import Data.OpenApi data Coord = Coord { x :: Double, y :: Double } instance ToSchema Coord where declareNamedSchema _ = do doubleSchema <- declareSchemaRef (Proxy :: Proxy Double) return $ NamedSchema (Just "Coord") $ mempty & type_ ?~ OpenApiObject & properties .~ [ ("x", doubleSchema) , ("y", doubleSchema) ] & required .~ [ "x", "y" ] !Instead of manually writing your ; instance you can use a default generic implementation of .To do that, simply add  deriving ( clause to your datatype and declare a ; instance for your datatype without giving definition for .?For instance, the previous example can be simplified into this: {-# LANGUAGE DeriveGeneric #-} import GHC.Generics (Generic) data Coord = Coord { x :: Double, y :: Double } deriving Generic instance ToSchema Coord openapi3Convert a type into an optionally named schema together with all used definitions. Note that the schema itself is included in definitions only if it is recursive (and thus needs its definition in scope).openapi3EConvert a type into a schema and declare all used schema definitions.openapi3/Convert a type into an optionally named schema.-toNamedSchema (Proxy :: Proxy String) ^. nameNothingGBSL.putStrLn $ encode (toNamedSchema (Proxy :: Proxy String) ^. schema){"type":"string"}*toNamedSchema (Proxy :: Proxy Day) ^. name Just "Day"DBSL.putStrLn $ encode (toNamedSchema (Proxy :: Proxy Day) ^. schema)8{"example":"2016-07-22","format":"date","type":"string"}openapi3(Get type's schema name according to its  instance.schemaName (Proxy :: Proxy Int)Nothing#schemaName (Proxy :: Proxy UTCTime)Just "UTCTime"openapi3Convert a type into a schema.6BSL.putStrLn $ encode $ toSchema (Proxy :: Proxy Int8)/{"maximum":127,"minimum":-128,"type":"integer"}7BSL.putStrLn $ encode $ toSchema (Proxy :: Proxy [Day])<{"items":{"$ref":"#/components/schemas/Day"},"type":"array"}openapi3yConvert a type into a referenced schema if possible. Only named schemas can be referenced, nameless schemas are inlined.<BSL.putStrLn $ encode $ toSchemaRef (Proxy :: Proxy Integer){"type":"integer"}8BSL.putStrLn $ encode $ toSchemaRef (Proxy :: Proxy Day)#{"$ref":"#/components/schemas/Day"}openapi3Convert a type into a referenced schema if possible and declare all used schema definitions. Only named schemas can be referenced, nameless schemas are inlined.KSchema definitions are typically declared for every referenced schema. If m returns a reference, a corresponding schema will be declared (regardless of whether it is recusive or not).openapi3CInline any referenced schema if its name satisfies given predicate.NOTE:j if a referenced schema is not found in definitions the predicate is ignored and schema stays referenced.WARNING: @ will produce infinite schemas when inlining recursive schemas.openapi3>Inline any referenced schema if its name is in the given list.NOTE:q if a referenced schema is not found in definitions it stays referenced even if it appears in the list of names.WARNING: @ will produce infinite schemas when inlining recursive schemas.openapi3GInline all schema references for which the definition can be found in .WARNING: @ will produce infinite schemas when inlining recursive schemas.openapi30Convert a type into a schema without references.>BSL.putStrLn $ encode $ toInlinedSchema (Proxy :: Proxy [Day])Q{"items":{"example":"2016-07-22","format":"date","type":"string"},"type":"array"}WARNING: ? will produce infinite schema when inlining recursive schemas.openapi3 Inline all  non-recursive3 schemas for which the definition can be found in .openapi3"Make an unrestrictive sketch of a  based on a ? instance. Produced schema can be used for further refinement.,BSL.putStrLn $ encode $ sketchSchema "hello"#{"example":"hello","type":"string"}.BSL.putStrLn $ encode $ sketchSchema (1, 2, 3)<{"example":[1,2,3],"items":{"type":"number"},"type":"array"}1BSL.putStrLn $ encode $ sketchSchema ("Jack", 25)T{"example":["Jack",25],"items":[{"type":"string"},{"type":"number"}],"type":"array"}Fdata Person = Person { name :: String, age :: Int } deriving (Generic)instance ToJSON Person7BSL.putStrLn $ encode $ sketchSchema (Person "Jack" 25){"example":{"age":25,"name":"Jack"},"required":["age","name"],"type":"object","properties":{"age":{"type":"number"},"name":{"type":"string"}}}openapi3Make a restrictive sketch of a  based on a A instance. Produced schema uses as much constraints as possible.2BSL.putStrLn $ encode $ sketchStrictSchema "hello"P{"maxLength":5,"pattern":"hello","minLength":5,"type":"string","enum":["hello"]}4BSL.putStrLn $ encode $ sketchStrictSchema (1, 2, 3)${"minItems":3,"uniqueItems":true,"items":[{"maximum":1,"minimum":1,"multipleOf":1,"type":"number","enum":[1]},{"maximum":2,"minimum":2,"multipleOf":2,"type":"number","enum":[2]},{"maximum":3,"minimum":3,"multipleOf":3,"type":"number","enum":[3]}],"maxItems":3,"type":"array","enum":[[1,2,3]]}7BSL.putStrLn $ encode $ sketchStrictSchema ("Jack", 25){"minItems":2,"uniqueItems":true,"items":[{"maxLength":4,"pattern":"Jack","minLength":4,"type":"string","enum":["Jack"]},{"maximum":25,"minimum":25,"multipleOf":25,"type":"number","enum":[25]}],"maxItems":2,"type":"array","enum":[["Jack",25]]}Fdata Person = Person { name :: String, age :: Int } deriving (Generic)instance ToJSON Person=BSL.putStrLn $ encode $ sketchStrictSchema (Person "Jack" 25)${"minProperties":2,"required":["age","name"],"maxProperties":2,"type":"object","enum":[{"age":25,"name":"Jack"}],"properties":{"age":{"maximum":25,"minimum":25,"multipleOf":25,"type":"number","enum":[25]},"name":{"maxLength":4,"pattern":"Jack","minLength":4,"type":"string","enum":["Jack"]}}}openapi3Default schema for ,  types.FBSL.putStrLn $ encode $ toSchemaBoundedIntegral (Proxy :: Proxy Int16)3{"maximum":32767,"minimum":-32768,"type":"integer"}openapi3!Default generic named schema for ,  types.openapi3Declare a named schema for a newtype wrapper.openapi3Declare  for a mapping with  [ keys. This makes a much more useful schema when there aren't many options for key values.fdata ButtonState = Neutral | Focus | Active | Hover | Disabled deriving (Show, Bounded, Enum, Generic)instance ToJSON ButtonStateinstance ToSchema ButtonStateNinstance ToJSONKey ButtonState where toJSONKey = toJSONKeyText (T.pack . show)type ImageUrl = T.TextaBSL.putStrLn $ encode $ toSchemaBoundedEnumKeyMapping (Proxy :: Proxy (Map ButtonState ImageUrl)){"type":"object","properties":{"Focus":{"type":"string"},"Disabled":{"type":"string"},"Active":{"type":"string"},"Neutral":{"type":"string"},"Hover":{"type":"string"}}}Note: this is only useful when key is encoded with . If it is encoded with  then a regular schema for [(key, value)] is used.openapi3A  for a mapping with  [ keys. This makes a much more useful schema when there aren't many options for key values.fdata ButtonState = Neutral | Focus | Active | Hover | Disabled deriving (Show, Bounded, Enum, Generic)instance ToJSON ButtonStateinstance ToSchema ButtonStateNinstance ToJSONKey ButtonState where toJSONKey = toJSONKeyText (T.pack . show)type ImageUrl = T.TextaBSL.putStrLn $ encode $ toSchemaBoundedEnumKeyMapping (Proxy :: Proxy (Map ButtonState ImageUrl)){"type":"object","properties":{"Focus":{"type":"string"},"Disabled":{"type":"string"},"Active":{"type":"string"},"Neutral":{"type":"string"},"Hover":{"type":"string"}}}Note: this is only useful when key is encoded with . If it is encoded with  then a regular schema for [(key, value)] is used.openapi3A configurable generic  creator.openapi3A configurable generic $ creator. This function applied to x is used as the default for " when the type is an instance of .openapi3 Derive a 4-based name for a datatype and assign it to a given .openapi3 Construct  usinng .openapi3 Construct  usinng .openapi3FConvert one component of the sum to schema, to be later combined with oneOf.openapi3Single field constructor.openapi3 openapi3>NOTE: This schema does not account for the uniqueness of keys.openapi3+toSchema (Proxy :: Proxy UTCTime) ^. formatJust "yyyy-mm-ddThh:MM:ssZ"openapi3Format "date" corresponds to yyyy-mm-ddThh:MM:ss(Z|+hh:MM) format.openapi3-toSchema (Proxy :: Proxy LocalTime) ^. formatJust "yyyy-mm-ddThh:MM:ss"openapi3Format "date" corresponds to  yyyy-mm-dd format.openapi3For  instance, see  -http://hackage.haskell.org/package/uuid-aeson uuid-aeson package.<openapi3Record fields.=openapi3Optional record fields.openapi3How to derive the name.openapi3,How to create a schema for the wrapped type.33)Nickolay Kudasov <nickolay@getshoptv.com> experimentalNone"pqrsuwvtxy"pqrsuwvtxy )Nickolay Kudasov <nickolay@getshoptv.com> experimentalNoneSX >openapi3pPrepend path piece to all operations of the spec. Leading and trailing slashes are trimmed/added automatically.<let api = (mempty :: OpenApi) & paths .~ [("/info", mempty)]ABSL.putStrLn $ encode $ prependPath "user/{user_id}" api ^. paths{"/user/{user_id}/info":{}}?openapi3!All operations of a Swagger spec.@openapi3@ sub: will traverse only those operations that are present in sub . Note that 6( is determined by both path and method./let ok = (mempty :: Operation) & at 200 ?~ "OK"Ulet api = (mempty :: OpenApi) & paths .~ [("/user", mempty & get ?~ ok & post ?~ ok)]Llet sub = (mempty :: OpenApi) & paths .~ [("/user", mempty & get ?~ mempty)]BSL.putStrLn $ encode api{"openapi":"3.0.0","info":{"version":"","title":""},"paths":{"/user":{"get":{"responses":{"200":{"description":"OK"}}},"post":{"responses":{"200":{"description":"OK"}}}}},"components":{}}FBSL.putStrLn $ encode $ api & operationsOf sub . at 404 ?~ "Not found"{"openapi":"3.0.0","info":{"version":"","title":""},"paths":{"/user":{"get":{"responses":{"404":{"description":"Not found"},"200":{"description":"OK"}}},"post":{"responses":{"200":{"description":"OK"}}}}},"components":{}}Aopenapi3@Apply tags to all operations and update the global list of tags. A = B ? Bopenapi3IApply tags to a part of Swagger spec and update the global list of tags.Copenapi3Construct a response with 3 while declaring all necessary schema definitions. FIXME doccBSL.putStrLn $ encode $ runDeclare (declareResponse "application/json" (Proxy :: Proxy Day)) mempty[{"Day":{"example":"2016-07-22","format":"date","type":"string"}},{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Day"}}}}]Dopenapi3RSet response for all operations. This will also update global schema definitions.6If the response already exists it will be overwritten. D = F ? Example:Llet api = (mempty :: OpenApi) & paths .~ [("/user", mempty & get ?~ mempty)]Alet res = declareResponse "application/json" (Proxy :: Proxy Day)1BSL.putStrLn $ encode $ api & setResponse 200 res{"openapi":"3.0.0","info":{"version":"","title":""},"paths":{"/user":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Day"}}},"description":""}}}}},"components":{"schemas":{"Day":{"example":"2016-07-22","format":"date","type":"string"}}}} See also E.Eopenapi3\Set or update response for all operations. This will also update global schema definitions.FIf the response already exists, but it can't be dereferenced (invalid $ref'), then just the new response is used. E = G ?  See also D.Fopenapi3XSet response for specified operations. This will also update global schema definitions.6If the response already exists it will be overwritten. See also G.Gopenapi3bSet or update response for specified operations. This will also update global schema definitions.FIf the response already exists, but it can't be dereferenced (invalid $ref'), then just the new response is used. See also F. >?@ABCDEFG ?@ABDEFG>C (c) 2015 GetShopTVBSD3)Nickolay Kudasov <nickolay@getshoptv.com> experimentalNone%&'.4=?@ACMSWX_(}Hopenapi3Value validation.Kopenapi3Validation configuration.Mopenapi3Pattern checker for  validation.Nopenapi32Schema definitions in scope to resolve references.Oopenapi3Validation result type.Popenapi30Validation failed with a list of error messages.Qopenapi3Validation passed.Ropenapi3Validation error message.Sopenapi3 Validate  instance matches ] for a given value. This can be used with QuickCheck to ensure those instances are coherent:validateToJSON (x :: Int) == []NOTE: T2 does not perform string pattern validation. See U.See V! on how the output is structured.Topenapi3 Variant of S with typed output.Uopenapi3 Validate  instance matches q for a given value and pattern checker. This can be used with QuickCheck to ensure those instances are coherent.$For validation without patterns see T. See also: V.Vopenapi3UPretty print validation errors together with actual JSON and Swagger Schema (using ). import Data.Aeson as Aeson import Data.Foldable (traverse_)import GHC.Generics9data Phone = Phone { value :: String } deriving (Generic)Jdata Person = Person { name :: String, phone :: Phone } deriving (Generic)Iinstance ToJSON Person where toJSON p = object [ "name" Aeson..= name p ]instance ToSchema Phoneinstance ToSchema Person=let person = Person { name = "John", phone = Phone "123456" }Atraverse_ putStrLn $ renderValidationErrors validateToJSON person($Validation against the schema fails:H * property "phone" is required, but not found in "{\"name\":\"John\"}" JSON value:{ "name": "John"}Swagger Schema:{ "required": [ "name", "phone" ], "type": "object", "properties": { "phone": {0 "$ref": "#/components/schemas/Phone" }, "name": { "type": "string" } }}Swagger Description Context:{ "Phone": { "required": [ "value" ], "type": "object", "properties": { "value": { "type": "string" } } }}Wopenapi3Validate JSON  against Swagger .MvalidateJSON mempty (toSchema (Proxy :: Proxy Int)) (toJSON (x :: Int)) == []NOTE: W2 does not perform string pattern validation. See X.Xopenapi3Validate JSON  agains Swagger ' for a given value and pattern checker.$For validation without patterns see W.Yopenapi3Default K: defaultConfig = K { M = \_pattern _str -> True , N = mempty } \openapi3Issue an error message.]openapi3Validation passed.^openapi3QValidate schema's property given a lens into that property and property checker._openapi3Validate schema's property given a lens into that property and property checker. If property is missing in schema, consider it valid.`openapi3*Validate same value with different schema.aopenapi37Validate same value with a part of the original schema.bopenapi3OValidate value against a schema given schema reference and validation function.dopenapi3Validate JSON  with Swagger .kopenapi3+Infer schema type based on used properties. This is like l, but also works for objects:4inferSchemaTypes <$> decode "{\"minProperties\": 1}"Just [OpenApiObject]lopenapi3+Infer schema type based on used properties.0inferSchemaTypes <$> decode "{\"minLength\": 2}"Just [OpenApiString]/inferSchemaTypes <$> decode "{\"maxItems\": 0}"Just [OpenApiArray]From numeric properties  type is inferred. If you want ) instead, you must specify it explicitly..inferSchemaTypes <$> decode "{\"minimum\": 1}"Just [OpenApiInteger](HIJKLNMOQPRSTUVWXYZ[\]^_`abcdefghijklmno(STUVWXROQPKLNMYHIJZ[\]^_`abcdefghijklmno)Nickolay Kudasov <nickolay@getshoptv.com> experimentalNone*RSTUVWXRSTUVWX)Nickolay Kudasov <nickolay@getshoptv.com> experimentalNone, (UVWXYZ[]\^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~6789:;<=>?@ABCKLMNOPQRSTUVWXYZ[\fghijkopqrvwxyz{      !"#IJKLMNOP^_abghijklmnuv|}~pqrsuwvtxy>?@ABCDEFGRSTUVWX*xyz{|}~bcdef]^_`aRSTUVWXYZ[\pqrstuvwklmnoghijDEFGHIJKLMNOPQ6789:;<=>?@ABCefghij#$%&'()*     12345+,-./0 !"UVWpqrstuvwxnoklmyz{|}~abcd^_`[]\XYZ None &'X;|openapi3Note: | may ;, if schema type is not specified, and cannot be inferred.|}~|}~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghiijklmnnoppqrsstuvwxxyzz{{|}~      !!"#$%&&'()**+,-./01234567789:;<=>?@ABCDDEFGHIJKLMNNOPQRRSTUVVWXYYZ[\]]^_`abcddefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~`      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVVWXYZ[\]^ _ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~                                      _ _                                                                                                                               ! " # $ % & ' ( ) ) * + + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^_`abcdbcefghfgifgjfgklmnlop_qr_stuvwxyz_{|f}~_qf}f}_'openapi3-3.0.0.1-IN0mlbjcDEG30TEwpuPlJbData.OpenApi.Declare Data.OpenApi.Internal.AesonUtilsData.OpenApi.Internal.TypeShapeData.OpenApi.Internal.UtilsData.OpenApi.InternalData.OpenApi.LensData.OpenApi.OpticsData.OpenApi.SchemaOptions!Data.OpenApi.Internal.ParamSchemaData.OpenApi.Internal.SchemaData.OpenApi.Operation'Data.OpenApi.Internal.Schema.ValidationData.OpenApi.Schema.GeneratorData.OpenApi.ParamSchemaData.OpenApi.SchemaData.OpenApi.Schema.Validation Data.OpenApiDeclare MonadDeclaredeclarelookDeclareT runDeclareT liftDeclarelooks evalDeclareT execDeclareT undeclareT runDeclare evalDeclare execDeclare undeclare$fMonadTransDeclareT$fMonadDeclareT$fApplicativeDeclareT$fMonadDeclaredWriterT$fMonadDeclaredWriterT0$fMonadDeclaredStateT$fMonadDeclaredStateT0$fMonadDeclaredRWST$fMonadDeclaredRWST0$fMonadDeclaredReaderT$fMonadDeclaredMaybeT$fMonadDeclaredIdentityT$fMonadDeclaredExceptT$fMonadDeclaredContT$fMonadDeclaredDeclareT$fFunctorDeclareTSwaggerAesonOptionsmkSwaggerAesonOptionsAesonDefaultValue defaultValueHasSwaggerAesonOptionsswaggerAesonOptions aesonDefaultssaoAdditionalPairs saoPrefix saoSubObjectsopSwaggerGenericToJSONsopSwaggerGenericToJSONWithOptssopSwaggerGenericParseJSONsopSwaggerGenericToEncoding $fAesonDefaultValueInsOrdHashMap $fAesonDefaultValueInsOrdHashSet$fAesonDefaultValueSet$fAesonDefaultValue[]$fAesonDefaultValueMaybe$fAesonDefaultValueText GenericShapeGenericHasSimpleShapeTypeHasSimpleShape SumCombine ProdCombine TypeShape Enumeration SumOfProductsMixed SwaggerMonoid swaggerMemptyswaggerMappendGMonoidgmemptygmappendswaggerFieldRules gunfoldEnum jsonPrefix parseOneOf<+> genericMemptygenericMappend $fGMonoidM1 $fGMonoid:*: $fGMonoidU1$fSwaggerMonoidMaybe$fSwaggerMonoidText$fSwaggerMonoidInsOrdHashMap$fSwaggerMonoidHashMap$fSwaggerMonoidMap$fSwaggerMonoidSet$fSwaggerMonoid[] $fGMonoidK1AdditionalPropertiesAdditionalPropertiesAllowedAdditionalPropertiesSchemaURLgetUrl ReferencedRefInline Reference getReference ExternalDocs_externalDocsDescription_externalDocsUrlTag_tagName_tagDescription_tagExternalDocsTagNameSecurityRequirementgetSecurityRequirementSecurityDefinitionsSecurityScheme_securitySchemeType_securitySchemeDescriptionSecuritySchemeTypeSecuritySchemeHttpSecuritySchemeApiKeySecuritySchemeOAuth2SecuritySchemeOpenIdConnect OAuth2Flows_oAuth2FlowsImplicit_oAuth2FlowsPassword_oAuth2FlowsClientCredentials_oAuth2FlowsAuthorizationCode OAuth2Flow _oAuth2Params_oAath2RefreshUrl _oAuth2ScopesOAuth2AuthorizationCodeFlow,_oAuth2AuthorizationCodeFlowAuthorizationUrl$_oAuth2AuthorizationCodeFlowTokenUrlOAuth2ClientCredentialsFlow$_oAuth2ClientCredentialsFlowTokenUrlOAuth2PasswordFlow_oAuth2PasswordFlowTokenUrlOAuth2ImplicitFlow#_oAuth2ImplicitFlowAuthorizationUrlTokenURLAuthorizationURL ApiKeyParams _apiKeyName _apiKeyInApiKeyLocation ApiKeyQuery ApiKeyHeader ApiKeyCookieHeader_headerDescription_headerRequired_headerDeprecated_headerAllowEmptyValue_headerExplode_headerExample_headerExamples _headerSchema HeaderNameCallbackResponse_responseDescription_responseContent_responseHeaders_responseLinksHttpStatusCode Responses_responsesDefault_responsesResponsesXml_xmlName _xmlNamespace _xmlPrefix _xmlAttribute _xmlWrapped NamedSchema_namedSchemaName_namedSchemaSchema Discriminator_discriminatorPropertyName_discriminatorMappingPatternSchema _schemaTitle_schemaDescription_schemaRequired_schemaNullable _schemaAllOf _schemaOneOf _schemaNot _schemaAnyOf_schemaProperties_schemaAdditionalProperties_schemaDiscriminator_schemaReadOnly_schemaWriteOnly _schemaXml_schemaExternalDocs_schemaExample_schemaDeprecated_schemaMaxProperties_schemaMinProperties_schemaDefault _schemaType _schemaFormat _schemaItems_schemaMaximum_schemaExclusiveMaximum_schemaMinimum_schemaExclusiveMinimum_schemaMaxLength_schemaMinLength_schemaPattern_schemaMaxItems_schemaMinItems_schemaUniqueItems _schemaEnum_schemaMultipleOf ParamNameFormat ParamLocation ParamQuery ParamHeader ParamPath ParamCookie OpenApiType OpenApiString OpenApiNumberOpenApiIntegerOpenApiBoolean OpenApiArray OpenApiNull OpenApiObject OpenApiItemsOpenApiItemsObjectOpenApiItemsArrayLink_linkOperationRef_linkOperationId_linkParameters_linkRequestBody_linkDescription _linkServerExpressionOrValue ExpressionValueExample_exampleSummary_exampleDescription _exampleValue_exampleExternalValueParam _paramName_paramDescription_paramRequired_paramDeprecated_paramIn_paramAllowEmptyValue_paramAllowReserved _paramSchema _paramStyle _paramExplode _paramExample_paramExamplesMimeList getMimeListEncoding_encodingContentType_encodingHeaders_encodingStyle_encodingExplode_encodingAllowReservedStyle StyleMatrix StyleLabel StyleForm StyleSimpleStyleSpaceDelimitedStylePipeDelimitedStyleDeepObjectMediaTypeObject_mediaTypeObjectSchema_mediaTypeObjectExample_mediaTypeObjectExamples_mediaTypeObjectEncoding RequestBody_requestBodyDescription_requestBodyContent_requestBodyRequired Operation_operationTags_operationSummary_operationDescription_operationExternalDocs_operationOperationId_operationParameters_operationRequestBody_operationResponses_operationCallbacks_operationDeprecated_operationSecurity_operationServersPathItem_pathItemSummary_pathItemDescription _pathItemGet _pathItemPut _pathItemPost_pathItemDelete_pathItemOptions _pathItemHead_pathItemPatch_pathItemTrace_pathItemServers_pathItemParameters Components_componentsSchemas_componentsResponses_componentsParameters_componentsExamples_componentsRequestBodies_componentsHeaders_componentsSecuritySchemes_componentsLinks_componentsCallbacksServerVariable_serverVariableEnum_serverVariableDefault_serverVariableDescriptionServer _serverUrl_serverDescription_serverVariablesLicense _licenseName _licenseUrlContact _contactName _contactUrl _contactEmailInfo _infoTitle_infoDescription_infoTermsOfService _infoContact _infoLicense _infoVersionOpenApi _openApiInfo_openApiServers _openApiPaths_openApiComponents_openApiSecurity _openApiTags_openApiExternalDocs DefinitionsmediaTypeConstr mediaTypeDatamimeListConstrmimeListDataType$fHashableMediaType$fDataMediaType$fIsStringServer$fDataMimeList$fIsStringReferenced$fHashableExternalDocs $fIsStringTag $fHashableTag$fIsStringLicense$fIsStringResponse$fEqServerVariable$fShowServerVariable$fGenericServerVariable$fDataServerVariable $fEqServer $fShowServer$fGenericServer $fDataServer $fEqStyle $fShowStyle$fGenericStyle $fDataStyle $fEqMimeList$fShowMimeList$fSemigroupMimeList$fMonoidMimeList$fEqExpressionOrValue$fShowExpressionOrValue$fGenericExpressionOrValue$fDataExpressionOrValue$fEqLink $fShowLink $fGenericLink $fDataLink$fEqOpenApiType$fShowOpenApiType$fGenericOpenApiType$fDataOpenApiType$fEqParamLocation$fShowParamLocation$fGenericParamLocation$fDataParamLocation$fEqDiscriminator$fShowDiscriminator$fGenericDiscriminator$fDataDiscriminator$fEqXml $fShowXml $fGenericXml $fDataXml$fEqApiKeyLocation$fShowApiKeyLocation$fGenericApiKeyLocation$fDataApiKeyLocation$fEqApiKeyParams$fShowApiKeyParams$fGenericApiKeyParams$fDataApiKeyParams$fEqOAuth2ImplicitFlow$fShowOAuth2ImplicitFlow$fGenericOAuth2ImplicitFlow$fDataOAuth2ImplicitFlow$fEqOAuth2PasswordFlow$fShowOAuth2PasswordFlow$fGenericOAuth2PasswordFlow$fDataOAuth2PasswordFlow$fEqOAuth2ClientCredentialsFlow!$fShowOAuth2ClientCredentialsFlow$$fGenericOAuth2ClientCredentialsFlow!$fDataOAuth2ClientCredentialsFlow$fEqOAuth2AuthorizationCodeFlow!$fShowOAuth2AuthorizationCodeFlow$$fGenericOAuth2AuthorizationCodeFlow!$fDataOAuth2AuthorizationCodeFlow$fEqSecurityRequirement$fReadSecurityRequirement$fShowSecurityRequirement$fSemigroupSecurityRequirement$fMonoidSecurityRequirement$fToJSONSecurityRequirement$fFromJSONSecurityRequirement$fDataSecurityRequirement $fEqReference$fShowReference$fDataReference$fEqReferenced$fShowReferenced$fFunctorReferenced$fDataReferenced$fEqURL$fOrdURL $fShowURL $fHashableURL $fToJSONURL $fFromJSONURL $fDataURL$fEqExternalDocs$fOrdExternalDocs$fShowExternalDocs$fGenericExternalDocs$fDataExternalDocs$fEqTag$fOrdTag $fShowTag $fGenericTag $fDataTag$fEqOAuth2Flow$fShowOAuth2Flow$fGenericOAuth2Flow$fDataOAuth2Flow$fEqOAuth2Flows$fShowOAuth2Flows$fGenericOAuth2Flows$fDataOAuth2Flows$fEqSecuritySchemeType$fShowSecuritySchemeType$fGenericSecuritySchemeType$fDataSecuritySchemeType$fEqSecurityScheme$fShowSecurityScheme$fGenericSecurityScheme$fDataSecurityScheme$fEqSecurityDefinitions$fShowSecurityDefinitions$fGenericSecurityDefinitions$fDataSecurityDefinitions $fEqExample $fShowExample$fGenericExample $fDataExample $fEqLicense $fShowLicense$fGenericLicense $fDataLicense $fEqContact $fShowContact$fGenericContact $fDataContact$fEqInfo $fShowInfo $fGenericInfo $fDataInfo$fEqAdditionalProperties$fShowAdditionalProperties$fDataAdditionalProperties $fEqSchema $fShowSchema$fGenericSchema $fDataSchema$fEqOpenApiItems$fShowOpenApiItems$fDataOpenApiItems $fEqHeader $fShowHeader$fGenericHeader $fDataHeader $fEqEncoding$fShowEncoding$fGenericEncoding$fDataEncoding$fEqNamedSchema$fShowNamedSchema$fGenericNamedSchema$fDataNamedSchema $fEqParam $fShowParam$fGenericParam $fDataParam$fEqMediaTypeObject$fShowMediaTypeObject$fGenericMediaTypeObject$fDataMediaTypeObject $fEqResponse$fShowResponse$fGenericResponse$fDataResponse $fEqResponses$fShowResponses$fGenericResponses$fDataResponses$fEqRequestBody$fShowRequestBody$fGenericRequestBody$fDataRequestBody $fEqOperation$fShowOperation$fGenericOperation$fDataOperation $fEqCallback$fShowCallback$fGenericCallback$fDataCallback $fEqPathItem$fShowPathItem$fGenericPathItem$fDataPathItem$fEqComponents$fShowComponents$fGenericComponents$fDataComponents $fEqOpenApi $fShowOpenApi$fGenericOpenApi $fDataOpenApi$fHasDatatypeInfoServer$fGenericServer0$fHasDatatypeInfoComponents$fGenericComponents0$fHasDatatypeInfoHeader$fGenericHeader0$fHasDatatypeInfoOAuth2Flow$fGenericOAuth2Flow0$fHasDatatypeInfoOAuth2Flows$fGenericOAuth2Flows0$fHasDatatypeInfoOperation$fGenericOperation0$fHasDatatypeInfoParam$fGenericParam0$fHasDatatypeInfoPathItem$fGenericPathItem0$fHasDatatypeInfoResponse$fGenericResponse0$fHasDatatypeInfoRequestBody$fGenericRequestBody0 $fHasDatatypeInfoMediaTypeObject$fGenericMediaTypeObject0$fHasDatatypeInfoResponses$fGenericResponses0$fHasDatatypeInfoSecurityScheme$fGenericSecurityScheme0$fHasDatatypeInfoSchema$fGenericSchema0$fHasDatatypeInfoOpenApi$fGenericOpenApi0$fHasDatatypeInfoExample$fGenericExample0$fHasDatatypeInfoEncoding$fGenericEncoding0referencedToJSONreferencedParseJSON$fAesonDefaultValueLink $fAesonDefaultValueParamLocation$fAesonDefaultValueInfo$fAesonDefaultValueMimeList$fAesonDefaultValueOpenApiType%$fAesonDefaultValueSecuritySchemeType$fAesonDefaultValueResponses$fAesonDefaultValueOAuth2Flow.$fAesonDefaultValueOAuth2AuthorizationCodeFlow.$fAesonDefaultValueOAuth2ClientCredentialsFlow%$fAesonDefaultValueOAuth2PasswordFlow%$fAesonDefaultValueOAuth2ImplicitFlow$fAesonDefaultValueComponents$fAesonDefaultValueServer$fHasSwaggerAesonOptionsLink $fHasSwaggerAesonOptionsEncoding$fHasSwaggerAesonOptionsExample$fHasSwaggerAesonOptionsOpenApi$fHasSwaggerAesonOptionsSchema&$fHasSwaggerAesonOptionsSecurityScheme!$fHasSwaggerAesonOptionsResponses'$fHasSwaggerAesonOptionsMediaTypeObject#$fHasSwaggerAesonOptionsRequestBody $fHasSwaggerAesonOptionsResponse $fHasSwaggerAesonOptionsPathItem$fHasSwaggerAesonOptionsParam!$fHasSwaggerAesonOptionsOperation#$fHasSwaggerAesonOptionsOAuth2Flows"$fHasSwaggerAesonOptionsOAuth2Flow$fHasSwaggerAesonOptionsHeader"$fHasSwaggerAesonOptionsComponents$fHasSwaggerAesonOptionsServer$fFromJSONCallback$fFromJSONExpressionOrValue$fFromJSONAdditionalProperties $fFromJSONXml$fFromJSONReferenced$fFromJSONReferenced0$fFromJSONReferenced1$fFromJSONReferenced2$fFromJSONReferenced3$fFromJSONReferenced4$fFromJSONReferenced5$fFromJSONReferenced6$fFromJSONReference$fFromJSONLink$fFromJSONEncoding$fFromJSONMediaTypeObject$fFromJSONRequestBody$fFromJSONSecurityDefinitions$fFromJSONPathItem$fFromJSONOperation$fFromJSONResponse$fFromJSONExample$fFromJSONResponses$fFromJSONParam$fFromJSONMimeList$fFromJSONComponents$fFromJSONOpenApiItems$fFromJSONHeader$fFromJSONSchema$fFromJSONSecurityScheme$fFromJSONServer$fFromJSONOpenApi$fFromJSONSecuritySchemeType$fFromJSONOAuth2Flows$fFromJSONOAuth2Flow$fFromJSONKeyMediaType$fFromJSONMediaType$fToJSONCallback$fToJSONExpressionOrValue$fToJSONAdditionalProperties$fToJSONReferenced$fToJSONReferenced0$fToJSONReferenced1$fToJSONReferenced2$fToJSONReferenced3$fToJSONReferenced4$fToJSONReferenced5$fToJSONReferenced6$fToJSONReference$fToJSONSecurityDefinitions $fToJSONLink$fToJSONEncoding$fToJSONExample$fToJSONMediaTypeObject$fToJSONRequestBody$fToJSONPathItem$fToJSONOperation$fToJSONResponse$fToJSONResponses $fToJSONParam$fToJSONMimeList$fToJSONComponents$fToJSONOpenApiItems$fToJSONHeader$fToJSONSchema$fToJSONSecurityScheme$fToJSONServer$fToJSONOpenApi$fToJSONSecuritySchemeType$fToJSONOAuth2Flows$fToJSONOAuth2Flow$fToJSONKeyMediaType$fToJSONMediaType%$fFromJSONOAuth2AuthorizationCodeFlow%$fFromJSONOAuth2ClientCredentialsFlow$fFromJSONOAuth2PasswordFlow$fFromJSONOAuth2ImplicitFlow$fFromJSONDiscriminator$fFromJSONExternalDocs $fFromJSONTag$fFromJSONApiKeyParams$fFromJSONApiKeyLocation$fFromJSONServerVariable$fFromJSONLicense$fFromJSONContact$fFromJSONInfo$fFromJSONParamLocation$fFromJSONOpenApiType$fFromJSONStyle#$fToJSONOAuth2AuthorizationCodeFlow#$fToJSONOAuth2ClientCredentialsFlow$fToJSONOAuth2PasswordFlow$fToJSONOAuth2ImplicitFlow$fToJSONDiscriminator $fToJSONXml$fToJSONExternalDocs $fToJSONTag$fToJSONApiKeyParams$fToJSONApiKeyLocation$fToJSONServerVariable$fToJSONLicense$fToJSONContact $fToJSONInfo$fToJSONParamLocation$fToJSONOpenApiType $fToJSONStyle$fSwaggerMonoidReferenced$fSwaggerMonoidParamLocation$fSwaggerMonoidOpenApiType$fSwaggerMonoidMimeList$fSwaggerMonoidInsOrdHashSet$fSwaggerMonoidOperation$fSwaggerMonoidExternalDocs$fSwaggerMonoidResponse$fSwaggerMonoidResponses$fSwaggerMonoidParam$fSwaggerMonoidSchema$fSwaggerMonoidPathItem$fSwaggerMonoidComponents$fSwaggerMonoidInfo$fMonoidRequestBody$fSemigroupRequestBody$fMonoidSecurityDefinitions$fSemigroupSecurityDefinitions$fSemigroupSecurityScheme$fMonoidOAuth2Flows$fSemigroupOAuth2Flows$fSemigroupOAuth2Flow$fMonoidOperation$fSemigroupOperation$fMonoidExternalDocs$fSemigroupExternalDocs$fMonoidEncoding$fSemigroupEncoding$fMonoidMediaTypeObject$fSemigroupMediaTypeObject$fMonoidResponse$fSemigroupResponse$fMonoidResponses$fSemigroupResponses$fMonoidHeader$fSemigroupHeader $fMonoidParam$fSemigroupParam$fMonoidSchema$fSemigroupSchema$fMonoidPathItem$fSemigroupPathItem$fMonoidComponents$fSemigroupComponents$fMonoidContact$fSemigroupContact $fMonoidInfo$fSemigroupInfo$fMonoidOpenApi$fSemigroupOpenApi$fHasDatatypeInfoLink$fGenericLink0$fSwaggerMonoidURLHasTagstags HasServersservers HasSecuritysecurityHasPathspathsHasInfoinfoHasExternalDocs externalDocs HasComponents components $fHasComponentsOpenApiComponents$fHasExternalDocsOpenApiMaybe$fHasInfoOpenApiInfo$fHasPathsOpenApiInsOrdHashMap$fHasSecurityOpenApi[]$fHasServersOpenApi[]$fHasTagsOpenApiInsOrdHashSetHasSecuritySchemessecuritySchemes HasSchemasschemas HasResponses responsesHasRequestBodies requestBodies HasParameters parametersHasLinkslinks HasHeadersheaders HasExamplesexamples HasCallbacks callbacks%$fHasCallbacksComponentsInsOrdHashMap$$fHasExamplesComponentsInsOrdHashMap#$fHasHeadersComponentsInsOrdHashMap!$fHasLinksComponentsInsOrdHashMap&$fHasParametersComponentsInsOrdHashMap)$fHasRequestBodiesComponentsInsOrdHashMap%$fHasResponsesComponentsInsOrdHashMap#$fHasSchemasComponentsInsOrdHashMap+$fHasSecuritySchemesComponentsInsOrdHashMap HasVariables variablesHasUrlurlHasDescription description$fHasDescriptionServerMaybe$fHasUrlServerText!$fHasVariablesServerInsOrdHashMap HasRequiredrequired HasContentcontent $fHasDescriptionRequestBodyMaybe$$fHasContentRequestBodyInsOrdHashMap$fHasRequiredRequestBodyMaybe HasSchemaschema HasExampleexample HasEncodingencoding)$fHasExamplesMediaTypeObjectInsOrdHashMap)$fHasEncodingMediaTypeObjectInsOrdHashMap $fHasExampleMediaTypeObjectMaybe$fHasSchemaMediaTypeObjectMaybe HasVersionversionHasTitletitleHasTermsOfServicetermsOfService HasLicenselicense HasContactcontact$fHasDescriptionInfoMaybe$fHasContactInfoMaybe$fHasLicenseInfoMaybe$fHasTermsOfServiceInfoMaybe$fHasTitleInfoText$fHasVersionInfoTextHasNamenameHasEmailemail$fHasUrlContactMaybe$fHasEmailContactMaybe$fHasNameContactMaybe$fHasUrlLicenseMaybe$fHasNameLicenseTextHasTracetrace HasSummarysummaryHasPutputHasPostpostHasPatchpatch HasOptionsoptionsHasHeadhead_HasGetget HasDeletedelete$fHasServersPathItem[]$fHasParametersPathItem[]$fHasDescriptionPathItemMaybe$fHasDeletePathItemMaybe$fHasGetPathItemMaybe$fHasHeadPathItemMaybe$fHasOptionsPathItemMaybe$fHasPatchPathItemMaybe$fHasPostPathItemMaybe$fHasPutPathItemMaybe$fHasSummaryPathItemMaybe$fHasTracePathItemMaybe$fHasNameTagText$fHasExternalDocsTagMaybe$fHasDescriptionTagMaybeHasRequestBody requestBodyHasOperationId operationId HasDeprecated deprecated$fHasTagsOperationInsOrdHashSet$fHasSummaryOperationMaybe$fHasServersOperation[]$fHasSecurityOperation[] $fHasResponsesOperationResponses$fHasParametersOperation[]$fHasExternalDocsOperationMaybe$fHasDescriptionOperationMaybe$$fHasCallbacksOperationInsOrdHashMap$fHasDeprecatedOperationMaybe$fHasOperationIdOperationMaybe$fHasRequestBodyOperationMaybeHasStylestyleHasInin_ HasExplodeexplodeHasAllowReserved allowReservedHasAllowEmptyValueallowEmptyValue$fHasSchemaParamMaybe$fHasRequiredParamMaybe$fHasNameParamText$fHasExamplesParamInsOrdHashMap$fHasExampleParamMaybe$fHasDescriptionParamMaybe$fHasDeprecatedParamMaybe$fHasAllowEmptyValueParamMaybe$fHasAllowReservedParamMaybe$fHasExplodeParamMaybe$fHasInParamParamLocation$fHasStyleParamMaybe$fHasSchemaHeaderMaybe$fHasRequiredHeaderMaybe$fHasExplodeHeaderMaybe $fHasExamplesHeaderInsOrdHashMap$fHasExampleHeaderMaybe$fHasDescriptionHeaderMaybe$fHasDeprecatedHeaderMaybe$fHasAllowEmptyValueHeaderMaybeHasXmlxml HasWriteOnly writeOnlyHasUniqueItems uniqueItemsHasTypetype_ HasReadOnlyreadOnly HasProperties properties HasPatternpatternHasOneOfoneOf HasNullablenullableHasNotnot_ HasMultipleOf multipleOf HasMinimumminimum_HasMinProperties minProperties HasMinLength minLength HasMinItemsminItems HasMaximummaximum_HasMaxProperties maxProperties HasMaxLength maxLength HasMaxItemsmaxItemsHasItemsitems HasFormatformatHasExclusiveMinimumexclusiveMinimumHasExclusiveMaximumexclusiveMaximumHasEnumenum_HasDiscriminator discriminator HasDefaultdefault_HasAnyOfanyOfHasAllOfallOfHasAdditionalPropertiesadditionalProperties$fHasTitleSchemaMaybe$fHasRequiredSchema[]$fHasExternalDocsSchemaMaybe$fHasExampleSchemaMaybe$fHasDescriptionSchemaMaybe$fHasDeprecatedSchemaMaybe$$fHasAdditionalPropertiesSchemaMaybe$fHasAllOfSchemaMaybe$fHasAnyOfSchemaMaybe$fHasDefaultSchemaMaybe$fHasDiscriminatorSchemaMaybe$fHasEnumSchemaMaybe $fHasExclusiveMaximumSchemaMaybe $fHasExclusiveMinimumSchemaMaybe$fHasFormatSchemaMaybe$fHasItemsSchemaMaybe$fHasMaxItemsSchemaMaybe$fHasMaxLengthSchemaMaybe$fHasMaxPropertiesSchemaMaybe$fHasMaximumSchemaMaybe$fHasMinItemsSchemaMaybe$fHasMinLengthSchemaMaybe$fHasMinPropertiesSchemaMaybe$fHasMinimumSchemaMaybe$fHasMultipleOfSchemaMaybe$fHasNotSchemaMaybe$fHasNullableSchemaMaybe$fHasOneOfSchemaMaybe$fHasPatternSchemaMaybe"$fHasPropertiesSchemaInsOrdHashMap$fHasReadOnlySchemaMaybe$fHasTypeSchemaMaybe$fHasUniqueItemsSchemaMaybe$fHasWriteOnlySchemaMaybe$fHasXmlSchemaMaybe$fHasSchemaNamedSchemaSchema$fHasNameNamedSchemaMaybe HasWrappedwrapped HasPrefixprefix HasNamespace namespace HasAttribute attribute$fHasNameXmlMaybe$fHasAttributeXmlMaybe$fHasNamespaceXmlMaybe$fHasPrefixXmlMaybe$fHasWrappedXmlMaybe$$fHasResponsesResponsesInsOrdHashMap$fHasDefaultResponsesMaybe$fHasLinksResponseInsOrdHashMap!$fHasHeadersResponseInsOrdHashMap$fHasDescriptionResponseText!$fHasContentResponseInsOrdHashMap)$fHasTypeSecuritySchemeSecuritySchemeType#$fHasDescriptionSecuritySchemeMaybeHasAuthorizationUrlauthorizationUrl+$fHasAuthorizationUrlOAuth2ImplicitFlowText HasTokenUrltokenUrl#$fHasTokenUrlOAuth2PasswordFlowText,$fHasTokenUrlOAuth2ClientCredentialsFlowText,$fHasTokenUrlOAuth2AuthorizationCodeFlowText4$fHasAuthorizationUrlOAuth2AuthorizationCodeFlowText HasPasswordpassword HasImplicitimplicitHasClientCredentialsclientCredentialsHasAuthorizationCodeauthorizationCode&$fHasAuthorizationCodeOAuth2FlowsMaybe&$fHasClientCredentialsOAuth2FlowsMaybe$fHasImplicitOAuth2FlowsMaybe$fHasPasswordOAuth2FlowsMaybe$fHasUrlExternalDocsURL!$fHasDescriptionExternalDocsMaybeHasContentType contentType$fHasStyleEncodingMaybe!$fHasHeadersEncodingInsOrdHashMap$fHasExplodeEncodingMaybe$fHasAllowReservedEncodingMaybe$fHasContentTypeEncodingMaybeHasValuevalueHasExternalValue externalValue$fHasSummaryExampleMaybe$fHasDescriptionExampleMaybe$fHasExternalValueExampleMaybe$fHasValueExampleMaybeHasPropertyName propertyName HasMappingmapping&$fHasMappingDiscriminatorInsOrdHashMap"$fHasPropertyNameDiscriminatorText HasServerserverHasOperationRef operationRef$fHasRequestBodyLinkMaybe $fHasParametersLinkInsOrdHashMap$fHasOperationIdLinkMaybe$fHasDescriptionLinkMaybe$fHasOperationRefLinkMaybe$fHasServerLinkMaybe_SecuritySchemeHttp_SecuritySchemeApiKey_SecuritySchemeOAuth2_SecuritySchemeOpenIdConnect_Ref_Inline_OpenApiItemsArray_OpenApiItemsObject$fHasMultipleOfsMaybe$fHasEnumsMaybe$fHasUniqueItemssMaybe$fHasMinItemssMaybe$fHasMaxItemssMaybe$fHasPatternsMaybe$fHasMinLengthsMaybe$fHasMaxLengthsMaybe$fHasExclusiveMinimumsMaybe$fHasMinimumsMaybe$fHasExclusiveMaximumsMaybe$fHasMaximumsMaybe$fHasItemssMaybe$fHasFormatsMaybe$fHasTypeNamedSchemaMaybe $fAtOperation$fIxedOperation $fAtResponses$fIxedResponses#$fLabelOptic"tags"kOpenApiOpenApiab&$fLabelOptic"servers"kOpenApiOpenApiab'$fLabelOptic"security"kOpenApiOpenApiab$$fLabelOptic"paths"kOpenApiOpenApiab#$fLabelOptic"info"kOpenApiOpenApiab+$fLabelOptic"externalDocs"kOpenApiOpenApiab)$fLabelOptic"components"kOpenApiOpenApiab4$fLabelOptic"securitySchemes"kComponentsComponentsab,$fLabelOptic"schemas"kComponentsComponentsab.$fLabelOptic"responses"kComponentsComponentsab2$fLabelOptic"requestBodies"kComponentsComponentsab/$fLabelOptic"parameters"kComponentsComponentsab*$fLabelOptic"links"kComponentsComponentsab,$fLabelOptic"headers"kComponentsComponentsab-$fLabelOptic"examples"kComponentsComponentsab.$fLabelOptic"callbacks"kComponentsComponentsab&$fLabelOptic"variables"kServerServerab $fLabelOptic"url"kServerServerab($fLabelOptic"description"kServerServerab1$fLabelOptic"enum"kServerVariableServerVariableab8$fLabelOptic"description"kServerVariableServerVariableab4$fLabelOptic"default"kServerVariableServerVariableab/$fLabelOptic"required"kRequestBodyRequestBodyab2$fLabelOptic"description"kRequestBodyRequestBodyab.$fLabelOptic"content"kRequestBodyRequestBodyab5$fLabelOptic"schema"kMediaTypeObjectMediaTypeObjectab7$fLabelOptic"examples"kMediaTypeObjectMediaTypeObjectab6$fLabelOptic"example"kMediaTypeObjectMediaTypeObjectab7$fLabelOptic"encoding"kMediaTypeObjectMediaTypeObjectab $fLabelOptic"version"kInfoInfoab$fLabelOptic"title"kInfoInfoab'$fLabelOptic"termsOfService"kInfoInfoab $fLabelOptic"license"kInfoInfoab$$fLabelOptic"description"kInfoInfoab $fLabelOptic"contact"kInfoInfoab"$fLabelOptic"url"kContactContactab#$fLabelOptic"name"kContactContactab$$fLabelOptic"email"kContactContactab"$fLabelOptic"url"kLicenseLicenseab#$fLabelOptic"name"kLicenseLicenseab&$fLabelOptic"trace"kPathItemPathItemab($fLabelOptic"summary"kPathItemPathItemab($fLabelOptic"servers"kPathItemPathItemab$$fLabelOptic"put"kPathItemPathItemab%$fLabelOptic"post"kPathItemPathItemab&$fLabelOptic"patch"kPathItemPathItemab+$fLabelOptic"parameters"kPathItemPathItemab($fLabelOptic"options"kPathItemPathItemab%$fLabelOptic"head"kPathItemPathItemab$$fLabelOptic"get"kPathItemPathItemab,$fLabelOptic"description"kPathItemPathItemab'$fLabelOptic"delete"kPathItemPathItemab$fLabelOptic"name"kTagTagab#$fLabelOptic"externalDocs"kTagTagab"$fLabelOptic"description"kTagTagab'$fLabelOptic"tags"kOperationOperationab*$fLabelOptic"summary"kOperationOperationab*$fLabelOptic"servers"kOperationOperationab+$fLabelOptic"security"kOperationOperationab,$fLabelOptic"responses"kOperationOperationab.$fLabelOptic"requestBody"kOperationOperationab-$fLabelOptic"parameters"kOperationOperationab.$fLabelOptic"operationId"kOperationOperationab/$fLabelOptic"externalDocs"kOperationOperationab.$fLabelOptic"description"kOperationOperationab-$fLabelOptic"deprecated"kOperationOperationab,$fLabelOptic"callbacks"kOperationOperationab $fLabelOptic"style"kParamParamab!$fLabelOptic"schema"kParamParamab#$fLabelOptic"required"kParamParamab$fLabelOptic"name"kParamParamab$fLabelOptic"in"kParamParamab"$fLabelOptic"explode"kParamParamab#$fLabelOptic"examples"kParamParamab"$fLabelOptic"example"kParamParamab&$fLabelOptic"description"kParamParamab%$fLabelOptic"deprecated"kParamParamab($fLabelOptic"allowReserved"kParamParamab*$fLabelOptic"allowEmptyValue"kParamParamab#$fLabelOptic"schema"kHeaderHeaderab%$fLabelOptic"required"kHeaderHeaderab$$fLabelOptic"explode"kHeaderHeaderab%$fLabelOptic"examples"kHeaderHeaderab$$fLabelOptic"example"kHeaderHeaderab($fLabelOptic"description"kHeaderHeaderab'$fLabelOptic"deprecated"kHeaderHeaderab,$fLabelOptic"allowEmptyValue"kHeaderHeaderab $fLabelOptic"xml"kSchemaSchemaab&$fLabelOptic"writeOnly"kSchemaSchemaab($fLabelOptic"uniqueItems"kSchemaSchemaab!$fLabelOptic"type"kSchemaSchemaab"$fLabelOptic"title"kSchemaSchemaab%$fLabelOptic"required"kSchemaSchemaab%$fLabelOptic"readOnly"kSchemaSchemaab'$fLabelOptic"properties"kSchemaSchemaab$$fLabelOptic"pattern"kSchemaSchemaab"$fLabelOptic"oneOf"kSchemaSchemaab%$fLabelOptic"nullable"kSchemaSchemaab $fLabelOptic"not"kSchemaSchemaab'$fLabelOptic"multipleOf"kSchemaSchemaab$$fLabelOptic"minimum"kSchemaSchemaab*$fLabelOptic"minProperties"kSchemaSchemaab&$fLabelOptic"minLength"kSchemaSchemaab%$fLabelOptic"minItems"kSchemaSchemaab$$fLabelOptic"maximum"kSchemaSchemaab*$fLabelOptic"maxProperties"kSchemaSchemaab&$fLabelOptic"maxLength"kSchemaSchemaab%$fLabelOptic"maxItems"kSchemaSchemaab"$fLabelOptic"items"kSchemaSchemaab#$fLabelOptic"format"kSchemaSchemaab)$fLabelOptic"externalDocs"kSchemaSchemaab-$fLabelOptic"exclusiveMinimum"kSchemaSchemaab-$fLabelOptic"exclusiveMaximum"kSchemaSchemaab$$fLabelOptic"example"kSchemaSchemaab!$fLabelOptic"enum"kSchemaSchemaab*$fLabelOptic"discriminator"kSchemaSchemaab($fLabelOptic"description"kSchemaSchemaab'$fLabelOptic"deprecated"kSchemaSchemaab$$fLabelOptic"default"kSchemaSchemaab"$fLabelOptic"anyOf"kSchemaSchemaab"$fLabelOptic"allOf"kSchemaSchemaab1$fLabelOptic"additionalProperties"kSchemaSchemaab-$fLabelOptic"schema"kNamedSchemaNamedSchemaab+$fLabelOptic"name"kNamedSchemaNamedSchemaab$fLabelOptic"wrapped"kXmlXmlab$fLabelOptic"prefix"kXmlXmlab $fLabelOptic"namespace"kXmlXmlab$fLabelOptic"name"kXmlXmlab $fLabelOptic"attribute"kXmlXmlab,$fLabelOptic"responses"kResponsesResponsesab*$fLabelOptic"default"kResponsesResponsesab&$fLabelOptic"links"kResponseResponseab($fLabelOptic"headers"kResponseResponseab,$fLabelOptic"description"kResponseResponseab($fLabelOptic"content"kResponseResponseab1$fLabelOptic"type"kSecuritySchemeSecuritySchemeab8$fLabelOptic"description"kSecuritySchemeSecuritySchemeabE$fLabelOptic"authorizationUrl"kOAuth2ImplicitFlowOAuth2ImplicitFlowab=$fLabelOptic"tokenUrl"kOAuth2PasswordFlowOAuth2PasswordFlowabO$fLabelOptic"tokenUrl"kOAuth2ClientCredentialsFlowOAuth2ClientCredentialsFlowabO$fLabelOptic"tokenUrl"kOAuth2AuthorizationCodeFlowOAuth2AuthorizationCodeFlowabW$fLabelOptic"authorizationUrl"kOAuth2AuthorizationCodeFlowOAuth2AuthorizationCodeFlowab/$fLabelOptic"password"kOAuth2FlowsOAuth2Flowsab/$fLabelOptic"implicit"kOAuth2FlowsOAuth2Flowsab8$fLabelOptic"clientCredentials"kOAuth2FlowsOAuth2Flowsab8$fLabelOptic"authorizationCode"kOAuth2FlowsOAuth2Flowsab,$fLabelOptic"url"kExternalDocsExternalDocsab4$fLabelOptic"description"kExternalDocsExternalDocsab&$fLabelOptic"style"kEncodingEncodingab($fLabelOptic"headers"kEncodingEncodingab($fLabelOptic"explode"kEncodingEncodingab,$fLabelOptic"contentType"kEncodingEncodingab.$fLabelOptic"allowReserved"kEncodingEncodingab$$fLabelOptic"value"kExampleExampleab&$fLabelOptic"summary"kExampleExampleab,$fLabelOptic"externalValue"kExampleExampleab*$fLabelOptic"description"kExampleExampleab7$fLabelOptic"propertyName"kDiscriminatorDiscriminatorab2$fLabelOptic"mapping"kDiscriminatorDiscriminatorab$fLabelOptic"server"kLinkLinkab$$fLabelOptic"requestBody"kLinkLinkab#$fLabelOptic"parameters"kLinkLinkab%$fLabelOptic"operationRef"kLinkLinkab$$fLabelOptic"operationId"kLinkLinkab$$fLabelOptic"description"kLinkLinkabQ$fLabelOptic"_SecuritySchemeOpenIdConnect"kSecuritySchemeTypeSecuritySchemeTypeabJ$fLabelOptic"_SecuritySchemeOAuth2"kSecuritySchemeTypeSecuritySchemeTypeabJ$fLabelOptic"_SecuritySchemeApiKey"kSecuritySchemeTypeSecuritySchemeTypeabH$fLabelOptic"_SecuritySchemeHttp"kSecuritySchemeTypeSecuritySchemeTypeab6$fLabelOptic"multipleOf"A_LensNamedSchemaNamedSchemaab0$fLabelOptic"enum"A_LensNamedSchemaNamedSchemaab7$fLabelOptic"uniqueItems"A_LensNamedSchemaNamedSchemaab4$fLabelOptic"minItems"A_LensNamedSchemaNamedSchemaab4$fLabelOptic"maxItems"A_LensNamedSchemaNamedSchemaab3$fLabelOptic"pattern"A_LensNamedSchemaNamedSchemaab5$fLabelOptic"minLength"A_LensNamedSchemaNamedSchemaab5$fLabelOptic"maxLength"A_LensNamedSchemaNamedSchemaab<$fLabelOptic"exclusiveMinimum"A_LensNamedSchemaNamedSchemaab3$fLabelOptic"minimum"A_LensNamedSchemaNamedSchemaab<$fLabelOptic"exclusiveMaximum"A_LensNamedSchemaNamedSchemaab3$fLabelOptic"maximum"A_LensNamedSchemaNamedSchemaab1$fLabelOptic"items"A_LensNamedSchemaNamedSchemaab2$fLabelOptic"format"A_LensNamedSchemaNamedSchemaab3$fLabelOptic"default"A_LensNamedSchemaNamedSchemaab0$fLabelOptic"type"A_LensNamedSchemaNamedSchemaabC$fLabelOptic"_OpenApiItemsObject"A_ReviewOpenApiItemsOpenApiItemsabB$fLabelOptic"_OpenApiItemsArray"A_ReviewOpenApiItemsOpenApiItemsab,$fLabelOptic"_Inline"kReferencedReferencedab)$fLabelOptic"_Ref"kReferencedReferencedab SchemaOptionsfieldLabelModifierconstructorTagModifierdatatypeNameModifierallNullaryToStringTagunwrapUnaryRecords sumEncodingdefaultSchemaOptionsfromAesonOptionsProxy3GEnumParamSchemagenumParamSchemaGToParamSchemagtoParamSchemaToParamSchemaByteStringError ToParamSchema toParamSchema binarySchema byteSchemapasswordSchematoParamSchemaBoundedIntegraltimeParamSchemagenericToParamSchema$fGToParamSchemaM1$fGToParamSchemaM10$fGToParamSchemaK1$fToParamSchemaUUID$fToParamSchema()$fToParamSchemaHashSet$fToParamSchemaSet$fToParamSchemaVector$fToParamSchemaVector0$fToParamSchemaVector1$fToParamSchemaVector2$fToParamSchema[]$fToParamSchemaIdentity$fToParamSchemaDual$fToParamSchemaLast$fToParamSchemaFirst$fToParamSchemaProduct$fToParamSchemaSum$fToParamSchemaAny$fToParamSchemaAll$fToParamSchemaSetCookie$fToParamSchemaVersion$fToParamSchemaText$fToParamSchemaText0$fToParamSchemaNominalDiffTime$fToParamSchemaUTCTime$fToParamSchemaZonedTime$fToParamSchemaLocalTime$fToParamSchemaTimeOfDay$fToParamSchemaDay$fToParamSchemaFloat$fToParamSchemaDouble$fToParamSchemaFixed$fToParamSchemaScientific$fToParamSchemaChar$fToParamSchemaWord64$fToParamSchemaWord32$fToParamSchemaWord16$fToParamSchemaWord8$fToParamSchemaWord$fToParamSchemaInt64$fToParamSchemaInt32$fToParamSchemaInt16$fToParamSchemaInt8$fToParamSchemaInt$fToParamSchemaNatural$fToParamSchemaInteger$fToParamSchemaBool$fToParamSchema[]0$fToParamSchemaByteString$fToParamSchemaByteString0$fGEnumParamSchema:+:$fGToParamSchema:+:$fGToParamSchemaM11$fGEnumParamSchemaM1Proxy2 GSumToSchema gsumToSchema AllNullaryToSchemaByteStringError GToSchemagdeclareNamedSchemaToSchemadeclareNamedSchemaunnamednamedplainunnamerename declareSchema toNamedSchema schemaNametoSchema toSchemaRefdeclareSchemaRefinlineSchemasWhen inlineSchemasinlineAllSchemastoInlinedSchemainlineNonRecursiveSchemas sketchSchemasketchStrictSchema timeSchematoSchemaBoundedIntegral#genericToNamedSchemaBoundedIntegral genericDeclareNamedSchemaNewtype"declareSchemaBoundedEnumKeyMappingtoSchemaBoundedEnumKeyMappinggenericDeclareSchemagenericDeclareNamedSchemagenericNameSchemagdatatypeSchemaNameparamSchemaToNamedSchemaparamSchemaToSchema nullarySchemagtoNamedSchemagdeclareSchemagdeclareSchemaRef appendItemwithFieldSchemagdeclareNamedSumSchemagsumConToSchemaWithgsumConToSchema $fGToSchemaM1$fGToSchemaM10$fGToSchemaM11$fGToSchemaM12$fGToSchema:*: $fGToSchemaK1$fGToSchemaK10$fToSchemaIdentity$fToSchemaDual$fToSchemaLast$fToSchemaFirst$fToSchemaProduct $fToSchemaSum $fToSchemaAny $fToSchemaAll$fToSchemaNonEmpty$fToSchemaHashSet $fToSchemaSet$fToSchemaVector$fToSchemaVector0$fToSchemaVector1$fToSchemaVector2$fToSchemaHashMap$fToSchemaHashMap0 $fToSchemaMap$fToSchemaIntMap$fToSchemaIntSet$fToSchemaVersion$fToSchemaText$fToSchemaText0$fToSchemaUTCTime$fToSchemaNominalDiffTime$fToSchemaZonedTime$fToSchemaLocalTime $fToSchemaDay$fToSchema(,,,,,,)$fToSchema(,,,,,)$fToSchema(,,,,)$fToSchema(,,,)$fToSchema(,,) $fToSchema(,)$fToSchemaUUID $fToSchema()$fToSchemaEither$fToSchemaMaybe$fToSchemaFixed$fToSchemaFloat$fToSchemaDouble$fToSchemaScientific$fToSchemaChar$fToSchemaWord64$fToSchemaWord32$fToSchemaWord16$fToSchemaWord8$fToSchemaWord$fToSchemaInt64$fToSchemaInt32$fToSchemaInt16$fToSchemaInt8 $fToSchemaInt$fToSchemaNatural$fToSchemaInteger$fToSchemaBool $fToSchema[] $fToSchema[]0$fToSchemaTimeOfDay$fToSchemaByteString$fToSchemaByteString0$fGSumToSchemaM1$fGSumToSchemaM10$fGSumToSchemaM11$fGSumToSchema:+:$fGToSchema:+:$fGToSchemaM13$fGToSchemaM14 prependPath allOperations operationsOf applyTags applyTagsFordeclareResponse setResponsesetResponseWithsetResponseForsetResponseForWith Validation runValidationConfigconfigPatternCheckerconfigDefinitionsResultFailedPassedValidationErrorvalidatePrettyToJSONvalidateToJSON validateToJSONWithPatternCheckerrenderValidationErrors validateJSONvalidateJSONWithPatternChecker defaultConfig withConfig withSchemainvalidvalid checkMissingchecksubsub_withRefvalidateWithSchemaRefvalidateWithSchemavalidateIntegervalidateNumbervalidateString validateArrayvalidateObject validateEnuminferSchemaTypesinferParamSchemaTypesvalidateSchemaTypevalidateParamSchemaTypeshowType $fMonadResult$fAlternativeResult$fApplicativeResult$fMonadValidation$fChoiceValidation$fProfunctorValidation$fAlternativeValidation$fApplicativeValidation $fEqResult $fShowResult$fFunctorResult$fFunctorValidation schemaGen dereferencegenValuevalidateFromJSONbaseGHC.Basefmapghc-prim GHC.TypesFalseTrue$aeson-1.5.4.1-3APs9y3MNqVGctYGeZatTtData.Aeson.Types.InternaldefaultTaggedObjectOptionsomitNothingFieldstagSingleConstructors text-1.2.3.1Data.Text.InternalText Data.Text.Lazy.Builder.RealFloatFPFormatGHC.EnumBoundedGHC.RealIntegralcontainers-0.6.0.1Data.Map.InternalMap4unordered-containers-0.2.13.0-7SUQaegvMerHp2sGZINBfMData.HashMap.InternalHashMap GHC.GenericsGenericData.Aeson.Types.ToJSONToJSONEnum ToJSONKeyTextToJSONKeyValue)aeson-pretty-0.8.8-6FVByFgDOCxCXtNffbPGfpData.Aeson.Encode.Pretty encodePrettyGHC.Errerror