Mention this in the `servers` section of the openapi.yml (relative URLs are allowed) too, even though our generator does not consider it.
5 lines
180 B
Go
5 lines
180 B
Go
//go:generate go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen -package=api -generate types,server -o api.gen.go openapi.yml
|
|
|
|
package api
|
|
|
|
const BasePath = "/api/worker/v1"
|