Api Elements.js Versions Save

Library for consuming API Elements in JavaScript

@apielements/[email protected]

2 years ago

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]

2 years ago

Enhancements

  • Support for 'Schema Object' additionalProperties when the value is boolean.

@apielements/[email protected]

3 years ago

This update incorporates changes from API Element Adapters:

  • openapi3-parser 0.16.0

@apielements/[email protected]

3 years ago

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 array type in 'Schema Object'.

  • Support for the 'title', 'description', and 'enum' properties in 'Schema Object's found within 'Parameter Object'.

@apielements/[email protected]

3 years ago

This update incorporates changes from API Element Adapters:

@apielements/[email protected]

3 years ago

Bug Fixes

  • Fixes handling of headers which do not contain values.

@apielements/[email protected]

3 years ago

Enhancements

  • Minimal support for 'Parameter Object' schemas, simple schemas using 'type' and 'example' are supported.

@apielements/[email protected]

3 years ago

Bug Fixes

  • The HOST URI metadata produced from schemes, host and basePath will now default to https when schemes is not defined. Previously a partial URI without a scheme was returned.

[email protected]

3 years ago

Bug Fixes

  • Inherit fixed attribute in valueOf

Enhancements

  • Dereference elements in valueOf

[email protected]

3 years ago

Bug Fixes

  • Generating a value from an element will now prefer sample/default values for objects which contain only undefined property values.