mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Generate the swagger for export
We may as well generate the unstable version of the C-S swagger.
This commit is contained in:
parent
d6f892f894
commit
cc6b16b63c
|
|
@ -9,6 +9,9 @@ mkdir -p assets
|
||||||
# generate the spec docs
|
# generate the spec docs
|
||||||
./scripts/gendoc.py -d assets/spec
|
./scripts/gendoc.py -d assets/spec
|
||||||
|
|
||||||
|
# and the swagger
|
||||||
|
./scripts/dump-swagger.py -o assets/spec/client_server/unstable.json
|
||||||
|
|
||||||
# also need the supporting-docs, which become the jekyll posts.
|
# also need the supporting-docs, which become the jekyll posts.
|
||||||
cp -rT supporting-docs assets/jekyll-posts
|
cp -rT supporting-docs assets/jekyll-posts
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue