swaggest / rest

Web services with OpenAPI and JSON Schema done quick in Go
https://pkg.go.dev/github.com/swaggest/rest
MIT License
362 stars 17 forks source link

Add support for cookies in response #98

Closed vearutop closed 1 year ago

vearutop commented 1 year ago

Similar to having header field tags in output structure, we can have cookie. However, cookies have more additional parameters that perhaps can be configured as field tag options, e.g. cookie="foo,httponly,path=/foo".

reyesdiego commented 1 year ago

Yes.. thank you for adding this issue. I think the idea would be to work on the encoder and collector files right? I'm not that expert with golang