-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Swagger Avocado
Mike Harder edited this page Apr 7, 2025
·
6 revisions
Check "Swagger Avocado" is a thin wrapper around package @azure/avocado
, which is hosted in its own repo and published to npmjs.
Repo: https://github.com/Azure/avocado
Package: https://www.npmjs.com/package/@azure/avocado
https://github.com/Azure/avocado?tab=readme-ov-file#how-to-solve-errors
$ cd azure-rest-api-specs
$ npm ci
$ npx avocado --excludePaths common-types -d specification/contosowidgetmanager
Workaround is for PR reviewer to apply label Approved-Avocado
until tool issues are fixed.
- Allow specs with readme.md in sub-folders under resource-manager
- Fails on "missing APIs in default tag" even if they have been deprecated and/or removed
- Move code for check and package to specs repo (https://github.com/Azure/azure-rest-api-specs/issues/32398)