Library for consuming API Elements in JavaScript
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.
The package has been renamed to @apielements/apib-parser
.
Internal changes to the dependency tree to simplify package maintenance.
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.
This update incorporates changes from Fury Adapters:
Compatibility with Fury 3.0.0 Beta 14.
Support for "default" response status codes.
Support for Server Object
and Server Variable Object
The parser can now be configured to disable generation of example message bodies by providing an adapter option generateMessageBody
as false
during parse.