Library for consuming API Elements in JavaScript
This release contains an updated api-elements models. See api-elements 0.2.4 for further details.
Adds support for info.termsOfService
. For example the following document:
swagger: '2.0'
info:
termsOfService: http://example.com/terms/
will add the link to the terms of service http://example.com/terms/
Adds support for info.contact
. For example the following document:
swagger: '2.0'
info:
url: http://www.example.com/support
email: [email protected]
will add a link to the contact URL and a second link to the contact email
Prevents a 'Path Item Object' from being included in a Resource Group created by an 'Operation Object' in a previously defined 'Path Item Object'.
Optional parameters will now include an optional typeAttribute in the parse result. This will fix conversion to API Blueprint with fury-cli where optional parameters have shown up as required in the generated API Blueprint.
Allows generating of JSON bodies for schemas which make use of allOf
and include circular references. Under some circumstances this would previously fail, and a warning may have been emitted "Unable to generate application/json example message body out of JSON Schema"