Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Ke Yu e839be11c6
Add LRO header validation for data-planes swagger (#897)
* Add LRO header validation for data-planes swagger

* add azure-AsyncOperation

* Combine if condition

Co-authored-by: Ray Chen <raychen@microsoft.com>
2022-11-10 15:08:25 +08:00
Ke Yu 501faac110
Fix issues about: multipart/form-data, duration, exampleJsonPath, LRO validation and generate (#812)
* 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>
2022-06-24 17:15:32 +08:00
KeYu(AnkhSpirit) 8b657187fa
update mv tests (#718)
* repair format

* add content-type tests

* fix error

* add enum match tests

* add long running operation response tests

* add string length tests

* add write only properties and parameter required tests

* add x-ms-examples tests

* bug test

* add specPath tests

* bug test

* bug test

* add operationIds test

* update snapshot

* update snapshot

* update snapshot

* update snapshot

* update test for URL specPath

* fix LRO_RESPONSE_CODE test

* update change log

* Update ChangeLog.md

Co-authored-by: Ray Chen <raychen@microsoft.com>
2021-12-23 12:21:25 +08:00