Description
Currently optional parameters generate code with no option to exclude them, making the parameters required.
Swagger-codegen version
master HEAD
Suggestions
- Use interface{} for optional parameters, except string, with run-time type checking.
- Use pointers (dangerous due to race conditions: i.e. go func in for loop).
- Use a map to pass parameters (similar to the Perl version).
I am leaning towards implementing 1 unless there are other suggestions?