kojiapi: prefix all routes with /api/composer-koji/v1
The cloud API will be moved to `/api/composer/v1` in the future. Mention this in the `servers` section of the openapi.yml (relative URLs are allowed) too, even though our generator does not consider it.
This commit is contained in:
parent
a8ba969f6e
commit
40d8440660
5 changed files with 11 additions and 7 deletions
|
|
@ -1,3 +1,5 @@
|
|||
//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/composer-koji/v1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue