A REST API for Liqo.
The endpoints are described in OpenAPI format in api.yaml
.
To change the API methods, edit api.yaml
and regenerate the code:
go get github.com/deepmap/oapi-codegen/cmd/oapi-codegen
oapi-codegen -old-config-style -package api -generate types,server,spec api.yaml > api/api.go
oapi-codegen -old-config-style -package client -generate types,client api.yaml > client/client.go