go-courier/oas

Could you extend the README a little?

Opened this issue · 4 comments

Hey there! This looks great, and it's really exciting to see an OpenAPI v3 parser for Go, but could you consider adding a little more to the README so folks can see how it works?

nkev commented

@philsturgeon Have a look at this one too: https://github.com/getkin/kin-openapi It's been around for a while (recently been moved to it's own repo).

nkev commented

This one is more lightweight and has a clear focus, while the kin-openapi has more functionality. If you need protobuf-openapi interoperability, also have a look at Google's https://github.com/googleapis/gnostic

hi @philsturgeon
go doc have some example https://godoc.org/github.com/go-courier/oas#OpenAPI

I used this pkg for my framework courier to pick openapi spec from code.
https://github.com/go-courier/httptransport/tree/master/openapi/generator
https://github.com/go-courier/httptransport/tree/master/__examples__

I will add doc for each exposes after whole framework stable enough.