mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-08 08:10:08 +00:00
[openapi] Lint: Disable funlen for swagger route registration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
4ead12f536
commit
ed15c532d3
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func handleSwaggerRequest(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
}
|
||||
|
||||
//nolint:gocyclo // Makes no sense to split just to spare a little complexity
|
||||
//nolint:funlen,gocyclo // Makes no sense to split just to spare a little complexity
|
||||
func registerSwaggerRoute(route plugins.HTTPRouteRegistrationArgs) error {
|
||||
fullPath := strings.Join([]string{
|
||||
"",
|
||||
|
|
Loading…
Reference in a new issue