apidom-validate-cli
v0.0.2
Published
CLI tool for validating Apidom files
Maintainers
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.
