- During example generation, include min/max in default titles.
- Add names of
Passed Operations
in the HTML and JSON reports. - Bump
jsonpath-plus
dependency to^10.0.0
- During example generation, fields
password
,adminPassword
, andpwd
are all generated with a single value of "" instead of random characters.
- Remove suppression of
additionalProperties
errors whenisArmCall === true
. (ARM liveValidation scenarios)
- Released during an npmjs.org outage. Version not showing up, but shows as successful release. Patch bump to re-attempt releasing the same version.
- Support all current LTS Node versions (>=18.0.0)
- Bump
newman
dependency to~6.0.0
.
- Bump Node engine version requirement for security vulnerability.
- Re-enable the arm-id validation in all cases, even when
isArmCall
isfalse
. The special handling for this error will be done in RPaaS's codebase.
- #1014 Set armId format validation to always enabled, but allow suppression of errors when
isArmCall
validator argument is set tofalse
. Update the special casing on additionalProperties validation. This error was was erroneously skipping validation validation error when isArmCall is set totrue
. This value is defaulted totrue
when used forModel Validation
andSemantic Validation
. - #995 Remove
ms-rest
dependency in favor of newer@azure/ms-rest-js
- Remove
mockjs
dependency.
- #1019 Fixing edge case caused by introduction of fake property
refWithReadOnly
used to handlereadonly
errors thrown when placed alongside aref
node in a swagger schema.
- #1011 Enhancing JSON report by exposing new properties including
coveredSpecFiles
,unCoveredOperationsList
,errorLink
andschemaPathWithPosition
.
- #1010 Fix an issue with details of
Failed Operations
not displayed in Windows-generated HTML report.
- #1004 fixes an issue with the injected property refWithReadOnly causing additionalProperty error in schema validator.
- #996 Allows
required
properties to be ommitted from a response if they are also markedreadonly
.
- Re-enable
additionalProperties
validation where theliveValidator
configuration hasisArmCall
set tofalse
. The version ofoav
that is being used to validateazure-rest-api-specs
has this behavior enabled, so this is not a breaking change.
- Patch
byte
type validation to properly decode and re-encode a base64 string. Abyte
formatted body's validity has nothing to do with whether or not one can successfully encode it to ascii.
- Reverting 3.2.9-beta.1 override changes.
- We made this update to address a problem in a node project that takes a dependency on
oav
. Unbeknownst to me, a package taking a dependency onoav
does not inherit theoverride
settings defined in theoav
package.json
. With that being the case, there is no reason to leave these overrides added to thepackage.json
foroav
.
- We made this update to address a problem in a node project that takes a dependency on
- Pin
lodash
in dev dependencies to account for build failure on newer versions. - Update various other dependencies.
- Dependency updates
- Override transitive dependencies:
file-type@3.9.0 -> 16.5.4
qs@6.5.3 -> 6.8.3
- Override transitive dependencies:
- Dependency updates
- "@azure/core-http
^2.2.7
->^3.0.1
- Upgrading core-http allows us to bump the dependency on
xmljs2
to one without a CVE
- "@azure/core-http
- Fix roundtrip validation model with circular reference
- Improved the API scenario long running operation pooling mechanism.
- support for checking final-via-state
- update the mechanism of gettig the lro polling url.
- Support generating the ARM rules for api scenario.
- LiveValidator - logging INVALID_TYPE error for additionalProperties for RpaaS call
- TrafficValidator - bug fix about incorrect payload file path in html report
- Lock @apidevtools/swagger-parser@10.0.3 as 10.1.0 brings conflict of ajv package version
- generate-api-scenario
- Support
--scope
option in static generator
- Support
- API Scenario
- Skip create and delete resource group if specify resource group name
- bug fix about incorrect payload file path in html report
- Generate Examples - Support specified generation rule
- Revert node requirement to >=12
- API Scenario
- Support scenario file as scope
- Support test-proxy recording externalization with
--testProxyAssets
option - Support
--randomSeed
option - Support file type in formdata and body
- Change the prefix length to 8 from 10 in generated API Scenario
- validate-traffic
- Add
--jsonReport
parameter in commandvalidate-traffic
- Add
- AjvSchemaValidator - Ignore unknown format when compile schema
- API Scenario
- Support LRO polling with operation-location header
- Support AzureKey based authentication
- ModelValidator - Fix bug during reporting real exampleJsonPath
- ModelValidator - Add LRO header validation for data-planes swagger
- GenerateExamples - Add title and operationId to example
- GenerateExamples - Generate subscriptionId in guid format
- ModelValidator - Add type validation for additionalProperties whose type is specified as an object
- Bugfix: FileLoader - isUnderFileRoot function supports validation for absolute path
- API Scenario
- Add roleAssignment step
- Bugfix: Use content-type specified in swagger
- Bugfix: fix query parameter value type
- Retire some features
- Retire commands "generate-uml"
- Retire commands "generate-wireformat"
- Retire commands "resolve-spec"
- Retire Autorest plugin
- API Scenario
- Support parameterized host and AzureAD authentication option
- Remove support for
shareScope
- Refactor postman collection generation with folders
- Improve LRO poller and use retry-after header in delay
- Improve logging level to reuse the
-l
option - Clean some unused dependencies
- Support Roundtrip validation in validation
- Integrate Roundtrip validation into API Scenario
- AJV validator - Support arm-id format validation
- ModelValidator - Only enable arm-id validation for both of model validator and live validation(rpaas api validation is excluded)
- ModelValidator - Support api-version validation
- ModelValidator - Fix bug when operation has no own parameters
- validate-traffic
- add detailed operationId on swagger link
- add detailed position info on pathInpayload link
- add detailed position info on schema link
- change report UI
- support multi swaggers on report
- API Scenario
- Support Subscription and Tenant scope
- Support assertion in response
- GenerateExamples - Support data generation in byte format
- ModelValidator - Support data validation in byte format
- API Scenario
- Support readme.test.md run API test
- Fix step variable unresolved in newman collection
- Fix bugs about html report
- Aggregate reports into one per scenario file
- Fix bug of object variables and patches
- Improve markdown report
- Generate high quality examples from API Scenario tests
- traffic-converter
- Implement oav-traffic-converter
- Add activity parsed from request header to logs
- GenerateExamples - Change the domain of LRO header
- ModelValidator - Still validate LRO operation when response doesn't have schema
- ModelValidator - Report real exampleJsonPath when additional parameter includes "."
- Support duration format when generating examples
- SemanticValidator - Fix bug about multipart/form-data
- API Scenario runner
- Implement API Scenario v1.2 schema
- operationId based step
- more variable types and prefix support
- Support loading file from remote uri
- Support testProxy recording mode when running API Scenario
- Improve API Scenario generation from RESTler dependencies
- Support running API Scenario against localhost endpoint
- Refactor Postman based runner client
- Support API Scenario generation from testProxy recording
- Support local devMode where AAD auth, ARM call and LRO polling will be disabled
- Implement API Scenario v1.2 schema
- LiveValidator - Get real schema and data while error's schema has allOf property
- TrafficValidator - Refine validation report
- SemanticValidator - Support arm-id format for string type
- Fix bug about copyfiles command during build
- ModelValidator - Ignore INVALID_TYPE validation in case of query parameter in string format
- Traffic Validation - Support validation report generation
- SemanticValidator - Fix bug about error path.
- Api Scenario - Fix bug about readonly during example diff.
- SemanticValidator - Clarify the error message when NOT schema of 'path' fails
- Add coverage for trafficValidator
- FIx GC introduced by 2.11.7
- LiveValidator - Fix bug about date-time validation.
- LiveValidator - Fix bug about duplicated swagger files when loading by path patterns.
- Upgrade newman package to 5.3.1. Fix intel license issue.
- Fix simple git high security issue.
- LiveValidator - Loosen date-time validation for missing "Z" in the end
- LiveValidator - Validate multipleOf data again when ajv validation results have error about multipleOf in response
- LiveValidator - Ignore required validation rule in response when x-ms-secret is true and the httpMethod is POST
- ModelValidator - add validation for common path scope parameters in swagger
- ModelValidator - Increase model validation test coverage to 90%+
- ModelValidator - Ignore LRO_RESPONSE_CODE validation in case of error responses
- ModelValidator - fix failed to resolve discriminator models in nested definitions
- Utils - move get provider related functions to utils because of DI error
- LiveValidator - add more unittest for data-plane spec path
- OperationSearcher - use local variable instead of glob regex
- LiveValidator - Supports logging spec loading traces separately
- Fix
getProviderFromSpecPath
regex issue and add unittest
- Api scenario - add new step armDeploymentScript
- Api scenario - rename step armTemplateDeployment to armTemplate
- Fix 'generate-examples' command failed to generate correct format for ‘uri’ format parameter
- LiveValidatorLoader - make response headers as optional for swagger 2.0
- LiveValidator - ignore LRO header check if using 201/200+ provisioningState
- SemanticValidator - Fix false alarm for MISSING_PATH_PARAMETER_DEFINITION
- ModelValidator/SemanticValidator - support suppression on error code
- Use
new URL
instead ofurl.parse
. Since url.parse will encode url and will be deprecated. - SemanticValidator - Add new rules of 'INVALID_XMS_DISCRIMINATOR_VALUE' and 'DISCRIMINATOR_PROPERTY_NOT_FOUND'
- Traffic validation - support multiple swaggers and multiple payloads
- Extends format types in AJV schema validation
- Bug fix - check discriminator property type must be string
- Bug fix for generate api scenario
- Fix jsonPathToArray bug (which will incorrectly transform ["Microsoft.something"] into ["Microsoft", "something"])
- Upgrade autorest scheams about x-ms-enum change
- Model/Live validation - fix content-type validation and unknown format issue during validator building
- MV - Fix error conversion issue of invalid token parsing in model validation
- Api scenario generation support swagger file as input parameters
- Add new version of model validation
- Increase semantic validation test coverage to 90%+
- Export loader types
- Example extractor support add url parameter if define x-ms-parameterized-host
- Rename test scenario to API scenario
- Implement API scenario v1.1 schema
- Support PATCH operation in API scenario step
- Add convention for ArmTemplate parameters
- Support cleanUp steps
- Fix xMsExampleExtractor bug
- support calculate test scenario operation coverage
- OAV runner support step scope variables
- Fix runner armTemplate output as runtime variable
- Runner support identify step level variables by using different variable name prefix.
- Isolate RP when running transform on cache model in live validator so that the transform won't fail on global cache level
- Fix type error in nullableTransformer
- Throw exception when getting error in transformLoadedSpecs at livevalidator initialization
- Improve wording of error messages
- Support resolve body variables in armTemplate
- Do not write default variable with placeholder
- Fix validate-traffic file path resolved error.
- Fix generate-examples can't generate some http code in response
- Refactor semantic validation using AJV
- Enable url path for a swagger loading
- Add runner architecture drawio
- Oav runner run test scenarios sequentially
- Oav runner can reuse the 'after-step' environment of the previous step in debugging mode.
- Disable checkUnderFileRoot in
Validate Traffic
command
- Oav runner support specifying option 'runId' with option 'from' and/or 'to' to debug.
- Oav runner support using env variable 'TEST_SCENARIO_JSON_ENV' to override variables in env.json.
- Replace Oav runner option 'cleanUp' with 'skipCleanUp'.
- Update README.md add gif to show API test
- Fix bug. Avoid duplicate step name when generate postman collection
- Small bug fix. Set postman collection subscriptionId env when do AAD auth
- Response diff ignore exception
- Bug Fix:
validate-traffic
command doesn't support relative path input
- Oav test scenario runner support output variables from step
- New oav command "oav run" alias for "oav run-test-scenario" command
- Oav runner support dryRun mode. Only generate postman collection
- Oav runner support predefined resourceGroup and skip cleanUp
- Test scenario schema support "requestUpdate" and "outputVariables" syntax
- Fix resourceUpdate bug
- Support
validate-traffic <traffic-path> <spec-path>
command in OAV cli
- Ignore LRO_RESPONSE_HEADER rule check in case of synchronous api call
- support extract armTemplate deployment output to variables
- small fix for passing validation-level
- optimise validation logical. Ignore readonly and secret property response check
- DO NOT output log when request method is POST
- Support level option. Current two levels: validate-request, validate-request-response. validate-request will only check request parameters. validate-request-response check both request and response.
- Improve test scenario markdown report format
- Bugfix: packaging issue for handlebar files
- Add test scenario JUnit xml report support
- add markdown report support for test scenario runner
- support rule based test scenario generation
- rename error code
- fix relative path bug
- Analyze dependency return resource id schema reference
- Bug fix: test scenario get arm deployment parameters
- Bug fix: test scenario definition step use anyOf instead of oneOf.
- Postman runner support check armTemplate deployment status
- Ignore MISSING_RESOURCE_ID rule for sub level azure resources
- Supports different log types in livevalidator
- test scenario runner support overwrite location, armEndpoint, subscriptionId
- Optimise report blob path.
- Support mask client secret, token and swagger sensitive data
- Refine report schema
- Response diff ignore Id, location, datetime.
- Bump handlebars version to fix vulnerability issue
- Support example generation with multiple operations input
- Added more logging and duration to live validator
- Support auto upload generated file to azure blob.
- Support mask bearer token
- generate-static-test-scenario support generate readme.test.md
- Support auto generate test scenario based on resource type.
- Support directly run test scenario file with embedded internal newman runner
- Support analyze dependency from readme tag.
- Update error message of some rules to align to the document
- Support load test-scenario file
- Support generate postman collection from test-scenario
- Add new rules of 'LRO_RESPONSE_HEADER' and 'LRO_RESPONSE_CODE'.
- Add option of 'isArmCall' to differentiate rulesets for Arm and RpaaS in validation apis.
- Fixed the mock value of 'location' header and 'azure_AsyncOperation' header.
- Add new rule of 'MISSING_RESOURCE_ID'.
- Add option of 'isArmCall' to differentiate rulesets for Arm and RpaaS.
- Bump version to republish since previous version is stuck to be fetched.
- Bugfix collect correct err.data in discriminator validation for multiple level allOf
- Bugfix for example generator: resolve reference undefined property.
- Bugfix should copy required array for allOf transformer
- Bugfix collect correct err.data in discriminator validation
- Enable support for test scenario parsing
- Ignore required validation rule in response when x-ms-secret is true
- Ignore schema validation when request body is not required and value is empty {}
- Replace ts-common libraries by openapi-tools-common single library
- Adding example generation functionality
- Bugfix show source in response code not found
- Bugfix error on response body root
- Bugfix content type
- Downgrade tsconfig target to es2018
- Bugfix Don't report error if readme.md is found outside of rootpath
- Remove readonly/writeonly/secret value in description and params
- Bugfix exclusiveMinimum not reported
- Adding new code DISCRIMINATOR_VALUE_NOT_FOUND
- Upgrade yasway with removing clonedeep when validate schema.
- Fix the bug that the value of 'x-ms-secret' should be boolean instead of string.
- Avoid adding nullable value for parameter when its' type isn't string
- Output exception infomation for semantic validation
- Output exception information when pretty switch is enabled.
- Instead of replacing all the special characters in path parameters, only replace the part of parameter value which start with (http:|https:)
- Upgrade ms-rest version to 2.5.4
- Upgrade yasway version including the fix on regression issue of customvalidator.
- Upgrade yasway version including the fix on global parameter in request validation and x-ms-mutability check for read in request.
- Enabled request parameter suppression in model validation.
- Fixed oav does not report the invalid internal references error issue. Added a function (verfiyInternalReference) to check the error.
- Normalize the path parameter values by using whilelist (0-9a-zA-Z._) to fix the issue of validate-example failed which caused by host path parameter values including special characters (:)
- Fixed typeerror in live validator when search operation in case of unknownapiversion
- Upgrade openapi-markdown package version
- Upgrade virtual-fs package version
- Fall back to match child resource in live validator
- The path matching for subscription and provider in Live validation should be case-insensitive.
- Add base model name as a value to discriminator enum value list.Issue#468
- security vulnerability fix for handlebars, kind-of and lodash
- Upgrade yasway and z-schema version.
- Change the swaggerPathsPattern of LiveValidatorOptions to array type
- Upgrade yasway version to consume the change for x-ms-secret property update
- Resource provider and API version should be case-insensitive in live validation
- Upgrade yasway version to reflect the deep clone performance improvement change
- Support x-ms-mutability in the response validation. If there's a write-only x-ms-mutabitlity property in the response, report an error
- Extends logging for live validator to log performance metrics, correlationId and structured request information.
- Add an optional logging callback to consume by livevalidator in order to dump log to external caller.
- Update the yasway version to 1.8.5.
- Add the new validation error code of SECRET_PROPERTY.
- Report example position for request parameter errors Issue#423.
- Fixed internal error when load invalid local reference file Issue#449.
- Fixed internal error when load empty reference file Issue#444.
- Add package.lock file to lock the version of dependencies.
- Update the error handling when loading and parsing suppression files.
- Fixed validation of nullable array types if they were defined as tope level models or transformed into top level models in the
"definitions"
object. Fixes #437. - Fixed an issue where
"properties": {}
was being incorrectly added to a schema with"$ref"
in the response or a top levelarray
.
- Add support for validating discriminator is required and also the support for suppression.Issue#386.
- Update TypeScript to 3.5
@types/jsonpath
is a dependency becausePathComponent
type from the package is exported inlib/util/validationError.ts
.
- Modify path in payload for MISSING_REQUIRED_PROPERTIES and for OBJECT_ADDITIONAL_PROPERTIES to point to the actual property.
- Adding support for JSON path & schema path in errors.
- Improved model validation when example provides the response body however the spec doesn't have a schema for the response and vice-versa.
- Added support for JSON path & schema path in errors.
- Better error reporting for spec reference pointing to invalid files.
- Update cache initialization in live validator to
Promise.all()
. - Update package version of
yuml2svg
dependency (since it contains typescript definitions). - Add support for validating
readOnly
properties in the request. - Limiting dependencies on
@types/lodash
andtypescript
due to stricter type definition rules in the later versions.
- Use node env for jest #422.
- Validate request body when it is a JSON object.
- The
isSuccessful
isundefined
in case of an existingruntimeException
. RequestResponseLiveValidationResult
has a runtimeExceptions field instead of an errors field.
- Live Validation mode is now skipping validating for errors not specified when using the
includeErrors
option. - The types
RequestValidationResult
andResponseValidationResult
have been replaced with theLiveValidationResult
type.
- OAV should exit with code
1
if it finds errors. - Breaking changes in SpecValidationResult, CommonValidationResult.
- Polymporphic anyOf's will be validated only against the matching subschema and any error wont be nested.
- Inner errors will have the
LiveValidationIssue
type instead ofobject
.
- Allow for live validation to exclude/include specific errors.
- Refactor live validator and new types for validation results.
- Expose separate request and response validate methods.
- Expose types for live validation parameters.
processValidationErrors
,serializeErrors
andgetPotentialOperations
are not exported anymore. Validation methods automatically call these.
- Don't parse examples when not needed.
- Remove example references when not needed to avoid "UNRESOLVABLE_REFERENCE" errors.
- Change test runner to jest.
- Don't resolve x-ms-examples for live validation and for semantic validation.
- Fixing linting and coding style issues.
INTERNAL_ERROR
as an error code.
- OAV shouldn't parse
error.title
twice.
- Use one cache per SpecValidator inside the LiveValidator.
- Add doc cache during
LiveValidator initialization
to reduce memory footprint and execution time.
- Remove package level global doc cache.
- Remove external exports of
clearCache()
and ofexecutePromisesSequentially()
- Polymorphic models should have
"type": "object"
.
- Fixing
ONE_OF_MULTIPLE
. It was caused byx-ms-enum.modelAsString
which validates discriminators as an unrestricted strings
- Provide url and file position for these errors:
RESPONSE_STATUS_CODE_NOT_IN_SPEC
,RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE
,XMS_EXAMPLE_NOT_FOUND_ERROR
,DOUBLE_FORWARD_SLASHES_IN_URL
,RESPONSE_SCHEMA_NOT_IN_SPEC
, andREQUIRED_PARAMETER_EXAMPLE_NOT_FOUND
.
- Provide url and file position for
RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE
errors.
- Update
z-schema
.
- Handle
text-matches
in suppression.
- JSON types are updated.
- Simplify model and semantic property names.
errorCode
becomescode
anderrorDetails
becomesdetails
.
- Replace an example object with a function to avoid reference resolutions in examples.
- Remove JS symbols from errors to avoid logging failure.
- remove
ts-node
- exporting NodeError to consume it outside of oav..
- no default response for non errors.
- update
@ts-common/virtual-fs
to retry network requests.
- no
CloudError
generation.
- Properly handle JSON errors
- update
@ts-common/json-parser
to properly handle UNICODE escape symbols.
- catch
jsonpath
exceptions. - Better internal structure.
- Improve exception/error message.
- Use
z-schema
instead of@ts-common/z-schema
.
- Remove
rewire()
package.
- getErrorsFromSemanticValidation().
- Improve error types.
- Suppressions may have multiple
where
andfrom
fields. OAV didn't handle it properly.
- a source map for CloudError
- a bug fix for embedded examples.
- update swagger definition
- switch to Azure DevOps.
- switch from
@ts-common/azure-openapi-markdown
to@azure/openapi-markdown
.
- exported functions don't catch exceptions.
- Provide Title for all Schema Objects.
- Additional source map for generated Schema objects.
- Update
@ts-common/azure-openapi-markdown
package.
- Fix a bug applying suppressions from HTTPS.
- Fix a bug in ReadFile from HTTPS.
- Get suppressions from HTTPS.
- Fix
@ts-common/source-map
.d.ts
files.
- Suppress promise rejection.
- Fix URL encoding test.
- Fix yasway.
- Suppression API is changed.
- Suppression supports relative file and object paths.
- Source Map for
.d.ts
files.
- Source Map
- Bug fix for
resolve-spec
CLI (#320)
- Semantic validation warning bug fix.
- Suppression.
where
is not supported yet.
- Correcting where we add url and position information to semantic validation errors.
- Adding url and position to source where issue occurs for semantic validation errors.
- Adding pretty printing to validate-spec command, --pretty option.
- xMsExamplesExtractor bug fix #309
- OAV is using '@ts-common/z-schema' instead of 'z-schema'
- Fix JSON-Pointer encoding.
- Errors have optional
jsonUrl
andjsonPosition
fields.
- CloudError proper fix
- CloudError bug fix #300.
- Simplified source-map
- Friendly nested definition name
- Bug fix for
"type": "file"
- File URL and position in title
- File URL and position
- New transformation functions.
- Collapse of similar errors for array elements in
similarPaths
property on the error.
- 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.