matrix-spec/layouts/partials/openapi
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
..
render-api.html Add templates used to render data 2021-08-27 19:16:42 +01:00
render-object-table.html Present OpenAPI additionalProperties field 2022-07-04 21:24:56 +01:00
render-operation.html Move prev_content to unsigned (#3524) 2021-12-02 17:22:58 +00:00
render-parameters.html Fix x-changedInMatrixVersion for API parameters (#1011) 2022-03-29 23:17:51 +01:00
render-request.html Present OpenAPI additionalProperties field 2022-07-04 21:24:56 +01:00
render-responses.html Fix rendering of responses with empty bodies (#3674) 2022-01-26 10:50:09 +00:00