mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +01:00
Deduplicate event object tables
Removes duplicate definitions of PushRule and PushCondition Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
1d4682fac9
commit
5da2045cad
|
|
@ -57,6 +57,7 @@
|
||||||
|
|
||||||
{{ $anchor_base := anchorize $event_name }}
|
{{ $anchor_base := anchorize $event_name }}
|
||||||
{{ $additional_types := partial "json-schema/resolve-additional-types" (dict "schema" $event_data.properties.content "anchor_base" $anchor_base) }}
|
{{ $additional_types := partial "json-schema/resolve-additional-types" (dict "schema" $event_data.properties.content "anchor_base" $anchor_base) }}
|
||||||
|
{{ $additional_types = uniq $additional_types }}
|
||||||
|
|
||||||
{{ range $additional_types }}
|
{{ range $additional_types }}
|
||||||
{{ partial "openapi/render-object-table" . }}
|
{{ partial "openapi/render-object-table" . }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue