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
@apielements/[email protected]
Enhancements
- Support for 'Schema Object'
additionalProperties
when the value is boolean.
@apielements/[email protected]
Bug Fixes
- Fixes generating example JSON bodies from Swagger Schema when the schema contains a reference to a JSON path which prefixes the current path, for example when handling a path such as
$ref: '#/definitions/User'
from a path which prefixes it such as$ref: '#/definitions/UserList'
.
@apielements/[email protected]
Enhancements
-
Support for OpenAPI 3.1, some features and fields are not supported (these will emit the appropriate unsupported warnings).
This includes support for
const
and arraytype
in 'Schema Object'. -
Support for the 'title', 'description', and 'enum' properties in 'Schema Object's found within 'Parameter Object'.
@apielements/[email protected]
This update incorporates changes from API Element Adapters:
- openapi3-parser 0.16.0
@apielements/[email protected]
Enhancements
- Minimal support for 'Parameter Object' schemas, simple schemas using 'type' and 'example' are supported.
@apielements/[email protected]
This update incorporates changes from API Element Adapters:
@apielements/[email protected]
Bug Fixes
- Fixes handling of headers which do not contain values.
@apielements/[email protected]
Bug Fixes
- The HOST URI metadata produced from
schemes
,host
andbasePath
will now default tohttps
whenschemes
is not defined. Previously a partial URI without a scheme was returned.
[email protected]
Bug Fixes
- Inherit fixed attribute in
valueOf
Enhancements
- Dereference elements in
valueOf
[email protected]
Bug Fixes
- Generating a value from an element will now prefer sample/default values for
objects which contain only undefined property values.