From ae7317f0cc299209c303a273c1c93ee8a423b1a6 Mon Sep 17 00:00:00 2001 From: Axel Baudot <74733630+axelbdt@users.noreply.github.com> Date: Tue, 18 Jul 2023 03:23:54 -0400 Subject: [PATCH] Add schema editor for object advanced properties (#1860) Co-authored-by: Ruben Fiszel Co-authored-by: Faton Ramadani --- .../src/lib/components/SchemaEditor.svelte | 3 +- .../src/lib/components/SchemaModal.svelte | 37 +++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/components/SchemaEditor.svelte b/frontend/src/lib/components/SchemaEditor.svelte index a6a186d951..7c00971798 100644 --- a/frontend/src/lib/components/SchemaEditor.svelte +++ b/frontend/src/lib/components/SchemaEditor.svelte @@ -61,7 +61,8 @@ enum: schema.enum_, items: schema.items, contentEncoding: schema.contentEncoding, - format: schema.format + format: schema.format, + properties: schema.schema?.properties } } function handleAddOrEditArgument(modalProperty: ModalSchemaProperty): void { diff --git a/frontend/src/lib/components/SchemaModal.svelte b/frontend/src/lib/components/SchemaModal.svelte index 99b77cae1b..23663d1ea8 100644 --- a/frontend/src/lib/components/SchemaModal.svelte +++ b/frontend/src/lib/components/SchemaModal.svelte @@ -1,5 +1,9 @@