git.iko.soy/typeable/openapi3
on abfba07 help sign in
28 lines 630 B history raw
1-- |
2-- Module: Data.Swagger.Schema
3-- Copyright: (c) 2015 GetShopTV
4-- License: BSD3
5-- Maintainer: Nickolay Kudasov <nickolay@getshoptv.com>
6-- Stability: experimental
7--
8-- Types and functions for working with Swagger schema.
9module Data.Swagger.Schema (
10 -- * Encoding
11 ToSchema(..),
12 NamedSchema,
13 toSchema,
14 toSchemaRef,
15 schemaName,
17 -- * Generic schema encoding
18 genericToSchema,
19 genericToNamedSchema,
20 genericToNamedSchemaBoundedIntegral,
21 toSchemaBoundedIntegral,
23 -- * Generic encoding configuration
24 SchemaOptions(..),
25 defaultSchemaOptions,
26) where
28import Data.Swagger.Schema.Internal