@dry-lint/openapi
Part of the dry-lint monorepo.
Extracts operations, schemas, and components from OpenAPI/Swagger specifications (openapi.yaml
/ openapi.json
) so you can detect duplicate or overlapping API definitions in your RESTful contracts.
bun add -D @dry-lint/openapi
Add it to your .drylintrc.json
:
{
"plugins": ["@dry-lint/openapi"]
}
Run detection with the CLI. This plugin auto-registers itself.
MIT — see LICENSE.