pegasus-io / lets-go

My path learning Golang
0 stars 0 forks source link

Open API 3 #3

Open Jean-Baptiste-Lasselle opened 4 years ago

Jean-Baptiste-Lasselle commented 4 years ago

I won't use the well known go-swagger, because it lacks open api 3, apparently, and :

see https://github.com/deepmap/oapi-codegen, and do that on feature/swagger branch

also try to compare, https://github.com/Azure/autorest

Jean-Baptiste-Lasselle commented 4 years ago

on worst case I can generate a first swagger using https://editor.swagger.io/

Jean-Baptiste-Lasselle commented 4 years ago

ok, here is a simple way to generate my open-api.yaml Open API Spec v3 :

A small version of apicurio : https://github.com/Apicurio/apicurito

Ok, this one I could make it work in standalone mode :


git clone git clone https://github.com/Apicurio/apicurito ~/apicurito

yarn && npm i -g @angular/cli && npm i

cd ui/

yarn && npm i && ng serve

APi curito can do it for so many cases