Skip to content

Commit

Permalink
Fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
N L committed Nov 16, 2023
1 parent 03aa88b commit 72eb8bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions request/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func CreateRequest(ctx context.Context, openapiData *openapi3.T, router *routers
log.Error("request.go Failed to get the base path: ", err)
}

if basePath == "/" {
basePath = ""
}

// Add global security feature here

securityScheme := &openapiData.Components.SecuritySchemes
Expand Down

0 comments on commit 72eb8bf

Please sign in to comment.