Skip to content

Commit

Permalink
fixed: swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
zodial committed Oct 22, 2024
1 parent 5d6b18a commit 12f54df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions console/commands/swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
}
Expand Down

0 comments on commit 12f54df

Please sign in to comment.