diff --git a/.generator/src/generator/templates/api.j2 b/.generator/src/generator/templates/api.j2 index a726665cc..abfbe14e8 100644 --- a/.generator/src/generator/templates/api.j2 +++ b/.generator/src/generator/templates/api.j2 @@ -107,7 +107,6 @@ impl {{ structName }} { {% if operation.description is defined %} {{ operation.description | block_comment }} {%- endif %} - pub async fn {{operation.operationId | snake_case}}_with_http_info(&self{% for name, parameter in requiredParams %}, {{name|variable_name}}: {{ get_type_for_parameter(parameter, version) }}{% endfor %}{% if operation|has_optional_parameter %}, params: {{operation.operationId}}OptionalParams{% endif %}) -> Result, Error<{{operation.operationId}}Error>> { {%- if "x-unstable" in operation %} let operation_id = "{{ version }}.{{ operation.operationId | snake_case }}".to_string();