chore(server): bump generated api
This commit is contained in:
parent
69b60032f9
commit
8c277ef692
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
// Package server provides primitives to interact with the openapi HTTP API.
|
// Package server provides primitives to interact with the openapi HTTP API.
|
||||||
//
|
//
|
||||||
// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.
|
// Code generated by github.com/deepmap/oapi-codegen/v2 version v2.2.0 DO NOT EDIT.
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
@ -754,7 +754,7 @@ func RegisterHandlersWithOptions(router fiber.Router, si ServerInterface, option
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, m := range options.Middlewares {
|
for _, m := range options.Middlewares {
|
||||||
router.Use(m)
|
router.Use(fiber.Handler(m))
|
||||||
}
|
}
|
||||||
|
|
||||||
router.Get(options.BaseURL+"/v1/trainings", wrapper.ListTrainings)
|
router.Get(options.BaseURL+"/v1/trainings", wrapper.ListTrainings)
|
||||||
|
|
|
||||||
Reference in a new issue