a-h / rest

Generate OpenAPI 3.0 specifications from Go code.
MIT License
55 stars 22 forks source link

fixed issue where time.Time field comments are all set to the final time.Time field comment #12

Closed laurabirchIW closed 1 year ago

laurabirchIW commented 1 year ago

We were seeing the same comment against all time.Time fields, due to returning a pointer rather than value for knownTypes. I've run all the tests and also checked it against our project using workspaces and it doesn't appear to have had any unintended side effects!