Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (apidom-validate-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
apidom-validate-cli
CLI validator for ApiDOM files using the ApiDOM Language Service.
Usage
npx apidom-validate-cli <file>Example
npx apidom-validate-cli ./openapi.yamlOutput:
/openapi.yaml
11:21 error type must be one of allowed values 10001
161:11 warning property "example" is deprecated, use "examples" instead 10069
✖ 2 problems (1 errors, 1 warnings)Credits
This CLI tool was heavily inspired by the swaggerexpert/apidom-validate GitHub Action, especially the implementation patterns for using the ApiDOM Language Service.