Library for consuming API Elements in JavaScript
oneOf
in a Schema Object. One of is supported when used in a schema object alone, or with the nullable constraint or any annotation. It is not supported in the case when one of is used in conjunction with other constraints in the same schema object.Supports using $ref
in the root of a component, for example:
components:
schemas:
UserAlias:
$ref: '#/components/schemas/User'
User:
type: object
Prevents the parser from throwing an error upon encountering an unknown or invalid YAML node tag, such as !!unknown
.
This update incorporates changes from API Element Adapters:
swagger
key, in prior versions the parser may have crashed under some inputs.Prior versions of the adapter reported the following 'Header Object' keys as invalid: style
, explode
, allowReserved
, schema
, content
, example
, and examples
. These will now return an unsupported warning instead.
Negative boolean YAML values was previously treated as true and thus Parameter Object's with required: false
would have been incorrectly treated as required.
The package has been renamed to @apielements/remote
.