diff options
Diffstat (limited to 'backend/api/workaround.go')
| -rw-r--r-- | backend/api/workaround.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/workaround.go b/backend/api/workaround.go index a3c47d7..5b5fe59 100644 --- a/backend/api/workaround.go +++ b/backend/api/workaround.go @@ -12,7 +12,7 @@ func GetSwaggerWithPrefix(prefix string) (*openapi3.T, error) { return nil, err } - var prefixedPaths openapi3.Paths = openapi3.Paths{} + prefixedPaths := openapi3.Paths{} for key, value := range spec.Paths.Map() { prefixedPaths.Set(prefix+key, value) } |
