You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Python] Fix#5126 operations with req enums of length one (#5129)
* Updates ap.mustache for python-experimental, adds test test_test_endpoint_enums_length_one
* Removes sortParamsByRequiredFlag from python-experimental
* Removes duplicate params from docstring
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PythonClientExperimentalCodegen.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,13 @@ public PythonClientExperimentalCodegen() {
{{paramName}} ({{dataType}}):{{#description}} {{description}}.{{/description}} defaults to {{{defaultValue}}}, must be one of [{{{defaultValue}}}]
85
+
{{/defaultValue}}
86
+
{{/requiredParams}}
87
+
88
+
Keyword Args:{{#optionalParams}}
89
+
{{paramName}} ({{dataType}}):{{#description}} {{description}}.{{/description}} [optional]{{#defaultValue}} if omitted the server will use the default value of {{{defaultValue}}}{{/defaultValue}}{{/optionalParams}}
90
+
_return_http_data_only (bool): response data without head status
91
+
code and headers. Default is True.
92
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
93
+
will be returned without reading/decoding response data.
94
+
Default is True.
95
+
_request_timeout (float/tuple): timeout setting for this request. If one
96
+
number provided, it will be total request timeout. It can also
97
+
be a pair (tuple) of (connection, read) timeouts.
98
+
Default is None.
99
+
_check_input_type (bool): specifies if type checking
100
+
should be done one the data sent to the server.
101
+
Default is True.
102
+
_check_return_type (bool): specifies if type checking
103
+
should be done one the data received from the server.
104
+
Default is True.
105
+
_host_index (int): specifies the index of the server
0 commit comments