This repository was archived by the owner on Nov 8, 2024. It is now read-only.
fury-adapter-swagger 0.26.0
·
405 commits
to master
since this release
Breaking
- Support for NodeJS 6 has been removed, upgrading to NodeJS 8 or newer is recommended.
Bug Fixes
-
JSON value generation will now support schemas which contain an array of objects. For example, the following schema:
type: array items: type: object properties: name: type: string example: doe
Will now emit a JSON value of
[{ "name": "doe" }], whereas before it would emit an empty array[].
#236 -
While parsing an 'Example Object' (found in a 'Schema Object') which contains an object with a property
lengthanywhere in the example tree. The example object will be interpreted as an array of the given length. If the value oflengthproperty of an 'Example Object' is a large number, then the parser may utilise a lot of memory while producing a result and subsequently may cause out of memory failures.For example:
definitions: User: type: object example: length: 50000