Skip to content

Commit f95b4fc

Browse files
Removed converting filter to lower case (#1370)
Co-authored-by: Anurag Dalke <[email protected]>
1 parent 11a2255 commit f95b4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/scan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ func addAPISecScan(cmd *cobra.Command) map[string]interface{} {
12971297
apiSecMapConfig[resultsMapType] = commonParams.APISecType
12981298
apiDocumentation, _ := cmd.Flags().GetString(commonParams.APIDocumentationFlag)
12991299
if apiDocumentation != "" {
1300-
apiSecConfig.SwaggerFilter = strings.ToLower(apiDocumentation)
1300+
apiSecConfig.SwaggerFilter = apiDocumentation
13011301
}
13021302
apiSecMapConfig[resultsMapValue] = &apiSecConfig
13031303
return apiSecMapConfig

0 commit comments

Comments
 (0)