2-- Module: Data.Swagger.Schema
3-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
4-- Stability: experimental
6-- Types and functions for working with Swagger schema.
7module Data.Swagger.Schema (
17 -- * Generic schema encoding
18 genericDeclareNamedSchema,
20 genericDeclareNamedSchemaNewtype,
23 -- ** 'Bounded' 'Integral'
24 genericToNamedSchemaBoundedIntegral,
25 toSchemaBoundedIntegral,
27 -- ** 'Bounded' 'Enum' key mappings
28 declareSchemaBoundedEnumKeyMapping,
29 toSchemaBoundedEnumKeyMapping,
31 -- ** Reusing 'ToParamSchema'
32 paramSchemaToNamedSchema,
35 -- ** Unrestricted versions
36 genericDeclareNamedSchemaUnrestricted,
37 genericDeclareSchemaUnrestricted,
44 -- * Sketching @'Schema'@s using @'ToJSON'@
48 -- * Inlining @'Schema'@s
49 inlineNonRecursiveSchemas,
54 -- * Generic encoding configuration
60import Data.Swagger.Internal.Schema
61import Data.Swagger.SchemaOptions
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list