Skip to content

Releases: GetShopTV/swagger2

v0.4.1

01 Dec 09:10
Compare
Choose a tag to compare
  • Fixes:
    • Use PackageImports for Data.HashSet to avoid test failure on stackage (see #15);
    • Add an upper version bound for aeson due to aeson-0.10.0.0 bug (see bos/aeson#293);
    • Switch to Cabal-based multi GHC Travis config.

v0.4

27 Nov 23:24
Compare
Choose a tag to compare
  • 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

v0.3

10 Nov 13:02
Compare
Choose a tag to compare
  • 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).

v0.2

10 Nov 13:01
Compare
Choose a tag to compare
  • Add Data.Swagger.Lens
  • Support references
  • Fixes:
    • Fix FromJSON SwaggerHost instance
    • Add missing Maybes for field types
    • Decode petstore swagger.json successfully