From 5da2045caded2f8c0a098d33893b03787a70b874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 13 Sep 2023 15:58:32 +0200 Subject: [PATCH] Deduplicate event object tables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes duplicate definitions of PushRule and PushCondition Signed-off-by: Kévin Commaille --- layouts/partials/events/render-event.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/events/render-event.html b/layouts/partials/events/render-event.html index 0f4d543d..f0c50c95 100644 --- a/layouts/partials/events/render-event.html +++ b/layouts/partials/events/render-event.html @@ -57,6 +57,7 @@ {{ $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 = uniq $additional_types }} {{ range $additional_types }} {{ partial "openapi/render-object-table" . }}