From a9aa48769d0e2e3d85fefd9c0de43f92fbf98d2c Mon Sep 17 00:00:00 2001 From: Prashansa Kulshrestha Date: Wed, 23 Oct 2024 12:37:32 +0530 Subject: [PATCH] fix: lint issue fix --- openapi2kong/validator.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openapi2kong/validator.go b/openapi2kong/validator.go index 0d01086..12134ea 100644 --- a/openapi2kong/validator.go +++ b/openapi2kong/validator.go @@ -79,7 +79,8 @@ func generateParameterSchema(operation *v3.Operation, insoCompat bool) ([]map[st _, typeStr, ok := fetchOneOfAndType(schemaMap) if ok && typeStr == "" { - return nil, fmt.Errorf(`parameter schemas for request-validator plugin using oneOf must have a top-level type property`) + return nil, + fmt.Errorf(`parameter schemas for request-validator plugin using oneOf must have a top-level type property`) } }