Revert "API: generate /api/state documentation from UI types" (#32109)
This commit is contained in:
parent
cd9812ef14
commit
9c88523682
42 changed files with 3359 additions and 8732 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
|
||||
npx --yes @redocly/cli@2 bundle ./server/openapi.yaml -o ./openapi-deploy/openapi.yaml
|
||||
cp ./server/openapi.yaml ./openapi-deploy/openapi.yaml
|
||||
|
||||
- name: Deploy OpenAPI spec to docs repo
|
||||
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4
|
||||
|
|
|
|||
3
.github/workflows/openapi-validate.yml
vendored
3
.github/workflows/openapi-validate.yml
vendored
|
|
@ -8,7 +8,6 @@ on:
|
|||
pull_request:
|
||||
paths:
|
||||
- "server/openapi.yaml"
|
||||
- "server/openapi.state.yaml"
|
||||
- ".github/workflows/openapi-validate.yml"
|
||||
|
||||
jobs:
|
||||
|
|
@ -23,4 +22,4 @@ jobs:
|
|||
with:
|
||||
go-version: stable
|
||||
- name: Validate OpenAPI spec
|
||||
run: go run github.com/getkin/kin-openapi/cmd/validate@v0.133.0 -ext -- server/openapi.yaml
|
||||
run: go run github.com/getkin/kin-openapi/cmd/validate@v0.133.0 -- server/openapi.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue