Generate server-server OpenAPI definition (#1657)

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
pull/1661/head
Kévin Commaille 1 year ago committed by GitHub
parent 242b62ed55
commit 72517c0f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,6 +107,11 @@ jobs:
--api push-gateway \ --api push-gateway \
-r "$RELEASE" \ -r "$RELEASE" \
-o spec/push-gateway-api/api.json -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 tar -czf openapi.tar.gz spec
- name: "📤 Artifact upload" - name: "📤 Artifact upload"
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2

@ -0,0 +1 @@
Generate server-server OpenAPI definition.
Loading…
Cancel
Save