Disambiguate uses of PublicRoomsChunk` (#1740)

* Disambiguate uses of PublicRoomsChunk

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

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
pull/1748/head
Kévin Commaille 9 months ago committed by GitHub
parent a1210ff6d1
commit 9fdc7ac38f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Disambiguate uses of `PublicRoomsChunk` in the `GET /hierarchy` endpoint.

@ -0,0 +1 @@
Disambiguate uses of `PublicRoomsChunk` in the `GET /hierarchy` endpoint.

@ -92,7 +92,7 @@ paths:
allOf: allOf:
- $ref: definitions/public_rooms_chunk.yaml - $ref: definitions/public_rooms_chunk.yaml
- type: object - type: object
title: ChildRoomsChunk title: SpaceHierarchyRoomsChunk
properties: properties:
room_type: room_type:
type: string type: string

@ -63,6 +63,7 @@ paths:
allOf: allOf:
- $ref: ../client-server/definitions/public_rooms_chunk.yaml - $ref: ../client-server/definitions/public_rooms_chunk.yaml
- type: object - type: object
title: SpaceHierarchyParentRoom
properties: properties:
room_type: room_type:
type: string type: string
@ -106,6 +107,7 @@ paths:
allOf: allOf:
- $ref: ../client-server/definitions/public_rooms_chunk.yaml - $ref: ../client-server/definitions/public_rooms_chunk.yaml
- type: object - type: object
title: SpaceHierarchyChildRoomsChunk
properties: properties:
room_type: room_type:
type: string type: string

Loading…
Cancel
Save