Skip to content

Commit

Permalink
📝docs : api docs 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DDonghyeo authored May 17, 2024
1 parent 94ad6a9 commit 8873c76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/apiDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'join noti.json --prefix-tags-with-filename=true user.json --prefix-tags-with-filename=true weather.json --prefix-tags-with-filename=true --output api.json'
args: 'join noti.json --prefix-tags-with-filename=true user.json --prefix-tags-with-filename=true weather.json --prefix-tags-with-filename=true --output ./api.json'

- name : ls
run : |
Expand All @@ -40,18 +40,18 @@ jobs:
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'bundle api.json --output api.yaml --ext yaml'
args: 'bundle ./api.json --output ./api.yaml --ext yaml'

- name: Rename Yaml Title & Desc
run: |
cat api.yaml
yq -i '.info.title = "Waither Backend API Document for FrontEnd"' api.yaml
yq -i '.info.description = "Please contact Petstore backend if there are any issues with API"' api.yaml
cat ./api.yaml
yq -i '.info.title = "Waither Backend API Document for FrontEnd"' ./api.yaml
yq -i '.info.description = "Please contact Petstore backend if there are any issues with API"' ./api.yaml
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'build-docs api.yaml --output index.html'
args: 'build-docs ./api.yaml --output ./index.html'

# 웹페이지 Repository에 Push 합니다.
- name: Install SSH Key
Expand Down

0 comments on commit 8873c76

Please sign in to comment.