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
...
var data = apiResponse.getData();
if ((Object) data instanceof String s) {
routingContext.response().end(s);
} else {
routingContext.json(data);
}
...
The text was updated successfully, but these errors were encountered:
Description
Textual responses get wrapped in JSON, the current template calls
.json
regardless of output type.openapi-generator version
7.2.0
Also checked on latest master via Docker
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Run the above command
Related issues/PRs
Suggest a fix
Not the cleanest, but
apiHandler.mustache
can be:The text was updated successfully, but these errors were encountered: