Closed iainduncani closed 4 years ago
I have a fix ready for this here:
https://github.com/iainduncani/go-restful-openapi/tree/primitive-slice-support
But as it is built on top of the code in PR #63 I will wait and see what happens with that PR before raising a separate PR for this fix.
Usually primitive types are not added to the model as they are not required but if you have a
[]string
then the string is added to the model. For instance:Produces:
Instead of: