API: generate /api/state documentation from UI types (#31530)
This commit is contained in:
parent
bacca990ee
commit
542a01fa20
42 changed files with 8786 additions and 3351 deletions
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
- name: Prepare OpenAPI spec
|
||||
run: |
|
||||
mkdir -p ./openapi-deploy
|
||||
cp ./server/openapi.yaml ./openapi-deploy/openapi.yaml
|
||||
npx --yes @redocly/cli@2 bundle ./server/openapi.yaml -o ./openapi-deploy/openapi.yaml
|
||||
|
||||
- name: Deploy OpenAPI spec to docs repo
|
||||
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue