feat: can document part by part with reloading structure
This commit is contained in:
parent
c754f5c654
commit
8afb61c5ad
10220 changed files with 155623 additions and 1406 deletions
|
|
@ -28,20 +28,27 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
||||||
|
|
||||||
def gen_doc_changelog(self):
|
def gen_doc_changelog(self):
|
||||||
"""Return changelog"""
|
"""Return changelog"""
|
||||||
|
self.level = self.rougailconfig["doc.title_level"]
|
||||||
|
self.previous_json_file = self.rougailconfig["doc.previous_json_file"]
|
||||||
with Path(self.previous_json_file).open() as outfh:
|
with Path(self.previous_json_file).open() as outfh:
|
||||||
previous_doc = loads(outfh.read())
|
previous_doc = loads(outfh.read())
|
||||||
self.load()
|
self.load()
|
||||||
self._added_variables = []
|
self._added_variables = []
|
||||||
self._modified_variables = []
|
self._modified_variables = []
|
||||||
self._removed_variables = []
|
self._removed_variables = []
|
||||||
if self.root:
|
root = self.rougailconfig["doc.root"]
|
||||||
for family in self.root.split('.'):
|
if root:
|
||||||
if family in previous_doc:
|
informations = self.informations
|
||||||
|
for family in root.split('.'):
|
||||||
|
informations = informations[family]["children"]
|
||||||
|
if previous_doc and family in previous_doc:
|
||||||
previous_doc = previous_doc[family]['children']
|
previous_doc = previous_doc[family]['children']
|
||||||
else:
|
else:
|
||||||
previous_doc = {}
|
previous_doc = {}
|
||||||
break
|
else:
|
||||||
self.parser(previous_doc, self.informations)
|
informations = self.informations
|
||||||
|
self.formatter.options()
|
||||||
|
self.parser(previous_doc, informations)
|
||||||
return self.display()
|
return self.display()
|
||||||
|
|
||||||
def parser(self, previous_families, new_families):
|
def parser(self, previous_families, new_families):
|
||||||
|
|
@ -107,8 +114,10 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
||||||
local_prop_previous = prop_previous = [
|
local_prop_previous = prop_previous = [
|
||||||
prop_previous
|
prop_previous
|
||||||
]
|
]
|
||||||
else:
|
elif isinstance(prop_previous, list):
|
||||||
local_prop_previous = prop_previous
|
local_prop_previous = prop_previous
|
||||||
|
else:
|
||||||
|
local_prop_previous = [prop_previous]
|
||||||
if isinstance(prop_new, dict) and "values" in prop_new:
|
if isinstance(prop_new, dict) and "values" in prop_new:
|
||||||
name = prop_new["name"]
|
name = prop_new["name"]
|
||||||
prop_new = prop_new["values"]
|
prop_new = prop_new["values"]
|
||||||
|
|
@ -144,7 +153,7 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
||||||
title = _("New variable")
|
title = _("New variable")
|
||||||
else:
|
else:
|
||||||
title = _("New variables")
|
title = _("New variables")
|
||||||
msg += self.formatter.run(
|
msg += self.formatter._run(
|
||||||
[
|
[
|
||||||
self.formatter.title(title, self.level),
|
self.formatter.title(title, self.level),
|
||||||
self.formatter.table(self._added_variables),
|
self.formatter.table(self._added_variables),
|
||||||
|
|
@ -158,7 +167,7 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
||||||
title = _("Modified variable")
|
title = _("Modified variable")
|
||||||
else:
|
else:
|
||||||
title = _("Modified variables")
|
title = _("Modified variables")
|
||||||
msg += self.formatter.run(
|
msg += self.formatter._run(
|
||||||
[
|
[
|
||||||
self.formatter.title(title, self.level),
|
self.formatter.title(title, self.level),
|
||||||
self.formatter.table(self._modified_variables),
|
self.formatter.table(self._modified_variables),
|
||||||
|
|
@ -172,7 +181,7 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
||||||
title = _("Deleted variable")
|
title = _("Deleted variable")
|
||||||
else:
|
else:
|
||||||
title = _("Deleted variables")
|
title = _("Deleted variables")
|
||||||
msg += self.formatter.run(
|
msg += self.formatter._run(
|
||||||
[
|
[
|
||||||
self.formatter.title(title, self.level),
|
self.formatter.title(title, self.level),
|
||||||
self.formatter.list(self._removed_variables, inside_table=False),
|
self.formatter.list(self._removed_variables, inside_table=False),
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ doc:
|
||||||
default: false
|
default: false
|
||||||
disabled:
|
disabled:
|
||||||
jinja: |-
|
jinja: |-
|
||||||
{{{{ "variables" not in _.contents and _.output_format != "json" }}}}
|
{{{{ "variables" not in _.contents and "changelog" not in _.contents and _.output_format != "json" }}}}
|
||||||
return_type: boolean
|
return_type: boolean
|
||||||
description: variables is not selected
|
description: variables is not selected
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,12 +64,7 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
rougailconfig["step.output"] = "doc"
|
rougailconfig["step.output"] = "doc"
|
||||||
if rougailconfig["step.output"] != "doc":
|
if rougailconfig["step.output"] != "doc":
|
||||||
raise Exception("doc is not set as step.output")
|
raise Exception("doc is not set as step.output")
|
||||||
outputs = OutPuts().get()
|
self.outputs = OutPuts().get()
|
||||||
output_format = rougailconfig["doc.output_format"]
|
|
||||||
if output_format not in outputs:
|
|
||||||
raise Exception(
|
|
||||||
f'cannot find output "{output_format}", available outputs: {list(outputs)}'
|
|
||||||
)
|
|
||||||
self.conf = config
|
self.conf = config
|
||||||
self.modes_level = rougailconfig["modes_level"]
|
self.modes_level = rougailconfig["modes_level"]
|
||||||
if self.modes_level:
|
if self.modes_level:
|
||||||
|
|
@ -82,33 +77,7 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
self.disabled_modes = []
|
self.disabled_modes = []
|
||||||
self.conf.property.read_write()
|
self.conf.property.read_write()
|
||||||
# self.conf.property.remove("cache")
|
# self.conf.property.remove("cache")
|
||||||
self.output_format = output_format
|
self.rougailconfig = rougailconfig
|
||||||
self.level = rougailconfig["doc.title_level"]
|
|
||||||
self.contents = rougailconfig["doc.contents"]
|
|
||||||
self.root = rougailconfig["doc.root"]
|
|
||||||
if self.root:
|
|
||||||
try:
|
|
||||||
self.other_root_filenames = rougailconfig["doc.other_root_filenames"]
|
|
||||||
except PropertiesOptionError:
|
|
||||||
self.other_root_filenames = None
|
|
||||||
else:
|
|
||||||
self.other_root_filenames = None
|
|
||||||
self.example = "example" in self.contents
|
|
||||||
if self.example:
|
|
||||||
self.comment_examples = rougailconfig["doc.comment_examples"]
|
|
||||||
if self.comment_examples:
|
|
||||||
self.comment_examples_column = rougailconfig["doc.comment_examples_column"]
|
|
||||||
if "variables" in self.contents:
|
|
||||||
self.with_family = not rougailconfig["doc.without_family"]
|
|
||||||
else:
|
|
||||||
self.with_family = True
|
|
||||||
if "changelog" in self.contents:
|
|
||||||
self.previous_json_file = rougailconfig["doc.previous_json_file"]
|
|
||||||
if output_format == 'console':
|
|
||||||
self.force_true_color_terminal = rougailconfig["doc.force_true_color_terminal"]
|
|
||||||
else:
|
|
||||||
self.force_true_color_terminal = None
|
|
||||||
self.formatter = outputs[output_format](self)
|
|
||||||
self.informations = None
|
self.informations = None
|
||||||
try:
|
try:
|
||||||
groups.namespace
|
groups.namespace
|
||||||
|
|
@ -122,11 +91,15 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
"""Print documentation in stdout"""
|
"""Print documentation in stdout"""
|
||||||
self.load()
|
self.load()
|
||||||
return_string = ""
|
return_string = ""
|
||||||
if "variables" in self.contents:
|
contents = self.rougailconfig["doc.contents"]
|
||||||
return_string += self.formatter.run(self.informations, self.level)
|
output_format = self.rougailconfig["doc.output_format"]
|
||||||
if "example" in self.contents:
|
self.formatter = self.outputs[output_format](self.rougailconfig)
|
||||||
|
if "variables" in contents:
|
||||||
|
# print(self.informations)
|
||||||
|
return_string += self.formatter.run(self.informations)
|
||||||
|
if "example" in contents:
|
||||||
return_string += self.gen_doc_examples()
|
return_string += self.gen_doc_examples()
|
||||||
if "changelog" in self.contents:
|
if "changelog" in contents:
|
||||||
return_string += self.gen_doc_changelog()
|
return_string += self.gen_doc_changelog()
|
||||||
return True, return_string
|
return True, return_string
|
||||||
|
|
||||||
|
|
@ -138,8 +111,6 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
def load(self):
|
def load(self):
|
||||||
self.dynamic_paths = {}
|
self.dynamic_paths = {}
|
||||||
config = self.conf.unrestraint
|
config = self.conf.unrestraint
|
||||||
if self.root:
|
|
||||||
config = config.option(self.root)
|
|
||||||
self.populate_dynamics(config=config)
|
self.populate_dynamics(config=config)
|
||||||
informations = self.parse_families(config)
|
informations = self.parse_families(config)
|
||||||
if informations is None:
|
if informations is None:
|
||||||
|
|
@ -300,7 +271,6 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
sub_informations,
|
sub_informations,
|
||||||
):
|
):
|
||||||
return None
|
return None
|
||||||
if self.example:
|
|
||||||
self._add_examples(variable, sub_informations, leader)
|
self._add_examples(variable, sub_informations, leader)
|
||||||
informations[name] = sub_informations
|
informations[name] = sub_informations
|
||||||
if variable.isleader():
|
if variable.isleader():
|
||||||
|
|
@ -310,9 +280,9 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
def _parse_variable_follower_with_index(
|
def _parse_variable_follower_with_index(
|
||||||
self, variable, leader: dict, name: str, informations: dict
|
self, variable, leader: dict, name: str, informations: dict
|
||||||
) -> None:
|
) -> None:
|
||||||
if not self.example or (variable.index() + 1) > len(leader["example"][-1]):
|
if (variable.index() + 1) > len(leader["gen_examples"][-1]):
|
||||||
return
|
return
|
||||||
informations[name]["example"][-1][variable.index()] = self._get_example(
|
informations[name]["gen_examples"][-1][variable.index()] = self._get_example(
|
||||||
variable, informations[name], None
|
variable, informations[name], None
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -323,8 +293,7 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
# self.populate_dynamic(variable, path)
|
# self.populate_dynamic(variable, path)
|
||||||
dynamic_variable = self.dynamic_paths[path]
|
dynamic_variable = self.dynamic_paths[path]
|
||||||
if (not only_one or path in informations) and "type" in dynamic_variable:
|
if (not only_one or path in informations) and "type" in dynamic_variable:
|
||||||
if self.example:
|
dynamic_variable["gen_examples"].append(
|
||||||
dynamic_variable["example"].append(
|
|
||||||
self._get_example(variable, dynamic_variable, leader)
|
self._get_example(variable, dynamic_variable, leader)
|
||||||
)
|
)
|
||||||
if variable.isleader():
|
if variable.isleader():
|
||||||
|
|
@ -486,7 +455,7 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
def _add_examples(self, variable, informations: dict, leader) -> None:
|
def _add_examples(self, variable, informations: dict, leader) -> None:
|
||||||
if not variable.index():
|
if not variable.index():
|
||||||
example = self._get_example(variable, informations, leader)
|
example = self._get_example(variable, informations, leader)
|
||||||
informations["example"] = [example]
|
informations["gen_examples"] = [example]
|
||||||
informations["mandatory_without_value"] = "mandatory" in variable.property.get(
|
informations["mandatory_without_value"] = "mandatory" in variable.property.get(
|
||||||
uncalculated=True
|
uncalculated=True
|
||||||
) and (
|
) and (
|
||||||
|
|
@ -525,7 +494,7 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
variable, informations["properties"]
|
variable, informations["properties"]
|
||||||
)
|
)
|
||||||
if leader is not None and variable.isfollower():
|
if leader is not None and variable.isfollower():
|
||||||
example = [example] + [undefined] * (len(leader["example"][-1]) - 1)
|
example = [example] + [undefined] * (len(leader["gen_examples"][-1]) - 1)
|
||||||
return example
|
return example
|
||||||
|
|
||||||
def get_type_default_value(self, variable, properties):
|
def get_type_default_value(self, variable, properties):
|
||||||
|
|
@ -815,7 +784,10 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
if isinstance(true_msg, dict):
|
if isinstance(true_msg, dict):
|
||||||
values = true_msg
|
values = true_msg
|
||||||
else:
|
else:
|
||||||
|
try:
|
||||||
description = self._convert_description(self.conf.option(calculation["ori_path"]).description(uncalculated=True), "description", its_a_path=False)
|
description = self._convert_description(self.conf.option(calculation["ori_path"]).description(uncalculated=True), "description", its_a_path=False)
|
||||||
|
except AttributeError:
|
||||||
|
description = calculation["ori_path"]
|
||||||
values = {
|
values = {
|
||||||
"message": true_msg,
|
"message": true_msg,
|
||||||
"path": {
|
"path": {
|
||||||
|
|
@ -862,8 +834,8 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
values.append(_("depends on an undocumented variable"))
|
values.append(_("depends on an undocumented variable"))
|
||||||
continue
|
continue
|
||||||
except AttributeError as err:
|
except AttributeError as err:
|
||||||
if err.code != "option-not-found" or not calculation.get("optional", False):
|
# if err.code != "option-not-found" or not calculation.get("optional", False):
|
||||||
raise err from err
|
# raise err from err
|
||||||
return calculation.get("default", False)
|
return calculation.get("default", False)
|
||||||
if (
|
if (
|
||||||
condition == "when"
|
condition == "when"
|
||||||
|
|
|
||||||
|
|
@ -31,29 +31,53 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
|
||||||
|
|
||||||
def gen_doc_examples(self):
|
def gen_doc_examples(self):
|
||||||
"""Return examples"""
|
"""Return examples"""
|
||||||
self._build_examples()
|
root = self.rougailconfig["doc.root"]
|
||||||
|
self.comment_examples = self.rougailconfig["doc.comment_examples"]
|
||||||
|
self.level = self.rougailconfig["doc.title_level"]
|
||||||
|
if self.comment_examples:
|
||||||
|
self.comment_examples_column = self.rougailconfig["doc.comment_examples_column"]
|
||||||
|
self._build_examples(root)
|
||||||
return_string = ""
|
return_string = ""
|
||||||
|
datas = []
|
||||||
if self.examples_mandatories:
|
if self.examples_mandatories:
|
||||||
return_string += self.formatter.title(
|
datas.extend([
|
||||||
|
self.formatter.title(
|
||||||
_("Example with mandatory variables not filled in"), self.level
|
_("Example with mandatory variables not filled in"), self.level
|
||||||
)
|
),
|
||||||
return_string += self.formatter.yaml(self.examples_mandatories)
|
self.formatter.yaml(self.examples_mandatories),
|
||||||
|
self.formatter.end_family(self.level),
|
||||||
|
])
|
||||||
if self.examples:
|
if self.examples:
|
||||||
return_string += self.formatter.title(
|
datas.extend([self.formatter.title(
|
||||||
_("Example with all variables modifiable"), self.level
|
_("Example with all variables modifiable"), self.level
|
||||||
)
|
),
|
||||||
return_string += self.formatter.yaml(self.examples)
|
self.formatter.yaml(self.examples),
|
||||||
return return_string
|
self.formatter.end_family(self.level),
|
||||||
|
])
|
||||||
|
return self.formatter.compute(datas)
|
||||||
|
|
||||||
def _build_examples(self):
|
def _build_examples(self, root):
|
||||||
examples, examples_mandatories = self._parse_examples(
|
examples, examples_mandatories = self._parse_examples(
|
||||||
self.informations
|
self.informations
|
||||||
)
|
)
|
||||||
if self.root and examples:
|
if root and examples:
|
||||||
for sub in self.root.split('.'):
|
sub_examples = examples
|
||||||
examples = {sub: examples}
|
sub_examples_mandatories = examples_mandatories
|
||||||
if examples_mandatories:
|
new_examples_mandatories = examples_mandatories = {}
|
||||||
examples_mandatories = {sub: examples_mandatories}
|
new_examples = examples = {}
|
||||||
|
for sub in root.split('.'):
|
||||||
|
new_examples[sub] = {}
|
||||||
|
new_examples = new_examples[sub]
|
||||||
|
sub_examples = sub_examples[sub]
|
||||||
|
if examples_mandatories and sub in sub_examples_mandatories:
|
||||||
|
new_examples_mandatories[sub] = {}
|
||||||
|
new_examples_mandatories = new_examples_mandatories[sub]
|
||||||
|
sub_examples_mandatories = sub_examples_mandatories[sub]
|
||||||
|
else:
|
||||||
|
new_examples_mandatories = {}
|
||||||
|
sub_examples_mandatories = {}
|
||||||
|
new_examples.update(sub_examples)
|
||||||
|
new_examples_mandatories.update(sub_examples_mandatories)
|
||||||
self.examples = examples
|
self.examples = examples
|
||||||
self.examples_mandatories = examples_mandatories
|
self.examples_mandatories = examples_mandatories
|
||||||
|
|
||||||
|
|
@ -96,7 +120,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
|
||||||
name = variable["names"][0]
|
name = variable["names"][0]
|
||||||
else:
|
else:
|
||||||
name = variable["names"][idx]
|
name = variable["names"][idx]
|
||||||
value = variable["example"][idx]
|
value = variable["gen_examples"][idx]
|
||||||
examples[name] = value
|
examples[name] = value
|
||||||
if self.comment_examples and "description" in variable:
|
if self.comment_examples and "description" in variable:
|
||||||
description = variable["description"]
|
description = variable["description"]
|
||||||
|
|
@ -174,7 +198,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
|
||||||
path = calc_path(path)
|
path = calc_path(path)
|
||||||
if dyn_parent is not None and not path.startswith(dyn_parent):
|
if dyn_parent is not None and not path.startswith(dyn_parent):
|
||||||
continue
|
continue
|
||||||
for leader_idx in range(len(leader["example"][path_idx])):
|
for leader_idx in range(len(leader["gen_examples"][path_idx])):
|
||||||
if self.comment_examples:
|
if self.comment_examples:
|
||||||
followers = CommentedMap()
|
followers = CommentedMap()
|
||||||
else:
|
else:
|
||||||
|
|
@ -184,7 +208,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
|
||||||
name = follower["names"][0]
|
name = follower["names"][0]
|
||||||
else:
|
else:
|
||||||
name = follower["names"][path_idx]
|
name = follower["names"][path_idx]
|
||||||
followers[name] = follower["example"][path_idx][leader_idx]
|
followers[name] = follower["gen_examples"][path_idx][leader_idx]
|
||||||
if self.comment_examples and "description" in follower:
|
if self.comment_examples and "description" in follower:
|
||||||
description = follower["description"]
|
description = follower["description"]
|
||||||
if description.endswith('.'):
|
if description.endswith('.'):
|
||||||
|
|
@ -203,7 +227,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
|
||||||
name = follower["names"][0]
|
name = follower["names"][0]
|
||||||
else:
|
else:
|
||||||
name = follower["names"][path_idx]
|
name = follower["names"][path_idx]
|
||||||
followers[name] = follower["example"][path_idx][leader_idx]
|
followers[name] = follower["gen_examples"][path_idx][leader_idx]
|
||||||
if self.comment_examples and "description" in follower:
|
if self.comment_examples and "description" in follower:
|
||||||
description = follower["description"]
|
description = follower["description"]
|
||||||
if description.endswith('.'):
|
if description.endswith('.'):
|
||||||
|
|
|
||||||
|
|
@ -36,25 +36,30 @@ class Formatter(CommonFormatter):
|
||||||
"title5": "dark_green underline bold",
|
"title5": "dark_green underline bold",
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, doc) -> None:
|
def __init__(self, rougailconfig) -> None:
|
||||||
from rich.table import Table
|
from rich.table import Table
|
||||||
from rich.theme import Theme
|
from rich.theme import Theme
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
|
from rich.syntax import Syntax
|
||||||
|
|
||||||
self.rich_table = Table
|
self.rich_table = Table
|
||||||
self.rich_console = Console
|
self.rich_console = Console
|
||||||
if doc.force_true_color_terminal:
|
self.rich_syntaxt = Syntax
|
||||||
self.force_terminal = 'xterm-256color'
|
|
||||||
else:
|
|
||||||
self.force_terminal = None
|
|
||||||
self.custom_theme = Theme(self.titles_color)
|
self.custom_theme = Theme(self.titles_color)
|
||||||
self.max_line = 0
|
self.max_line = 0
|
||||||
super().__init__(doc)
|
super().__init__(rougailconfig)
|
||||||
|
|
||||||
def run(self, dico: dict, level: int, *, dico_is_already_treated=False) -> str:
|
def _run(self, dico: dict, level: int, dico_is_already_treated=False) -> str:
|
||||||
if not dico_is_already_treated:
|
if not dico_is_already_treated:
|
||||||
dico = self.dict_to_dict(dico, level)
|
dico = self.dict_to_dict(dico, level)
|
||||||
console = self.rich_console(theme=self.custom_theme, force_terminal=self.force_terminal)
|
return self.compute(dico)
|
||||||
|
|
||||||
|
def compute(self, dico):
|
||||||
|
if self.rougailconfig["doc.force_true_color_terminal"]:
|
||||||
|
force_terminal = 'xterm-256color'
|
||||||
|
else:
|
||||||
|
force_terminal = None
|
||||||
|
console = self.rich_console(theme=self.custom_theme, force_terminal=force_terminal)
|
||||||
with console.capture() as capture:
|
with console.capture() as capture:
|
||||||
for data in dico:
|
for data in dico:
|
||||||
console.print(data)
|
console.print(data)
|
||||||
|
|
@ -138,7 +143,7 @@ class Formatter(CommonFormatter):
|
||||||
|
|
||||||
def yaml(self, _dump):
|
def yaml(self, _dump):
|
||||||
"""Dump yaml part of documentation"""
|
"""Dump yaml part of documentation"""
|
||||||
return f"```yaml\n---\n{dump(_dump)}\n```\n"
|
return self.rich_syntaxt(f'---\n{dump(_dump)}', 'yaml')
|
||||||
|
|
||||||
def link(
|
def link(
|
||||||
self,
|
self,
|
||||||
|
|
|
||||||
|
|
@ -30,10 +30,10 @@ class Formatter(CommonFormatter):
|
||||||
level = 50
|
level = 50
|
||||||
enter_table = "<br/>"
|
enter_table = "<br/>"
|
||||||
|
|
||||||
def __init__(self, doc, **kwarg) -> None:
|
def __init__(self, rougailconfig, **kwarg) -> None:
|
||||||
self.max_line_variable = 0
|
self.max_line_variable = 0
|
||||||
self.max_line_description = 0
|
self.max_line_description = 0
|
||||||
super().__init__(doc)
|
super().__init__(rougailconfig)
|
||||||
|
|
||||||
def title(
|
def title(
|
||||||
self,
|
self,
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,15 @@ class Formatter:
|
||||||
name = "json"
|
name = "json"
|
||||||
level = 90
|
level = 90
|
||||||
|
|
||||||
def __init__(self, doc):
|
def __init__(self, rougailconfig):
|
||||||
pass
|
self.rougailconfig = rougailconfig
|
||||||
|
|
||||||
def run(self, dico: dict, *args) -> str: # pylint: disable=unused-argument
|
def run(self, informations: dict, *args) -> str: # pylint: disable=unused-argument
|
||||||
"""Transform to string"""
|
"""Transform to string"""
|
||||||
return dumps(dico, ensure_ascii=False, indent=2)
|
root = self.rougailconfig["doc.root"]
|
||||||
|
if root:
|
||||||
|
current = informations
|
||||||
|
for path in root.split('.'):
|
||||||
|
current = current[path]["children"]
|
||||||
|
informations = current
|
||||||
|
return dumps(informations, ensure_ascii=False, indent=2)
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ from tabulate import tabulate
|
||||||
|
|
||||||
from rougail.tiramisu import normalize_family
|
from rougail.tiramisu import normalize_family
|
||||||
from tiramisu import undefined
|
from tiramisu import undefined
|
||||||
|
from tiramisu.error import PropertiesOptionError
|
||||||
|
|
||||||
from .i18n import _
|
from .i18n import _
|
||||||
|
|
||||||
|
|
@ -152,13 +153,41 @@ class CommonFormatter:
|
||||||
# tabulate module name
|
# tabulate module name
|
||||||
name = None
|
name = None
|
||||||
|
|
||||||
def __init__(self, doc, **kwarg):
|
def __init__(self, rougailconfig, **kwarg):
|
||||||
tabulate_module.PRESERVE_WHITESPACE = True
|
tabulate_module.PRESERVE_WHITESPACE = True
|
||||||
self.header_setted = False
|
self.header_setted = False
|
||||||
self.with_family = doc.with_family
|
self.rougailconfig = rougailconfig
|
||||||
self.other_root_filenames = doc.other_root_filenames
|
|
||||||
if doc.other_root_filenames:
|
def run(
|
||||||
self.other_root_filenames = dict(zip(doc.other_root_filenames["root_path"], self.other_root_filenames["filename"]))
|
self, informations: dict, *, dico_is_already_treated=False
|
||||||
|
) -> str:
|
||||||
|
"""Transform to string"""
|
||||||
|
if informations:
|
||||||
|
level = self.rougailconfig["doc.title_level"]
|
||||||
|
self.options()
|
||||||
|
if self.root:
|
||||||
|
current = informations
|
||||||
|
for path in self.root.split('.'):
|
||||||
|
current = current[path]["children"]
|
||||||
|
informations = current
|
||||||
|
return self._run(informations, level, dico_is_already_treated)
|
||||||
|
return ""
|
||||||
|
|
||||||
|
def options(self):
|
||||||
|
self.with_family = not self.rougailconfig["doc.without_family"]
|
||||||
|
self.root = self.rougailconfig["doc.root"]
|
||||||
|
self.other_root_filenames = None
|
||||||
|
if self.root:
|
||||||
|
try:
|
||||||
|
other_root_filenames = self.rougailconfig["doc.other_root_filenames"]
|
||||||
|
except PropertiesOptionError:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
if other_root_filenames:
|
||||||
|
self.other_root_filenames = dict(zip(other_root_filenames["root_path"], other_root_filenames["filename"]))
|
||||||
|
|
||||||
|
def compute(self, data):
|
||||||
|
return "".join([d for d in data if d])
|
||||||
|
|
||||||
# Class you needs implement to your Formatter
|
# Class you needs implement to your Formatter
|
||||||
def title(
|
def title(
|
||||||
|
|
@ -291,14 +320,6 @@ class CommonFormatter:
|
||||||
"""Manage the header of a table"""
|
"""Manage the header of a table"""
|
||||||
return lst
|
return lst
|
||||||
|
|
||||||
def run(
|
|
||||||
self, informations: dict, level: int, *, dico_is_already_treated=False
|
|
||||||
) -> str:
|
|
||||||
"""Transform to string"""
|
|
||||||
if informations:
|
|
||||||
return self._run(informations, level, dico_is_already_treated)
|
|
||||||
return ""
|
|
||||||
|
|
||||||
def _run(self, dico: dict, level: int, dico_is_already_treated: bool) -> str:
|
def _run(self, dico: dict, level: int, dico_is_already_treated: bool) -> str:
|
||||||
"""Parse the dict to transform to dict"""
|
"""Parse the dict to transform to dict"""
|
||||||
if dico_is_already_treated:
|
if dico_is_already_treated:
|
||||||
|
|
|
||||||
|
|
@ -6,19 +6,19 @@
|
||||||
**var1** +
|
**var1** +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
|
||||||
My var1. +
|
My var1. +
|
||||||
**Default**: the value of the variable "a.unknown.variable".
|
**Default**: the value of the variable "a.unknown.variable"
|
||||||
|
|
|
|
||||||
|
|
||||||
**var2** +
|
**var2** +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
|
||||||
My var2. +
|
My var2. +
|
||||||
**Default**: var calculated.
|
**Default**: var calculated
|
||||||
|
|
|
|
||||||
|
|
||||||
**var3** +
|
**var3** +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` `__hidden__` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` `__hidden__` |
|
||||||
My var3. +
|
My var3. +
|
||||||
**Hidden**: var could be hidden.
|
**Hidden**: var could be hidden
|
||||||
|
|
|
|
||||||
|
|
||||||
**var4** +
|
**var4** +
|
||||||
|
|
@ -29,13 +29,13 @@ My var4.
|
||||||
**var5** +
|
**var5** +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
|
||||||
My var5. +
|
My var5. +
|
||||||
**Default**: the value of the information "info" of the variable "a.unknown.variable".
|
**Default**: the value of the information "info" of the variable "a.unknown.variable"
|
||||||
|
|
|
|
||||||
|
|
||||||
**var6** +
|
**var6** +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `mandatory` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `mandatory` |
|
||||||
My var6. +
|
My var6. +
|
||||||
**Choices**: the value of the variable "a.unknown.variable".
|
**Choices**: the value of the variable "a.unknown.variable"
|
||||||
|
|
|
|
||||||
|
|
||||||
**var7** +
|
**var7** +
|
||||||
|
|
@ -50,19 +50,19 @@ My var7. +
|
||||||
**var8** +
|
**var8** +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `mandatory` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `mandatory` |
|
||||||
My var8. +
|
My var8. +
|
||||||
**Choices**: the a.unknown.variable values.
|
**Choices**: the a.unknown.variable values
|
||||||
|====
|
|====
|
||||||
|
|
||||||
== My var9
|
== My var9
|
||||||
|
|
||||||
This family builds families dynamically.
|
This family builds families dynamically
|
||||||
|
|
||||||
|
|
||||||
**var___example__**
|
**var___example__**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Identifiers**: the value of the variable "a.unknown.variable".
|
**Identifiers**: the value of the variable "a.unknown.variable"
|
||||||
|
|
||||||
[cols="1a,1a"]
|
[cols="1a,1a"]
|
||||||
|====
|
|====
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"version"
|
"version"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -18,6 +18,10 @@
|
||||||
"path": "empty",
|
"path": "empty",
|
||||||
"names": [
|
"names": [
|
||||||
"empty"
|
"empty"
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -57,6 +61,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"no"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -35,7 +35,15 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"no",
|
||||||
|
"yes",
|
||||||
|
"maybe"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -69,6 +77,14 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"no",
|
||||||
|
"yes",
|
||||||
|
"maybe"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -31,7 +31,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example.net"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -71,6 +77,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example.net"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,7 +49,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -67,6 +75,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A new variable."
|
"description": "A new variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -31,7 +31,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example.net"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -75,6 +81,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example.net"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -41,6 +45,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"without_type"
|
"without_type"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"non"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -49,7 +53,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -75,7 +83,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -101,7 +113,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -127,7 +143,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -153,6 +173,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,6 +19,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,7 +27,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_choice"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -57,7 +61,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_choice"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -84,7 +92,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_choice"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -110,7 +122,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_choice"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -144,7 +160,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -178,6 +198,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,6 +27,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var"
|
"var"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
9
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,7 +27,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_choice"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -67,6 +71,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_choice"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -35,7 +35,15 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"b",
|
||||||
|
"c"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -71,6 +79,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -35,7 +35,15 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"b",
|
||||||
|
"c"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -71,7 +79,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -113,6 +125,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -35,7 +35,15 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"b",
|
||||||
|
"c"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -71,7 +79,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"family": {
|
"family": {
|
||||||
"type": "family",
|
"type": "family",
|
||||||
|
|
@ -129,7 +141,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"custom1"
|
"custom1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"xxx"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"custom2": {
|
"custom2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"custom2"
|
"custom2"
|
||||||
],
|
],
|
||||||
"description": "The seconf variable."
|
"description": "The seconf variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A domain name variable."
|
"description": "A domain name variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"my.domain.name"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,6 +27,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A domain name variable."
|
"description": "A domain name variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"my.domain.name"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -49,7 +53,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -75,7 +83,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0.0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -101,7 +113,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10.1
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -127,7 +143,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10.1
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -153,6 +173,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10.1
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -49,7 +53,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -75,7 +83,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -101,7 +113,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "This forth variable."
|
"description": "This forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -127,7 +143,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -153,6 +173,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,7 +27,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "An IP."
|
"description": "An IP.",
|
||||||
|
"gen_examples": [
|
||||||
|
"1.1.1.1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -64,7 +68,11 @@
|
||||||
"examples": {
|
"examples": {
|
||||||
"name": "Example",
|
"name": "Example",
|
||||||
"values": "192.168.0.128/25"
|
"values": "192.168.0.128/25"
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"192.168.0.128/25"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -90,6 +98,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "An IP in CIDR format with obsolete CIDR type."
|
"description": "An IP in CIDR format with obsolete CIDR type.",
|
||||||
|
"gen_examples": [
|
||||||
|
"1.1.1.1/24"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "An network."
|
"description": "An network.",
|
||||||
|
"gen_examples": [
|
||||||
|
"1.1.1.0"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -53,7 +57,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "An network in CIDR format."
|
"description": "An network in CIDR format.",
|
||||||
|
"gen_examples": [
|
||||||
|
"1.1.1.0/24"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -79,6 +87,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "An network in CIDR format with obsolete CIDR type."
|
"description": "An network in CIDR format with obsolete CIDR type.",
|
||||||
|
"gen_examples": [
|
||||||
|
"1.1.1.0/24"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -49,7 +53,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -75,7 +83,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -101,7 +113,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "This forth variable."
|
"description": "This forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -127,7 +143,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -153,6 +173,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,7 +27,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable1"
|
"variable1"
|
||||||
],
|
],
|
||||||
"description": "A port variable."
|
"description": "A port variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"111"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"variable2": {
|
"variable2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -61,7 +65,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable2"
|
"variable2"
|
||||||
],
|
],
|
||||||
"description": "A port variable with default value."
|
"description": "A port variable with default value.",
|
||||||
|
"gen_examples": [
|
||||||
|
"8080"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable3": {
|
"variable3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -95,6 +103,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable3"
|
"variable3"
|
||||||
],
|
],
|
||||||
"description": "A port variable with integer default value."
|
"description": "A port variable with integer default value.",
|
||||||
|
"gen_examples": [
|
||||||
|
"8080"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -34,6 +34,10 @@
|
||||||
"#b1b1b1",
|
"#b1b1b1",
|
||||||
"#b2b2b2"
|
"#b2b2b2"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"#b1b1b1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -34,7 +34,11 @@
|
||||||
"#b1b1b1",
|
"#b1b1b1",
|
||||||
"#b2b2b2"
|
"#b2b2b2"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"#b1b1b1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -77,6 +81,10 @@
|
||||||
"#b2b1b1",
|
"#b2b1b1",
|
||||||
"#b3b2b2"
|
"#b3b2b2"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"#b2b1b1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"secret1"
|
"secret1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"secrets"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"secret2": {
|
"secret2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"secret2"
|
"secret2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"secret1"
|
"secret1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"secrets"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"secret2": {
|
"secret2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,7 +60,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"secret2"
|
"secret2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"secret3": {
|
"secret3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -89,6 +97,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"secret3"
|
"secret3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -41,7 +45,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -63,7 +71,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -89,7 +101,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -115,7 +131,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -141,7 +161,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var7": {
|
"var7": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -167,7 +191,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var7"
|
"var7"
|
||||||
],
|
],
|
||||||
"description": "The seventh variable."
|
"description": "The seventh variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"8080"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var8": {
|
"var8": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -193,6 +221,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var8"
|
"var8"
|
||||||
],
|
],
|
||||||
"description": "The height variable."
|
"description": "The height variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"true"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -31,6 +31,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var"
|
"var"
|
||||||
],
|
],
|
||||||
"description": "A choice."
|
"description": "A choice.",
|
||||||
|
"gen_examples": [
|
||||||
|
"quote'"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,11 @@
|
||||||
"description": "The first variable.",
|
"description": "The first variable.",
|
||||||
"help": [
|
"help": [
|
||||||
"Multi line\n\nHelp\n\nWith useful information."
|
"Multi line\n\nHelp\n\nWith useful information."
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -47,6 +51,10 @@
|
||||||
"description": "The second variable.",
|
"description": "The second variable.",
|
||||||
"help": [
|
"help": [
|
||||||
"Multi line\nHelp\nWith useful information."
|
"Multi line\nHelp\nWith useful information."
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,11 @@
|
||||||
"description": "The first variable.",
|
"description": "The first variable.",
|
||||||
"help": [
|
"help": [
|
||||||
"Message with '."
|
"Message with '."
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -47,6 +51,10 @@
|
||||||
"description": "The second variable.",
|
"description": "The second variable.",
|
||||||
"help": [
|
"help": [
|
||||||
"Message with \"."
|
"Message with \"."
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,11 @@
|
||||||
"description": "The first <variable>.",
|
"description": "The first <variable>.",
|
||||||
"help": [
|
"help": [
|
||||||
"Multi line\n\n<Help>\n\nWith useful information."
|
"Multi line\n\n<Help>\n\nWith useful information."
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -47,6 +51,10 @@
|
||||||
"description": "The second <variable>.",
|
"description": "The second <variable>.",
|
||||||
"help": [
|
"help": [
|
||||||
"Multi line\n<Help>\nWith useful information."
|
"Multi line\n<Help>\nWith useful information."
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"quote\""
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"quote'\""
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"quote\\\"\\'"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"quote'"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"examples": {
|
"examples": {
|
||||||
"name": "Example",
|
"name": "Example",
|
||||||
"values": "test"
|
"values": "test"
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"test"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -53,7 +57,11 @@
|
||||||
"examples": {
|
"examples": {
|
||||||
"name": "Example",
|
"name": "Example",
|
||||||
"values": "test"
|
"values": "test"
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"test"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -82,7 +90,11 @@
|
||||||
"test1",
|
"test1",
|
||||||
"test2"
|
"test2"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"test1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -108,7 +120,11 @@
|
||||||
"test1",
|
"test1",
|
||||||
"test2"
|
"test2"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
null
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -138,7 +154,11 @@
|
||||||
"examples": {
|
"examples": {
|
||||||
"name": "Example",
|
"name": "Example",
|
||||||
"values": false
|
"values": false
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -175,6 +195,13 @@
|
||||||
"test1",
|
"test1",
|
||||||
"test2"
|
"test2"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"test1",
|
||||||
|
"test2"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -34,7 +34,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable1"
|
"variable1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"a_choice"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"variable2": {
|
"variable2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -67,6 +73,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable2"
|
"variable2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"a_choice"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"source_variable_1"
|
"source_variable_1"
|
||||||
],
|
],
|
||||||
"description": "The first source variable."
|
"description": "The first source variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"val1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"source_variable_2": {
|
"source_variable_2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -49,7 +53,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"source_variable_2"
|
"source_variable_2"
|
||||||
],
|
],
|
||||||
"description": "The second source variable."
|
"description": "The second source variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"val2"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"my_variable": {
|
"my_variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -94,6 +102,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"my_variable"
|
"my_variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"val1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"string_1_True_None"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var"
|
"var"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,11 @@
|
||||||
"path": "my_variable",
|
"path": "my_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_variable"
|
"my_variable"
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"val1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"my_calculated_variable": {
|
"my_calculated_variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -63,6 +67,12 @@
|
||||||
"path": "my_calculated_variable",
|
"path": "my_calculated_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_calculated_variable"
|
"my_calculated_variable"
|
||||||
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"val1"
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,11 @@
|
||||||
"path": "my_variable",
|
"path": "my_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_variable"
|
"my_variable"
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"val1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"my_calculated_variable": {
|
"my_calculated_variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -63,6 +67,12 @@
|
||||||
"path": "my_calculated_variable",
|
"path": "my_calculated_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_calculated_variable"
|
"my_calculated_variable"
|
||||||
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"val1"
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -22,7 +22,11 @@
|
||||||
"path": "my_variable",
|
"path": "my_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_variable"
|
"my_variable"
|
||||||
]
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
"val1"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"my_calculated_variable": {
|
"my_calculated_variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -63,6 +67,13 @@
|
||||||
"path": "my_calculated_variable",
|
"path": "my_calculated_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_calculated_variable"
|
"my_calculated_variable"
|
||||||
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"val1",
|
||||||
|
"value"
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -26,6 +26,12 @@
|
||||||
"path": "my_calculated_variable",
|
"path": "my_calculated_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_calculated_variable"
|
"my_calculated_variable"
|
||||||
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example"
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,7 +33,14 @@
|
||||||
"path": "my_variable",
|
"path": "my_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_variable"
|
"my_variable"
|
||||||
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"val1",
|
||||||
|
"val2"
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"my_calculated_variable": {
|
"my_calculated_variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -72,6 +79,13 @@
|
||||||
"path": "my_calculated_variable",
|
"path": "my_calculated_variable",
|
||||||
"names": [
|
"names": [
|
||||||
"my_calculated_variable"
|
"my_calculated_variable"
|
||||||
|
],
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"val1",
|
||||||
|
"val2"
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,6 +27,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var"
|
"var"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
9
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,6 +27,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var"
|
"var"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
9
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,7 +33,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
true
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -69,7 +75,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
true
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -105,7 +117,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
true
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -141,7 +159,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
false
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -177,7 +201,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
false
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -213,7 +243,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
false
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var7": {
|
"var7": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -249,7 +285,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var7"
|
"var7"
|
||||||
],
|
],
|
||||||
"description": "The seventh variable."
|
"description": "The seventh variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
true
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var8": {
|
"var8": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -285,6 +327,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var8"
|
"var8"
|
||||||
],
|
],
|
||||||
"description": "The eighth variable."
|
"description": "The eighth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
true
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,7 +27,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"custom1"
|
"custom1"
|
||||||
],
|
],
|
||||||
"description": "A first custom variable."
|
"description": "A first custom variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"xxx"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"custom2": {
|
"custom2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -63,6 +69,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"custom2"
|
"custom2"
|
||||||
],
|
],
|
||||||
"description": "A second custom variable."
|
"description": "A second custom variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"value"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,7 +33,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -69,7 +75,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -105,7 +117,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -141,7 +159,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
10.1
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -177,7 +201,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
10.1
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -213,7 +243,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
10.1
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var7": {
|
"var7": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -249,7 +285,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var7"
|
"var7"
|
||||||
],
|
],
|
||||||
"description": "The seventh variable."
|
"description": "The seventh variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var8": {
|
"var8": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -285,6 +327,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var8"
|
"var8"
|
||||||
],
|
],
|
||||||
"description": "The eighth variable."
|
"description": "The eighth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0.0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,7 +33,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -69,7 +75,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -105,7 +117,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -141,7 +159,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
10
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -177,7 +201,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
10
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -213,7 +243,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
10
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var7": {
|
"var7": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -249,7 +285,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var7"
|
"var7"
|
||||||
],
|
],
|
||||||
"description": "The seventh variable."
|
"description": "The seventh variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var8": {
|
"var8": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -285,6 +327,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var8"
|
"var8"
|
||||||
],
|
],
|
||||||
"description": "The eighth variable."
|
"description": "The eighth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
0
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,6 +27,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var"
|
"var"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
42
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -34,6 +34,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"value",
|
||||||
|
null
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,7 +27,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "The first variable."
|
"description": "The first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -57,7 +63,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "The second variable."
|
"description": "The second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -87,7 +99,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "The third variable."
|
"description": "The third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -123,7 +141,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "The forth variable."
|
"description": "The forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"value"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var5": {
|
"var5": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -159,7 +183,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var5"
|
"var5"
|
||||||
],
|
],
|
||||||
"description": "The fifth variable."
|
"description": "The fifth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"value"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var6": {
|
"var6": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -195,7 +225,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var6"
|
"var6"
|
||||||
],
|
],
|
||||||
"description": "The sixth variable."
|
"description": "The sixth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"value"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var7": {
|
"var7": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -231,7 +267,13 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var7"
|
"var7"
|
||||||
],
|
],
|
||||||
"description": "The seventh variable."
|
"description": "The seventh variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"value"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var8": {
|
"var8": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -267,6 +309,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var8"
|
"var8"
|
||||||
],
|
],
|
||||||
"description": "The eighth variable."
|
"description": "The eighth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"value"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,6 +33,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"quote\""
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,6 +33,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"quote'\""
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -33,6 +33,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"quote'"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -31,6 +31,12 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"example"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -35,7 +35,15 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable1"
|
"variable1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
[
|
||||||
|
"a",
|
||||||
|
"b",
|
||||||
|
"c"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable2": {
|
"variable2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -67,6 +75,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable2"
|
"variable2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"a_choice"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -31,6 +31,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"c"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"tags": {
|
"tags": {
|
||||||
"name": "Tag",
|
"name": "Tag",
|
||||||
"values": "one_tag"
|
"values": "one_tag"
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -52,6 +56,10 @@
|
||||||
"one_tag",
|
"one_tag",
|
||||||
"second_tag"
|
"second_tag"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -30,6 +30,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"int"
|
"int"
|
||||||
],
|
],
|
||||||
"description": "A limited number."
|
"description": "A limited number.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -30,6 +30,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"int"
|
"int"
|
||||||
],
|
],
|
||||||
"description": "A limited integer."
|
"description": "A limited integer.",
|
||||||
|
"gen_examples": [
|
||||||
|
10
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -27,6 +27,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "An auto save variable."
|
"description": "An auto save variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -59,6 +63,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -58,6 +62,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"yes"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,7 +60,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -82,6 +90,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,7 +60,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -82,6 +90,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,6 +23,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -19,7 +19,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -45,6 +49,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -50,6 +54,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -50,6 +54,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A third variable."
|
"description": "A third variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A conditional variable."
|
"description": "A conditional variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable1": {
|
"variable1": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -50,7 +54,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable1"
|
"variable1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
},
|
},
|
||||||
"variable2": {
|
"variable2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -77,6 +85,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable2"
|
"variable2"
|
||||||
],
|
],
|
||||||
"description": "A seconde variable."
|
"description": "A seconde variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A condition."
|
"description": "A condition.",
|
||||||
|
"gen_examples": [
|
||||||
|
"no"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var1": {
|
"var1": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -46,7 +50,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var2": {
|
"var2": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -69,6 +77,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var2"
|
"var2"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A condition."
|
"description": "A condition.",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var1": {
|
"var1": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -41,7 +45,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var1"
|
"var1"
|
||||||
],
|
],
|
||||||
"description": "A first variable."
|
"description": "A first variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var3": {
|
"var3": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -70,7 +78,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var3"
|
"var3"
|
||||||
],
|
],
|
||||||
"description": "A second variable."
|
"description": "A second variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"var4": {
|
"var4": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -99,6 +111,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"var4"
|
"var4"
|
||||||
],
|
],
|
||||||
"description": "A forth variable."
|
"description": "A forth variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A condition."
|
"description": "A condition.",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable": {
|
"variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,6 +60,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A condition."
|
"description": "A condition.",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable": {
|
"variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,6 +60,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A condition."
|
"description": "A condition.",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable": {
|
"variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,6 +60,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A condition."
|
"description": "A condition.",
|
||||||
|
"gen_examples": [
|
||||||
|
"yes"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable": {
|
"variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,6 +60,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -23,7 +23,11 @@
|
||||||
"names": [
|
"names": [
|
||||||
"condition"
|
"condition"
|
||||||
],
|
],
|
||||||
"description": "A condition."
|
"description": "A condition.",
|
||||||
|
"gen_examples": [
|
||||||
|
"yes"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
},
|
},
|
||||||
"variable": {
|
"variable": {
|
||||||
"type": "variable",
|
"type": "variable",
|
||||||
|
|
@ -56,6 +60,10 @@
|
||||||
"names": [
|
"names": [
|
||||||
"variable"
|
"variable"
|
||||||
],
|
],
|
||||||
"description": "A variable."
|
"description": "A variable.",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue