Skip to content

Commit a0db3eb

Browse files
committed
typo
1 parent 0c6a09f commit a0db3eb

File tree

1 file changed

+3
-3
lines changed
  • openapi-processor-core/src/main/kotlin/io/openapiprocessor/core/converter/mapping

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@ class MappingFinder(private val typeMappings: List<Mapping> = emptyList()) {
200200
* @return true/false
201201
*/
202202
fun isExcludedEndpoint(path: String, method: HttpMethod): Boolean {
203-
var methodExluded = false
203+
var methodExcluded = false
204204
var allExcluded = false
205205

206206
val ep = typeMappings
207207
.filterIsInstance<EndpointTypeMapping>()
208208
.filter(EndpointTypeMatcher(path, method))
209209

210210
if (ep.isNotEmpty())
211-
methodExluded = ep.first().exclude
211+
methodExcluded = ep.first().exclude
212212

213213
val epAll = typeMappings
214214
.filterIsInstance<EndpointTypeMapping>()
@@ -217,7 +217,7 @@ class MappingFinder(private val typeMappings: List<Mapping> = emptyList()) {
217217
if (epAll.isNotEmpty())
218218
allExcluded = epAll.first().exclude
219219

220-
return methodExluded || allExcluded
220+
return methodExcluded || allExcluded
221221
}
222222

223223
/**

0 commit comments

Comments
 (0)