swagger-0.3.0: Implementation of swagger data model

Safe HaskellNone
LanguageHaskell2010

Data.Swagger.Model.Api

Description

The API Declaration part of the swagger specification. For construction please consider using Data.Swagger.Build.Api.

Synopsis

Documentation

data API Source #

Constructors

API 

data DataType where Source #

Constructors

Prim :: (Show a, ToJSON a) => Primitive a -> DataType 
Array :: (Show a, ToJSON a) => Items a -> Maybe Bool -> DataType 
Ref :: ModelId -> DataType 

data Primitive a Source #

Constructors

Primitive 

Fields

Instances

data Items a Source #

Instances

Show a => Show (Items a) Source # 

Methods

showsPrec :: Int -> Items a -> ShowS #

show :: Items a -> String #

showList :: [Items a] -> ShowS #

data File Source #

Constructors

File 

Instances