We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f82117e commit d4641a6Copy full SHA for d4641a6
1 file changed
openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/converter/ApiOptions.kt
@@ -110,7 +110,7 @@ class ApiOptions {
110
val ApiOptions.resultStyle: ResultStyle
111
get() {
112
val matches = typeMappings
113
- .filterIsInstance(ResultStyleOptionMapping::class.java)
+ .filterIsInstance<ResultStyleOptionMapping>()
114
115
if (matches.isEmpty())
116
return ResultStyle.SUCCESS
0 commit comments