Generate server-server OpenAPI definition (#1657)
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
242b62ed55
commit
72517c0f9c
2 changed files with 6 additions and 0 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -107,6 +107,11 @@ jobs:
|
|||
--api push-gateway \
|
||||
-r "$RELEASE" \
|
||||
-o spec/push-gateway-api/api.json
|
||||
scripts/dump-openapi.py \
|
||||
--base-url "https://spec.matrix.org${{ needs.calculate-baseurl.outputs.baseURL }}" \
|
||||
--api server-server \
|
||||
-r "$RELEASE" \
|
||||
-o spec/server-server-api/api.json
|
||||
tar -czf openapi.tar.gz spec
|
||||
- name: "📤 Artifact upload"
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
1
changelogs/internal/newsfragments/1657.feature
Normal file
1
changelogs/internal/newsfragments/1657.feature
Normal file
|
@ -0,0 +1 @@
|
|||
Generate server-server OpenAPI definition.
|
Loading…
Add table
Add a link
Reference in a new issue