From f4c8c80c3b6e4da48592fed9de79d285e29744b5 Mon Sep 17 00:00:00 2001 From: sebdet Date: Thu, 2 Apr 2020 13:33:19 +0200 Subject: Change generated json schema Add tabs-top format for array in the policy json schema generated + add a default case for payload Issue-ID: CLAMP-810 Signed-off-by: sebdet Change-Id: I5cca893cda57838c0244fc82974dd5519e787506 --- src/test/resources/tosca/new-converter/tca-with-metadata.json | 6 ++++-- .../resources/tosca/new-converter/tosca_apex_with_metadata.json | 7 ++++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'src/test/resources') diff --git a/src/test/resources/tosca/new-converter/tca-with-metadata.json b/src/test/resources/tosca/new-converter/tca-with-metadata.json index 1b95f8c9..3a700c8e 100644 --- a/src/test/resources/tosca/new-converter/tca-with-metadata.json +++ b/src/test/resources/tosca/new-converter/tca-with-metadata.json @@ -170,7 +170,8 @@ "description": "Version number associated with the threshold" } } - } + }, + "format": "tabs-top" }, "context": { "type": "string", @@ -212,7 +213,8 @@ } } } - } + }, + "format": "tabs-top" } } } diff --git a/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json b/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json index 4cb5bd8c..58dff236 100644 --- a/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json +++ b/src/test/resources/tosca/new-converter/tosca_apex_with_metadata.json @@ -292,6 +292,10 @@ } } } + }, + { + "title": "User defined", + "properties": {} } ] }, @@ -588,7 +592,8 @@ "default": "final_success" } } - } + }, + "format": "tabs-top" }, "trigger": { "type": "string", -- cgit 1.2.3-korg