Skip to content

Commit 6b305c3

Browse files
committed
clean up
1 parent 09b5f3c commit 6b305c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/converter

openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/converter/ApiConverter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class ApiConverter(
198198
val dropMappings = getDropParameterMappings(ctx.path, ctx.method)
199199

200200
parameters
201-
.filter { p -> dropMappings.find { it.parameterName == p.getName() } == null }
201+
.filter { p -> dropMappings.none { it.parameterName == p.getName() } }
202202
.forEach {
203203
resultParameters.add(createParameter(it, ctx))
204204
}

0 commit comments

Comments
 (0)