🩹 Response 응답 여러개일 경우 코드 생성 문제 수정 및 리펙터링 #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OpenAPI Validation | |
on: | |
push: | |
paths: | |
- 'openapi.yaml' | |
pull_request: | |
paths: | |
- 'openapi.yaml' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '14' | |
- name: Install OpenAPI validator | |
run: npm install -g @apidevtools/swagger-cli | |
- name: Validate OpenAPI specification | |
run: swagger-cli validate openapi.yaml |