Skip to content

Commit 22e0ba3

Browse files
committed
Fix fallback type
1 parent db8667c commit 22e0ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/go/models/model.go.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ type {{ definition.name | caseUcfirst }} struct {
1010

1111
{%~ if definition.additionalProperties %}
1212
// Additional properties
13-
data interface{}
13+
Data map[string]interface{}
1414
{%~ endif %}
1515
}

0 commit comments

Comments
 (0)