mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
🐛 Fix OpenAPI definition generation (#3418)
Signed-off-by: Alexandre Franke <alexandre.franke@matrix.org> Co-authored-by: Alexandre Franke <alexandre.franke@matrix.org>
This commit is contained in:
parent
6226a47543
commit
26c0c88882
|
|
@ -71,7 +71,7 @@ output = {
|
||||||
# The servers value will be picked up by RapiDoc to provide a way
|
# The servers value will be picked up by RapiDoc to provide a way
|
||||||
# to switch API servers. Useful when one wants to test compliance
|
# to switch API servers. Useful when one wants to test compliance
|
||||||
# of their server with the API.
|
# of their server with the API.
|
||||||
"servers": {
|
"servers": [{
|
||||||
"url": "https://{homeserver_address}/",
|
"url": "https://{homeserver_address}/",
|
||||||
"variables": {
|
"variables": {
|
||||||
"homeserver_address": {
|
"homeserver_address": {
|
||||||
|
|
@ -79,7 +79,7 @@ output = {
|
||||||
"description": "The base URL for your homeserver",
|
"description": "The base URL for your homeserver",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}],
|
||||||
"schemes": ["https"],
|
"schemes": ["https"],
|
||||||
"info": {
|
"info": {
|
||||||
"title": "Matrix Client-Server API",
|
"title": "Matrix Client-Server API",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue