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
This is clearly unfriendly, since it's lying about the openAPI contract for that given model.
What I'd expect for such cases in typescript is this result:
Bug Report Checklist
Description
When I have a model property that will be sanitized e.g.
the output will be
This is clearly unfriendly, since it's lying about the openAPI contract for that given model.
What I'd expect for such cases in typescript is this result:
openapi-generator version
7.7.0 (master)
OpenAPI declaration file content or url
JSON spec
Generation Details
On master run
./run-in-docker.sh mvn package
./run-in-docker.sh generate -i spec.json -g typescript-angular --minimal-update --global-property models
you'll get a misleading interface, with a snake_cased property name.
Steps to reproduce
Related issues/PRs
Suggest a fix
I'll open a PR to fix this soon.
The text was updated successfully, but these errors were encountered: