alexjomin / openapi-parser

Simple and still naive openapi documentation generator from comments of your Go code.
18 stars 8 forks source link

Feat/add types #24

Closed Sadzeih closed 4 years ago

Sadzeih commented 4 years ago

This PR adds byte and []byte handling. I followed the specs described here: https://swagger.io/specification/#dataTypes

It's a bit weird for []byte but I didn't see another way of doing it easily.

denouche commented 4 years ago

Could you rebase your branch please, to see the exact diff of this PR which also include the go mod migration?

Sadzeih commented 4 years ago

There you go!

denouche commented 4 years ago

thanks!