Skip to content

docs(openapi): Proposal for better OpenAPI definitions #7

docs(openapi): Proposal for better OpenAPI definitions

docs(openapi): Proposal for better OpenAPI definitions #7

name: check-definitions
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- name: Lint proto
uses: bufbuild/buf-lint-action@v1
- name: Breaking proto
uses: bufbuild/buf-breaking-action@v1
with:
against: "https://github.com/instill-ai/protobufs.git#branch=main,ref=HEAD~1"
- name: Lint openapi
uses: mhiew/redoc-lint-github-action@v3
with:
args: openapiv2/openapiv2.swagger.yaml