lint:api-spec
The lint:api-check
will submit the API service OpenAPI
specification file to
the RateMyOpenAPI.com
API for an overall score.
If the score is below 95, that will be considered a failure.
Run npm run lint:api-spec
in the root to trigger this script.
Under the hood, this will run:
Terminal
./scripts/lint-api-spec.sh
Prerequisites
This requires an API key for RateMyOpenAPI.com, but they are free.