@dry-lint/openapi
v3.0.0
Published
Detect duplicate or near-duplicate definitions in OpenAPI and Swagger documents.
Maintainers
Readme
@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.
Install
bun add -D @dry-lint/openapiConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/openapi"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
