1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

improve route debug info, see HISTORY.md

Former-commit-id: ae245bae5fefa57c5f7663f7d1d661ec68ad366a
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-04-26 06:21:20 +03:00
parent 5d3c96947c
commit 77a79cae58
8 changed files with 115 additions and 39 deletions

View File

@@ -59,7 +59,7 @@ func (g GRPC) Apply(c *ControllerActivator) {
if route := c.Handle(http.MethodPost, path, m.Name, pre); route != nil {
route.Description = "gRPC"
if g.Strict {
route.Description = "-only"
route.Description += "-only"
}
}
}