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
openapi-generator-cli generate -i ../api.yaml -g go -o . -DpackageName=api -DwithGoCodegenComment
Steps to reproduce
Generate go client using given schema.
Suggest a fix
Tried changing getTypeDeclaration in AbstractGoCodegen.java to use ModelUtils.isFreeFormObject to no avail.
Also attempted changing template with no success.
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
map[string]interface{}
Description
Free form object property yields
map[string]map[string]interface{}
where it should bemap[string]interface{}
openapi-generator version
4.0.1
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Generate go client using given schema.
Suggest a fix
Tried changing
getTypeDeclaration
inAbstractGoCodegen.java
to useModelUtils.isFreeFormObject
to no avail.Also attempted changing template with no success.
The text was updated successfully, but these errors were encountered: