Skip to content

Commit

Permalink
rebased
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
  • Loading branch information
fenollp committed Jan 3, 2023
1 parent 5b6c030 commit 6fe4ecf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openapi3filter/req_resp_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -1125,8 +1125,7 @@ func multipartBodyDecoder(body io.Reader, header http.Header, schema *openapi3.S
if len(schema.Value.AllOf) > 0 {
var exists bool
for _, sr := range schema.Value.AllOf {
valueSchema, exists = sr.Value.Properties[name]
if exists {
if valueSchema, exists = sr.Value.Properties[name]; exists {
break
}
}
Expand Down

0 comments on commit 6fe4ecf

Please sign in to comment.