diff --git a/console/commands/swagger.go b/console/commands/swagger.go index 64e2915..4b82a26 100644 --- a/console/commands/swagger.go +++ b/console/commands/swagger.go @@ -119,9 +119,6 @@ func (SwaggerCommand) Execute(input command.Input) { match := re.FindStringSubmatch(routeGroup.Doc) if match != nil { prefix = match[1] - if !strings.HasPrefix(prefix, "/") { - prefix = "/" + prefix - } } } }