Skip to content

redoc-lint-github-action

Actions
Runs the Redocly Open API CLI lint over your open api document
v4
Latest
Star (1)

redoc-lint-github-action

This action allows you to lint your OpenAPI file.

Credits

This Github Action is a wrapper for Redocly's Open API CLI openapi-cli lint command.

Inputs

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.

Example Usage

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.

About

Runs the Redocly Open API CLI lint over your open api document
v4
Latest

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.