Skip to content

Commit 3130430

Browse files
The one with the braid (she/her) | Dфҿ mit dem Zopf (sie/ihr)turt2live
andauthored
fix: spaces hierarchy paramater types (#1097)
* fix: spaces hierarchy paramater types - changed `limit` parameter type to integer - changed `query` parameter type to integer A floating number does not make any sense here. Also, at least Synapse does not allow floating point numbers in here. Signed-off-by: TheOneWithTheBraid <[email protected]> * Update changelogs/client_server/newsfragments/1097.clarification Co-authored-by: Travis Ralston <[email protected]>
1 parent 10bd1b5 commit 3130430

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix various typos throughout the specification.

data/api/client-server/space_hierarchy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ paths:
5858
contents.
5959
x-example: true
6060
- in: query
61-
type: number
61+
type: integer
6262
name: limit
6363
description: |-
6464
Optional limit for the maximum number of rooms to include per response. Must be an integer
@@ -67,7 +67,7 @@ paths:
6767
Servers should apply a default value, and impose a maximum value to avoid resource exhaustion.
6868
x-example: 20
6969
- in: query
70-
type: number
70+
type: integer
7171
name: max_depth
7272
description: |-
7373
Optional limit for how far to go into the space. Must be a non-negative integer.

0 commit comments

Comments
 (0)