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
As i can see in the git history there was a change in the file called "modelGeneric.mustache" to use allVars instead of vars. It looks like that the allVars array seems to be empty in that case :/ If I revert that change locally back to use vars the code is generated well:
This issue is similar to #1547.
If I use the following spec file:
openapi-generator version: 4.0.2
generator: typescript-fetch
Sample Spec:
The generator create a model, where the serialize/deserialize functions return an empty object:
As i can see in the git history there was a change in the file called "modelGeneric.mustache" to use allVars instead of vars. It looks like that the allVars array seems to be empty in that case :/ If I revert that change locally back to use vars the code is generated well:
The text was updated successfully, but these errors were encountered: