This commit implements x-go-optional-value, which forces the code
generator to generate value types (not pointer types) for optional
parameters. This closes issue #76.
Particularly, with how this commit is implemented, this is completely
allowed:
The x-go-optional-values can override each other depending on its
hierarchy.
This commit also implements x-go-string, which adds the ",string" suffix
into the JSON tag of a field, allowing that field to be parsed from a
string to an integer of any type. This closes issue #77.
This commit implements x-go-optional-value, which forces the code generator to generate value types (not pointer types) for optional parameters. This closes issue #76.
Particularly, with how this commit is implemented, this is completely allowed:
The
x-go-optional-value
s can override each other depending on its hierarchy.This commit also implements x-go-string, which adds the ",string" suffix into the JSON tag of a field, allowing that field to be parsed from a string to an integer of any type. This closes issue #77.