- Using a JSON parser with a source map.
- Single error for not matching any discriminated types.
- Use JSON Pointer format for inserted schema title for properties and definitions.
- Include property name as schema title in the property object.
- Include definition name as schema title in the definitions.
- Replacing
reduce
error collections with lazy iterators.
- Solve security vulnerabilities
- Export more types
- Use
yasway
type definitions
- Bug fix:
scenarios is undefined
when running AutoRest plugin.
- export additional types.
--pretty
output.
- Error serialization.
- Remove a dependency on
@types/winston
package.winston
is updated to3.0.0
.
- Apply rules for Nested Properties
- Bug fix: Do BOM stripping for remote URL's #266.
- Replace sway dependency with yasway.
- Bug fix: Data is valid against more than one schema from
oneOf
#248 The problem occurs when referenced model may also acceptnull
. The fix is replacingoneOf
withanyOf
.
- Bug fix:
oav extract-xmsexamples
also extracts request headers. #241 - Bug fix: x-ms-parametrized-host is not validated correctly #240
- Update dependencies.
- Bug fixes: #238
- Path parameters can include single quotes and be evaluated succesfully.
- Enums with non-string values are properly evaluated.
- If enums mismatch only in casing the new error ENUM_CASE_MISMATCH will be returned.
- Updating default output level to info.
- Fixing issue #225, where output verbosity wasn't respected in one case.
- Don't validate pure objects.
- Fix bug for resolve external references introduced part of #202.
- Bug fix for the fix made to resolve jshint issues in #202.
- Improve matching for status code string for live validation.
- Add support for live validation to support status code string along the status code number.
- Update to use package autorest-extension-base from npm.
- Fix undefined headers issue when the spec does not define consumes values.
- Updating dependency of lodash to 4.17.4.
- Fix all linter issues. #201
- Add option to do case insensitive regex matches on swagger paths to the SpecValidator and LiveValidator. #203
- Fixed a typo in the variable name while resolving nullable types.
- The tool does not error on missing definitions in the swagger spec #194
- Added support for application/octet-stream or file upload/download scenarios #192
- Addressing INVALID_TYPE issues reported by model validation due to nullable types/properties. #155. In order to allow null types, we relax types to be 'oneOf'
null
or its type, for the cases where properties/models have x-nullable set or x-nullable is not defined and property is not required.
- Added support to generate class diagram from a given swagger spec #188.
- Fixed #190, #191.
- Removed the enum constraint or reference to an enum on the discriminator property if previously present before making it a constant.
- Added support for processing
"x-ms-parameterized-host": {}
extension if present in the 2.0 swagger spec.
- Added support for validating examples for parameters
"in": "formData"
.
- Ensure scheme, host and basePath are used to construct the base url #180.
- Disable resolving discriminators while performing semantic validation for an open api specification that conforms to 2.0 version.
- Entire tree except the leaf nodes need to be traversed for replacing references of (an uber(root) or intermediate) parent with a
"oneof"
array containing references to itself and all its children. #175
- Updating model validator to resolve polymorphic types using oneOf. #171
- Updating model validator to plugin to autorest.
- Provide the filepath of the file that has an incorrect json. This makes it easy for customers to find out the faulty file among numerous files.
- [Model Validator] Should handle forward slashes in path parameters. #165
- [Model Validator] Should handle question mark in paths that are defined in x-ms-paths. #140
- [Wire Format Generator] Should handle resolved x-ms-examples. #161
- [Wire Format Generator] Removed condition for checking 200 & 204 in final status code for non-LRO. #159
- [Wire Format Generator] Updated default directory to be the api-version folder of the swagger spec. #159
- [Live Validator] Shallow clone the azure-rest-api-spec repo.
- [Model Validator] Improve pluggability of oav into vs-code. #143
- [Live Validator] Before cloning the rest api specs repo if directory named 'repo' exists we delete it and then create an empty directory to clone repo inside it.
- Fixed Live validator for reorg branch of azure-rest-api-specs #137
- Fixed issue #134
- Added support to generate wireformat as a YAML doc
- Improved the format to specify request body for a in a request using curl.