mirror of
https://github.com/davidebianchi/gswagger.git
synced 2025-12-23 15:28:29 -05:00
8 lines
243 B
Go
8 lines
243 B
Go
package apirouter
|
|
|
|
type Router[HandlerFunc any, Route any] interface {
|
|
AddRoute(method string, path string, handler HandlerFunc) Route
|
|
SwaggerHandler(contentType string, blob []byte) HandlerFunc
|
|
TransformPathToOasPath(path string) string
|
|
}
|