Skip to content

同じファイル内の$refが参照できていなかったので修正 #201

同じファイル内の$refが参照できていなかったので修正

同じファイル内の$refが参照できていなかったので修正 #201

Workflow file for this run

name: Lint OpenAPI
on:
pull_request:
branches:
- main
workflow_call:
jobs:
lint-definitions:
name: Lint OpenAPI definitions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install redocly-cli
uses: ./.github/actions/install-redocly-cli
- name: Lint OpenAPI yml
run: redocly lint ./schema/openapi.yml
lint-examples:
name: Lint OpenAPI examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install redocly-cli
uses: ./.github/actions/install-redocly-cli
- name: Bundle OpenAPI yml
run: redocly bundle ./schema/openapi.yml -o ./bundled-openapi.yml
- name: Install openapi-examples-validator
run: npm install -g openapi-examples-validator
- name: Lint examples
run: openapi-examples-validator ./bundled-openapi.yml