Skip to content

Commit

Permalink
Disambiguate uses of PublicRoomsChunk` (#1740)
Browse files Browse the repository at this point in the history
* Disambiguate uses of PublicRoomsChunk

Make sure that different objects don't share the same title.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
  • Loading branch information
zecakeh authored Mar 7, 2024
1 parent a1210ff commit 9fdc7ac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1740.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disambiguate uses of `PublicRoomsChunk` in the `GET /hierarchy` endpoint.
1 change: 1 addition & 0 deletions changelogs/server_server/newsfragments/1740.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disambiguate uses of `PublicRoomsChunk` in the `GET /hierarchy` endpoint.
2 changes: 1 addition & 1 deletion data/api/client-server/space_hierarchy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ paths:
allOf:
- $ref: definitions/public_rooms_chunk.yaml
- type: object
title: ChildRoomsChunk
title: SpaceHierarchyRoomsChunk
properties:
room_type:
type: string
Expand Down
2 changes: 2 additions & 0 deletions data/api/server-server/space_hierarchy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ paths:
allOf:
- $ref: ../client-server/definitions/public_rooms_chunk.yaml
- type: object
title: SpaceHierarchyParentRoom
properties:
room_type:
type: string
Expand Down Expand Up @@ -106,6 +107,7 @@ paths:
allOf:
- $ref: ../client-server/definitions/public_rooms_chunk.yaml
- type: object
title: SpaceHierarchyChildRoomsChunk
properties:
room_type:
type: string
Expand Down

0 comments on commit 9fdc7ac

Please sign in to comment.