This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
Releases: apiaryio/api-elements.js
Releases · apiaryio/api-elements.js
fury-adapter-oas3-parser 0.9.1
Enhancements
- Adds support for example values for text based media types such as
text/*
andapplication/xml
.
Bug Fixes
- Prevents the parser from throwing an exception when encountering an invalid media type.
fury-adapter-swagger 0.27.1
Bug Fixes
- Fixes a problem while parsing a document which contains a Swagger Schema for a string which contains both a
minLength
and apattern
property which are incompatible. For example, the following pattern:^[A-z]*$
which is making use of*
which means that it allows strings that are zero length or more. If there is a propertyminLength
which is incompatible with the pattern such as ifminLength
is set to 1. Previously this would cause the parser to get into an infinite loop.
api-elements 0.2.1
Enhancements
- Performance of the
valueOf
has been improved under certain cases.
fury-adapter-oas3-parser 0.8.1
Bug Fixes
- Fixed handling of OpenAPI 3 documents which included invalid 'Schema Object' in reusable components. Under some circumstances these could cause the parser to throw an exception.
swagger-zoo 3.1.0
fury-cli 0.9.0
Breaking
- Support for NodeJS 6 has been removed, upgrading to NodeJS 8 or newer is recommended.
fury-adapter-swagger 0.26.0
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
length
anywhere in the example tree. The example object will be interpreted as an array of the given length. If the value oflength
property 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
fury-adapter-remote 0.2.0
Breaking
- Support for NodeJS 6 has been removed, upgrading to NodeJS 8 or newer is recommended.
fury-adapter-oas3-parser 0.8.0
Breaking
- Support for NodeJS 6 has been removed, upgrading to NodeJS 8 or newer is recommended.
Enhancements
- Support parameters in media types, for example
application/json; charset=UTF-8
.
fury-adapter-apib-serializer 0.11.0
Breaking
- Support for NodeJS 6 has been removed, upgrading to NodeJS 8 or newer is recommended.