Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.38 KB

CHANGELOG.md

File metadata and controls

42 lines (30 loc) · 1.38 KB

v1.1.0

Features

  • Added the option useExamples - (Boolean)- (optional) - Should the generated mock make use of example values defined in your swagger.json. Note: invalid example values will create invalid mockdata!

v1.0.0

Features

  • es6 support and node engine changed to 6.x
  • promise response if callback is not provided as an argument #20
  • option to set validated = true to generate mocks for already parsed api #24
  • parameter override at operation level #25

Bugfixes

  • exclusive limit issue #27 and multipleOf max value enhancement #26
  • mock gen issue for type number with minimum =0 #28

v0.0.5

(Published after 1.0.0. Back porting the bug fixes for pre node v6)

  • exclusive limit issue #27 and multipleOf max value enhancement #26
  • mock gen issue for type number with minimum =0 #28

v0.0.4

Features

  • #11 support additional format options as per json schema (uri, hostname, ipv4, ipv6)

Bugfixes

  • Fix the maxItems bug and add additional test cases - #16
  • Fix the issue - enum of type integer is not handled properly #21
  • Fix the issue - if example is wrong the mock generated is not as per schema #23

v0.0.3

Bugfixes and features

  • #1 Support parameters defined for all the operations
  • #2 support multipleOf property
  • #3 Support for pattern
  • Use only alpha characters for the string mock
  • If type is missing try to find the type. default to object