Code generated using native OpenAPI specification (#724)
* Code generated using native OpenAPI specification Signed-off-by: saimedhi <[email protected]> * Code generated using native OpenAPI specification Signed-off-by: saimedhi <[email protected]> * Code generated using native OpenAPI specification Signed-off-by: saimedhi <[email protected]> --------- Signed-off-by: saimedhi <[email protected]>
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
{% for p, info in api.params %}
|
||||
{% if info.description %}
|
||||
{% filter wordwrap(72, wrapstring="\n ") %}
|
||||
:arg {{ p }}{% if info.deprecated and info.deprecation_message is defined %} (Deprecated: {{ info['deprecation_message'][:-1] }}.){% endif %}: {{ info.description }} {% if info.options and "Valid values: " not in info.description %}Valid choices are {{ info.options|join(", ") }}.{% endif %}
|
||||
:arg {{ p }}{% if info.deprecated and info.deprecation_message is defined %} (Deprecated: {{ info['deprecation_message'][:-1] }}.){% endif %}: {{ info.description }} {% if info.options and "Valid values" not in info.description %}Valid choices are {{ info.options|join(", ") }}.{% endif %}
|
||||
{% if info.default is defined %}{% if info.default is not none %}{% if info.default is sameas(false) %}Default is false.{% else %}Default is {{ info.default }}.{% endif %}{% endif %}{% endif %}
|
||||
{% endfilter %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user