Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Releases: apiaryio/api-elements.js

[email protected]

14 May 10:58
Compare
Choose a tag to compare

Bug Fixes

  • Prevent valueOf from throwing an error while handling an object element which contains a member element which does not include a value.

@apielements/[email protected]

13 May 09:17
Compare
Choose a tag to compare

Bug Fixes

  • Support required keys in a Schema Object which are not found in the properties list.

@apielements/[email protected]

13 May 09:17
Compare
Choose a tag to compare

Bug Fixes

  • The parser will now produce a data structure for Schema Object's which do not contain a type.

  • Added the fixedType attribute to array data structures which describe arrays with fixed types in the items. For example, the following schema which describes an array where the values MUST be of type string:

    type: array
    items:
      type: string

    Previously we generated a data structure for an array which didn't fix the values of the array to be a string type. Instead provided an example that the value of the array MAY be a string.

  • Support required keys in a Schema Object which are not found in the properties list.

@apielements/[email protected]

30 Apr 16:14
Compare
Choose a tag to compare

Bug Fixes

  • Prevent the parser from throwing an error when handling a Server Object with
    variables when the URL does not contain any variables. For example:

    openapi: 3.0.3
    servers:
      - url: https://example.com
        variables:
          version:
            default: '1.0'
    paths: {}

@apielements/[email protected]

29 Apr 15:32
Compare
Choose a tag to compare

The package has been renamed to @apielements/apib-parser.

[email protected]

28 Apr 15:19
Compare
Choose a tag to compare

Enhancements

  • Support for servers in Path Item Object and Operation Object

  • 'Parameter Object' 'explode' style is partially supported, it can be used with query parameters.

[email protected]

28 Apr 15:19
Compare
Choose a tag to compare

Internal changes to the dependency tree to simplify package maintenance.

[email protected]

20 Apr 10:34
Compare
Choose a tag to compare

This release contains an updated api-elements models. See api-elements 0.2.4 for further details.

[email protected]

20 Apr 10:37
Compare
Choose a tag to compare

This update incorporates changes from Fury Adapters:

  • fury-adapter-oas3-parser 0.11.0
  • fury-adapter-swagger 0.29.0

[email protected]

20 Apr 10:49
Compare
Choose a tag to compare
  • Compatibility with Fury 3.0.0 Beta 14.

  • The parser can now be configured to disable generation of example message bodies and message body schemas by providing an adapter option generateMessageBody or generateMessageBodySchema as false during parse.