From 7d54fdb4fdc3ff04036ffdbc1874bc39dc794f7e Mon Sep 17 00:00:00 2001 From: Soumya Mukhopadhyay Date: Wed, 8 May 2024 09:13:06 +0530 Subject: [PATCH] Address #78 --- parameters/path_parameters.go | 1 + 1 file changed, 1 insertion(+) diff --git a/parameters/path_parameters.go b/parameters/path_parameters.go index 770f26b..00726ca 100644 --- a/parameters/path_parameters.go +++ b/parameters/path_parameters.go @@ -88,6 +88,7 @@ func (v *paramValidator) ValidatePathParams(request *http.Request) (bool, []*err //Mandatory path parameter cannot be empty if p.Required != nil && *p.Required { validationErrors = append(validationErrors, errors.PathParameterMissing(p)) + break } continue }