From 92057b1882e1d32d811cfdf89f890c3487a7aaa1 Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Fri, 10 Jun 2022 12:44:04 +0200 Subject: [PATCH] master > master: code py - cleanup von optionalen aspekten --- code/python/models/commands-schema.yaml | 4 ++-- code/python/models/config-schema.yaml | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/code/python/models/commands-schema.yaml b/code/python/models/commands-schema.yaml index 6a90a08..7cf1af2 100644 --- a/code/python/models/commands-schema.yaml +++ b/code/python/models/commands-schema.yaml @@ -71,8 +71,8 @@ components: type: object required: - name - - horizontal - - vertical + - word1 + - word2 properties: <<: *ref_command_properties word1: diff --git a/code/python/models/config-schema.yaml b/code/python/models/config-schema.yaml index 5a563da..00249b7 100644 --- a/code/python/models/config-schema.yaml +++ b/code/python/models/config-schema.yaml @@ -47,15 +47,26 @@ components: description: |- Options pertaining to the rudimentary setup of the app. type: object + required: + - tsp + - hirschberg properties: tsp: type: object + required: + - verbose properties: verbose: type: boolean default: false hirschberg: type: object + required: + - penality-mismatch + - penality-gap + - move-priorities + - verbose + - show properties: penality-mismatch: type: number