alexjomin / openapi-parser

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

Definitions vs components schemas? #2

Open denouche opened 6 years ago

denouche commented 6 years ago

Hello,

About this line in the given example: https://github.com/alexjomin/openapi-parser/blame/master/README.md#L30

Shouldn't it be $ref: '#/components/schemas/Foo' ?