Skip to content

Commit

Permalink
adds 'any' to primitive types as adhoc fix (swaggo#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlaitila committed Mar 17, 2022
1 parent 2552c40 commit 6d3d4c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ func IsGolangPrimitiveType(typeName string) bool {
"float32",
"float64",
"bool",
"string":
"string",
"any":
return true
}

Expand Down

0 comments on commit 6d3d4c9

Please sign in to comment.