docs-matrix-spec/data/api/server-server/definitions
Kévin Commaille 60339adb2d
Refactor PDU definitions to reduce duplication (#2070)
First of all, all PDU definitions were based on the v1 PDU definition with a few fields overwritten to change the format with needed.
While that works when rendering the spec, this is semantically incorrect because it means that the objects must match both schemas, which is impossible.

So now we make a base with only the common fields, and we add the others as needed by the room version.
Note that there is no more "unsigned PDU" definition since it is not used directly, and hashes and signatures are the same across all versions.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-03-04 17:08:42 +00:00
..
components Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
event-schemas Use patternProperties in more places with supported formats (#1813) 2024-05-08 13:59:17 +00:00
edu.yaml Fix edu_type on EDU examples (#1383) 2022-12-21 16:23:50 +00:00
edu_with_example.yaml Fix edu_type on EDU examples (#1383) 2022-12-21 16:23:50 +00:00
invite_event.yaml Move room version spec to /rooms (#3423) 2021-10-12 14:47:03 -06:00
keys.yaml Use "server name" instead of "DNS name" to avoid confusion (#1946) 2024-09-11 08:56:14 -04:00
keys_query_response.yaml Move raw API and event schemas into /data directory 2021-08-27 19:16:39 +01:00
pdu_v1.yaml Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
pdu_v3.yaml Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
pdu_v4.yaml Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
pdu_v11.yaml Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
security.yaml Fix security schemes in OpenAPI definitions (#1772) 2024-04-09 18:12:30 +02:00
single_pdu_transaction.yaml Dump additional apis (#3684) 2022-02-02 08:51:07 -07:00
transaction.yaml Fix edu_type on EDU examples (#1383) 2022-12-21 16:23:50 +00:00
unlimited_pdu_transaction.yaml Dump additional apis (#3684) 2022-02-02 08:51:07 -07:00