oav
oav copied to clipboard
Tools for validating OpenAPI (Swagger) files.
Can you please provide more examples of using `validate-traffic`. I have tried passing a directory as the `` and `oav` spots if _that directory does not exist_ but I don't...
Current READONLY_PROPERTY_NOT_ALLOWED_IN_REQUEST rule disallows RO properties in PUT/PATCH examples. The message indicates the RO properties should be removed, but implies that the spec is invalid and RO properties should be...
We’re from the Arc for VMware team and our swagger PR is currently blocked due to the failing ModelValidation check. https://github.com/Azure/azure-rest-api-specs-pr/pull/13042/checks?check_run_id=14394025806 As part of this PR https://github.com/Azure/azure-rest-api-specs-pr/pull/12897, format arm-id has...
[This PR](https://github.com/Azure/azure-rest-api-specs-pr/pull/11802/files) is facing `ModelValidation` errors. One failure code in two methods: As far as I can tell for both cases, the examples actually implement this _properly_. This tells me...
we are planning to deprecate `@azure/core-http` in the near future. It looks that the usage in this repo are - HttpMethods - HttpHeaders we have similar API in the newer...
Missing errorCode: - CLIENT_ERROR - SERVER_ERROR - ASSERTION_ERROR Documentation: https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/api-scenario/references/ErrorCodeReference.md
Also purge operations should be after delete operations, for management-plane _Originally posted by @leni-msft in https://github.com/Azure/oav/issues/923#issuecomment-1386615081_
Scenario file: https://github.com/leni-msft/azure-rest-api-specs/blob/869ebd6dabfb16ef9ccdb7858b810c232e0f4996/specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/scenarios/EncodingTests.yaml Error: EncodingTests ❏ EncodingTests ↳ Transforms_CreateOrUpdate POST https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token [200 OK, 2.13kB, 423ms] PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaServices/contosomedia/transforms/transforazmc6u?api-version=2022-07-01 [404 Not Found, 658B, 91ms] ┌ │ `{"error":{"code":"SubscriptionNotFound","message":"The subscription '00000000-0000-0000-0000-000000000000' could not be...
For example, Operations_List API a special case in RPaaS: https://armwiki.azurewebsites.net/rpaas/operationsapi.html?tabs=az-cli . So when auto generating API Scenario for local OneBox based API test, the Operations_List API can be bypassed. Related...