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
|
|
@ -44,7 +44,7 @@ func NewServer(logger *log.Logger, workers *worker.Server, rpmMetadata rpmmd.RPM
|
|||
e.Binder = binder{}
|
||||
e.StdLogger = logger
|
||||
|
||||
api.RegisterHandlers(e, &apiHandlers{s})
|
||||
api.RegisterHandlers(e.Group(api.BasePath), &apiHandlers{s})
|
||||
|
||||
s.server = &http.Server{
|
||||
ErrorLog: logger,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue