Skip to content

Commit

Permalink
fix: fixed log message for cookie params
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashansa-K committed Nov 25, 2024
1 parent b67debf commit 95cd6fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openapi2kong/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ func generateParameterSchema(operation *v3.Operation, path *v3.PathItem,
for _, parameter := range combinedParameters {
if parameter != nil {
if parameter.In == "cookie" {
logbasics.Info(`cookie parameters are not supported for request-validator plugin;
choose either path, query or header`)
logbasics.Info("cookie parameters are not supported by the request-validator plugin; validation will be skipped")

invalidParamCounts++

Expand Down

0 comments on commit 95cd6fc

Please sign in to comment.