* fix bug about multipart/form-data
* support duration format when generating examples
* bump oav version
* multipart form data should only have one file type parameter is required
* Report real exampleJsonPath when additional parameter includes '.'
* update logic about multipart/form-data
* still validate LRO operation when response doesn't have schema
* update exampleGeneratorTests snapshot
* update regression tests snapshot
* change the domain of LRO header
* update snapshot name
* skip error MULTIPLE_BODY_PARAMETERS when consumes includes multipart/form-data
* update test example fileName
Co-authored-by: Ray Chen <raychen@microsoft.com>
* add condition for newPathArr
* add test and change log
* upgrade package version
* add comments for newPathArr
* update comment and assert on the error path
Co-authored-by: Ray Chen <raychen@microsoft.com>
* add new rules INVALID_XMS_DISCRIMINATOR_VALUE and DISCRIMINATOR_PROPERTY_NOT_FOUND
* fix error meta param
* continue when invalid discriminator type
* fix comments
Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com>
* new version of model validation
* package info change
* Update some tests
* clean up some unused code
* support formData parameter
* fix lint issue
* update snapshot
* resolve external swagger error path
* fixed style issue
* fix error in semantic validator test while merging branch 'new-mv' (#691)
* fix snapshots
Co-authored-by: KeYu(AnkhSpirit) <33389195+KeYu-AnkhSpirit@users.noreply.github.com>
* Report error if 'discriminator' is not required
Issue #386 OAV report error if the property for 'discriminator' is not a
requried property.
* Update error object.
* Add an unittest.
* Add suppression process for discriminator.
* Fix review comment and bump up package version.