Fix relative URLs when serving the specification with a custom baseURL (#1984)

This commit is contained in:
Kévin Commaille 2024-11-14 12:11:34 +01:00 committed by GitHub
parent b1f66d1b71
commit bf8dee74eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
61 changed files with 101 additions and 92 deletions

View file

@ -216,8 +216,8 @@ paths:
using the `origin_server_ts` property, whether the returned event is
closer to the requested timestamp than the closest event that it could
find locally. If so, it should try to backfill this event via the
[`/event/{event_id}`](#get_matrixfederationv1eventeventid) endpoint so
that it is available to for a client to query.
[`/event/{event_id}`](/server-server-api/#get_matrixfederationv1eventeventid)
endpoint so that it is available to for a client to query.
operationId: getEventByTimestamp
security:
- accessToken: []

View file

@ -155,7 +155,7 @@ paths:
The request is invalid, the room the server is attempting
to join has a version that is not listed in the `ver`
parameters, or the server was unable to validate
[restricted room conditions](#restricted-rooms).
[restricted room conditions](/server-server-api/#restricted-rooms).
The error should be passed through to clients so that they
may give better feedback to users.

View file

@ -75,7 +75,7 @@ paths:
items:
type: string
description: |-
If the room is a [restricted room](#restricted-rooms), these are the room IDs which
If the room is a [restricted room](/server-server-api/#restricted-rooms), these are the room IDs which
are specified by the join rules. Empty or omitted otherwise.
children_state:
type: array
@ -119,7 +119,7 @@ paths:
items:
type: string
description: |-
If the room is a [restricted room](#restricted-rooms), these are the room IDs which
If the room is a [restricted room](/server-server-api/#restricted-rooms), these are the room IDs which
are specified by the join rules. Empty or omitted otherwise.
inaccessible_children:
type: array