Skip to content

Open API: getRoomKeys is missing required flag #3485

@Dominaezzz

Description

@Dominaezzz

Link to problem area:

https://github.com/matrix-org/matrix-doc/blob/1ad5ff4179cfa2b62d6be47ad6ed8bde95ec2e41/data/api/client-server/key_backup.yaml#L852-L880

Issue

This field is missing required: true like is done here.
The description says that if no keys are found, then empty (but not omitted) rooms property will be returned.

This whole schema should probably just be de-duplicated into the definitions folder like so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    aestheticA suggestion or issue relating to the representation of the spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions