Barak Amar
09/30/2022, 5:26 PMapi/swagger.yml
to you project and use oapi-codegen to build client side code to access lakefs.Taha Sadiki
09/30/2022, 5:36 PMBarak Amar
09/30/2022, 5:40 PM//go:generate go run <http://github.com/deepmap/oapi-codegen/cmd/oapi-codegen|github.com/deepmap/oapi-codegen/cmd/oapi-codegen> -config oapi.yml <https://raw.githubusercontent.com/treeverse/lakeFS/master/api/swagger.yml>
go generate
it will create lakefs.gen.go that include the client go codemain
feel free to change, use and reuse.
Also note that I am pointing to the latest swagger yaml API on GitHub, you can download or point to a specific version as a better practice.Taha Sadiki
09/30/2022, 5:52 PMBarak Amar
09/30/2022, 5:54 PMclient: true