add export openAPI to config
This commit is contained in:
parent
533e7c9119
commit
0903f852db
5 changed files with 67 additions and 15 deletions
6
.github/workflows/pages.yml
vendored
6
.github/workflows/pages.yml
vendored
|
|
@ -48,10 +48,8 @@ jobs:
|
|||
npm install @redocly/cli -g
|
||||
- name: Export OpenAPI docs
|
||||
run: |
|
||||
EXPORT_OPENAPI=1 python main.py
|
||||
mv openapi.json openapi-oai.json
|
||||
EXPORT_OPENAPI=1 python main.py --api-servers kobold
|
||||
mv openapi.json openapi-kobold.json
|
||||
python main.py --export-openapi true --openapi-export-path "openapi-oai.json" --api-servers OAI
|
||||
python main.py --export-openapi true --openapi-export-path "openapi-kobold.json" --api-servers kobold
|
||||
- name: Build and store Redocly site
|
||||
run: |
|
||||
mkdir static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue