BSD-3-Clause licensed by Nickolay Kudasov
This version can be pinned in stack with:swagger2-0.4@sha256:651f4f75aeb7f52a3ad34b83f286bceeb59688eb2d075be244be44afa3bcbcb7,2171
Module documentation for 0.4
Depends on 12 packages
(full list with versions):
aeson,
base,
containers,
hashable,
http-media,
lens,
network,
scientific,
template-haskell,
text,
time,
unordered-containers swagger2
Swagger 2.0 data model.
0.4
- Remove
Swagger
/swagger
prefixes;
- Add
ToSchema
type class with default generic implementation;
- Add configurable generic
ToSchema
helpers;
- Add
doctest
test suite;
- Fixes:
- Fix
HasSchemaCommon
instance for Schema
;
- Change
minimum
, maximum
and multipleOf
properties to be any number,
not necessarily an integer;
- Fix all warnings
0.3
- Fixes:
- Fix
SwaggerMonoid Text
instance;
- Wrap
Bool
in Maybe
everywhere;
- These changes make all
Data.Swagger
Monoid
instances obey monoid laws
(previously right identity law was broken by some instances).
0.2
- Add
Data.Swagger.Lens
- Support references
- Fixes:
- Fix
FromJSON SwaggerHost
instance
- Add missing
Maybe
s for field types
- Decode petstore swagger.json successfully