We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b530cd commit eeffb68Copy full SHA for eeffb68
modules/openapi-generator/src/main/resources/go/api.mustache
@@ -371,7 +371,7 @@ func (a *{{{classname}}}Service) {{nickname}}Execute(r {{#structPrefix}}{{&class
371
if localVarHTTPResponse.StatusCode >= 400 && localVarHTTPResponse.StatusCode < 500 {
372
{{/is4xx}}
373
{{#is5xx}}
374
- if localVarHTTPResponse.StatusCode >= 500
+ if localVarHTTPResponse.StatusCode >= 500 {
375
{{/is5xx}}
376
{{/range}}
377
{{^range}}
0 commit comments