Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 715 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 715 Bytes

Redocly OpenAPI Lint Action

This actions uses redocly/openapi-cli to lint OpenAPI documents in a repository. It now supports OAS 3.1.

Usage

See action.yml.

name: OpenAPI Lint

on:
  - push

jobs:
  build:
    name: OpenAPI Lint
    runs-on: ubuntu-latest
    steps:
      # Check out the repository
      - uses: actions/checkout@v2

      # Run Redocly Lint
      - uses: mattpage/redocly-cli-lint-action@v0.0.1
        with:
          entrypoints: 'documents/openapi.yaml'
          config: '.redocly.yml'

TODO

  • GitHub Checks Annotations
  • Rule exceptions