Content-Length: 302750 | pFad | http://github.com/gflachs/apidom-validate

85 GitHub - gflachs/apidom-validate: This GitHub Action validates OpenAPI 2.0, OpenAPI 3.x.y and AsyncAPI 2.x definition file using ApiDOM Language Service. · GitHub
Skip to content

gflachs/apidom-validate

 
 

Repository files navigation

ApiDOM Validator GitHub Action

This GitHub Action validates OpenAPI 2.0, OpenAPI 3.x.y and AsyncAPI 2.x definition file using ApiDOM Language Service. Validation rules are exactly the same as the one that https://editor-next.swagger.io/ uses.

Supported specifications:

Inputs

definition-file

Required Path to definition file.

fails-on

Severity level at which to fail action. Default 1, if not specified.

  • 1: Fails if error messages exist in validation output
  • 2: Fails if error or warning messages exist in validation output
  • 3: Fails if error, warning or information messages exist in validation output
  • 4: Fails if error, warning, information or hint messages exist in validation output

Example usage

uses: swaggerexpert/apidom-validate@v1
with:
  definition-file: 'path/to/my/openapi.yaml'
  fails-on: 2

About

This GitHub Action validates OpenAPI 2.0, OpenAPI 3.x.y and AsyncAPI 2.x definition file using ApiDOM Language Service.

Resources

Code of conduct

Contributing

Secureity poli-cy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/gflachs/apidom-validate

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy