This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Releases: apiaryio/api-elements.js
Releases · apiaryio/api-elements.js
@apielements/openapi2-parser@0.32.2
Bug Fixes
- Improvements to generation of JSON message bodies to add more cases where
exampleproperty of a Schema Object will be respected.
#515
api-elements@0.2.6
Bug Fixes
- Fixes the
hostsproperty in api category to return the hosts category.
@apielements/openapi3-parser@0.14.1
Enhancements
- Adds support for the Schema Object title property.
Bug Fixes
- Adds an accept header to requests with the matching responses content type.
@apielements/openapi3-parser@0.14.0
Enhancements
- Adds partial support for using
oneOfin 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.
Bug Fixes
-
Supports using
$refin 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.
@apielements/cli@0.10.1
This update incorporates changes from API Element Adapters:
- openapi3-parser 0.14.0
@apielements/remote@0.6.1
Bug Fixes
- The
generateMessageBodyandgenerateMessageBodySchemaadapter options are now respected.
@apielements/openapi3-parser@0.13.1
Bug Fixes
-
Prior versions of the adapter reported the following 'Header Object' keys as invalid:
style,explode,allowReserved,schema,content,example, andexamples. These will now return an unsupported warning instead. -
Negative boolean YAML values was previously treated as true and thus Parameter Object's with
required: falsewould have been incorrectly treated as required.
@apielements/openapi2-parser@0.32.1
Enhancements
- Performance improvements to OpenAPI 2 validation, this will only apply to validation only. Full OpenAPI 2 parsing is not altered.
Bug Fixes
- Returns a validation error while trying to parse a YAML or JSON object which does not contain the
swaggerkey, in prior versions the parser may have crashed under some inputs. - Improved clarity of validation error messages.
- Fixes a case where the source map information may be missing for one type of validation errors.
@apielements/remote@0.5.1
The package has been renamed to @apielements/remote.
@apielements/openapi2-parser@0.31.1
Bug Fixes
- This release includes performance improvements to parsing documents which contain the same schema re-used via a reference (
$ref) many times in request parameters and response bodies under anallOfkey.