redoc-lint-github-action
ActionsTags
(2)This action allows you to lint your OpenAPI file.
This Github Action is a wrapper for Redocly's Open API CLI openapi-cli lint command.
args
The entrypoint and other arguments to be provided to the openapi lint command. This is relative to your github workspace.
If args
is not specified it will default to --help
to return a list of commands.
jobs:
test_job:
runs-on: ubuntu-latest
name: Test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: openapi-lint
uses: mhiew/redoc-lint-github-action@v4
with:
args: 'test/petstore.yml'
redoc-lint-github-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.