oav
oav copied to clipboard
Tools for validating OpenAPI (Swagger) files.
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). Commits d962d70 [dist] 7.5.10 22c2876 [security] Fix...
Bumps [jose](https://github.com/panva/jose) to 5.6.3 and updates ancestor dependency [newman](https://github.com/postmanlabs/newman). These dependencies need to be updated together. Updates `jose` from 4.14.4 to 5.6.3 Release notes Sourced from jose's releases. v5.6.3 Fixes...
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.2.2 to 6.3.0. Release notes Sourced from path-to-regexp's releases. Fix backtracking in 6.x Fixed Add backtrack protection to 6.x (#324) f1253b4 https://github.com/pillarjs/path-to-regexp/compare/v6.2.2...v6.3.0 Commits 75a92c3 6.3.0 f1253b4 Add...
If a spec has a circular reference, `oav generate-examples` will fail with a warning `foo is null, it may be caused by circular reference`. An example is this PR as...
We have introduced canonical swagger for [Multi-Versioning in Azure Process (Canonical Version) ](https://microsoft-my.sharepoint.com/:w:/p/jobreen/EdiX_Xv3wzlAoQuJtoQ35m4BwluAe3NuuyFJ40uQBa8AWg?e=K7lV1O). Basically, the canonical swagger file is a union of versioned swaggers. Here is an example of the...
The swagger semantic validation check is reporting a [MULTIPLE_BODY_PARAMETERS error](https://github.com/Azure/azure-rest-api-specs/pull/32527/checks?check_run_id=47158084254) on this PR: https://github.com/Azure/azure-rest-api-specs/pull/32527 I've tried to suppress in the following ways, however neither method seems to work: ```yaml suppressions:...
Hi, While working on the TypeSpec for Microsoft Planetary computer, we found that oav and TypeSpec tools validate examples differently. Specifically, if a path parameter is a number, oav still...
Location-based resources (e.g. defined via the [`@locationResource` decorator](https://azure.github.io/typespec-azure/docs/howtos/arm/resource-type/#location-based-resource) in TypeSpec) have a resource ID following the format `/subscriptions/{subscriptionId}/locations/{location}/providers/Microsoft.Contoso/employees`. The current `arm-id` format does not allow such resource IDs: https://github.com/Azure/oav/blob/develop/lib/swaggerValidator/ajv.ts#L137-L146, and...
Still pending conformation from the RPaaS team, but Wendy is thinking the following. Waiting on confirmation from roopesh for the strategy. ### RPaaS's payload to OAV ``` { ... //...
## Repro ``` $ npx oav generate-examples widgets.json; npx oav validate-example widgets.json ``` If you remove `description` from `PagedWidgetSuite`, somehow validate-example **doesn't** throw an error. ## Expected No errors ##...