Skip to content

Commit 43e1fe6

Browse files
authored
Merge pull request #30 from traP-jp/add/openapi.yaml
add:openapi.yaml
2 parents 0da2d12 + e929526 commit 43e1fe6

File tree

3 files changed

+1720
-0
lines changed

3 files changed

+1720
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: test-front-back-api
2+
3+
on:
4+
push:
5+
branches: ["develop"]
6+
pull_request:
7+
branches: ["develop"]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: ./api/backend
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Generate API test
20+
run: docker run --rm
21+
-v ${PWD}:/local
22+
openapitools/openapi-generator-cli validate
23+
-i /local/frontend-backend.yaml
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM swaggerapi/swagger-ui:v5.3.1
2+
COPY api/backend/frontend-backend.yaml /openapi.yaml
3+
ENV SWAGGER_JSON=/openapi.yaml

0 commit comments

Comments
 (0)