Skip to content

Commit 7347fd8

Browse files
committed
1 parent a2074e4 commit 7347fd8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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
@@ -189,7 +189,7 @@ class ApiConverter(
189189

190190
private fun checkSuccessResponse(endpoint: Endpoint) {
191191
if (endpoint.endpointResponses.isEmpty()) {
192-
log.warn("endpoint '${endpoint.path}' has no success 2xx response.")
192+
log.warn("endpoint '${endpoint.path}' has no success 1xx/2xx/3xx response.")
193193
}
194194
}
195195

openapi-processor-core/src/test/kotlin/io/openapiprocessor/core/converter/ApiConverterSpec.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class ApiConverterSpec: StringSpec({
169169

170170
converter.convert(openApi)
171171

172-
verify { log.warn("endpoint '/foo' has no success 2xx response.") }
172+
verify { log.warn("endpoint '/foo' has no success 1xx/2xx/3xx response.") }
173173
}
174174

175175
"generates unreferenced models" {

0 commit comments

Comments
 (0)