git.iko.soy/typeable/swagger2
on master help sign in
Fix module links, re-export Pattern type synonym
f09a62dNickolay Kudasov
src/Data/Swagger.hs+3−2
@@ -71,6 +71,7 @@ module Data.Swagger (
71 NamedSchema(..),
71 NamedSchema(..),
72 SwaggerItems(..),
72 SwaggerItems(..),
73 Xml(..),
73 Xml(..),
74+ Pattern,
74
75
75 -- ** Responses
76 -- ** Responses
76 Responses(..),
77 Responses(..),
@@ -274,10 +275,10 @@ import Data.Swagger.Internal
274-- for a type-level servant API.
275-- for a type-level servant API.
275--
276--
276-- Lenses and prisms can be used to manipulate such specification to add additional information, tags, extra responses, etc.
277-- Lenses and prisms can be used to manipulate such specification to add additional information, tags, extra responses, etc.
277−-- To facilitate common needs, @'Data.Swagger.Operation'@ module provides useful helpers.
278+-- To facilitate common needs, @"Data.Swagger.Operation"@ module provides useful helpers.
278
279
279-- $validation
280-- $validation
280-- While @'ToParamSchema'@ and @'ToSchema'@ provide means to easily obtain schemas for Haskell types,
281-- While @'ToParamSchema'@ and @'ToSchema'@ provide means to easily obtain schemas for Haskell types,
281-- there is no static mechanism to ensure those instances correspond to the @'ToHttpApiData'@ or @'ToJSON'@ instances.
282-- there is no static mechanism to ensure those instances correspond to the @'ToHttpApiData'@ or @'ToJSON'@ instances.
282--
283--
283−-- @'Data.Swagger.Schema.Validation'@ addresses @'ToJSON'@/@'ToSchema'@ validation.
284+-- @"Data.Swagger.Schema.Validation"@ addresses @'ToJSON'@/@'ToSchema'@ validation.