matrix-spec/layouts/partials/json-schema
David Robertson c69ac3bb68
Present OpenAPI additionalProperties field
When looking at the "Authentication Data" type used in e.g. the account
deactivation endpoint

    https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3accountdeactivate

it was not clear to me that clients and servers should expect additional
fields in this structure (the semantics of which are implied by the
`type` of the authentication, or that of the previously established
`session`.)

In the OpenAPI spec, We occasionally mark some ojects as allowing
arbitrary additional properties (`additionalProperties: true`, or
`additionalProperties: { description: "..."}`). In other places we are
more strict and provide a schema that additional properties must satisfy.
In this PR we aim to make the first kind of additional
properties (non-strict) more visible in the rendered spec.
2022-07-04 21:24:56 +01:00
..
resolve-additional-types.html Present OpenAPI additionalProperties field 2022-07-04 21:24:56 +01:00
resolve-allof.html comments on resolve-allof (#3657) 2022-01-26 10:50:48 +00:00
resolve-example.html Fix rendering of response examples (#3584) 2022-01-04 16:47:58 +00:00
resolve-refs.html Add templates used to render data 2021-08-27 19:16:42 +01:00