master > master: code py - config schema aktualisiert
This commit is contained in:
parent
301a9c87be
commit
17ea04cfee
@ -6,10 +6,13 @@ info:
|
||||
ADS2 an der Universität Leipzig (Sommersemester 2022)
|
||||
implementiert.
|
||||
options:
|
||||
# log-level: DEBUG
|
||||
log-level: INFO
|
||||
verbose: &ref_verbose true
|
||||
tarjan:
|
||||
verbose: true
|
||||
verbose: *ref_verbose
|
||||
tsp:
|
||||
verbose: true
|
||||
verbose: *ref_verbose
|
||||
hirschberg:
|
||||
# standardwerte sind (1, 1) und (2, 1):
|
||||
penality-gap: 1
|
||||
|
@ -48,9 +48,17 @@ components:
|
||||
Options pertaining to the rudimentary setup of the app.
|
||||
type: object
|
||||
required:
|
||||
- log-level
|
||||
- tsp
|
||||
- tarjan
|
||||
- hirschberg
|
||||
properties:
|
||||
log-level:
|
||||
$ref: '#/components/schemas/EnumLogLevel'
|
||||
verbose:
|
||||
description: Global setting for verbosity.
|
||||
type: boolean
|
||||
default: false
|
||||
tarjan:
|
||||
type: object
|
||||
required:
|
||||
@ -106,6 +114,16 @@ components:
|
||||
$ref: '#/components/schemas/EnumHirschbergShow'
|
||||
default: []
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# Enum LogLevel
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
EnumLogLevel:
|
||||
description: |-
|
||||
Enumeration of settings for log level.
|
||||
type: string
|
||||
enum:
|
||||
- INFO
|
||||
- DEBUG
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# Enum Hirschberg - Verbosity options
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
EnumHirschbergVerbosity:
|
||||
|
Loading…
x
Reference in New Issue
Block a user