We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3b1830 commit 78af462Copy full SHA for 78af462
1 file changed
src/main/groovy/com/github/hauner/openapi/spring/converter/ApiConverter.groovy
@@ -126,7 +126,7 @@ class ApiConverter {
126
def contentType = requestBodyEntry.key
127
def reqBody = requestBodyEntry.value
128
129
- def info = new SchemaInfo (ep.path, reqBody.schema, getInlineTypeName (ep.path))
+ def info = new SchemaInfo (ep.path, reqBody.schema, getInlineRequestBodyName (ep.path))
130
info.resolver = resolver
131
132
if (contentType == MULTIPART) {
@@ -225,7 +225,7 @@ class ApiConverter {
225
responses
226
}
227
228
- private String getInlineTypeName (String path) {
+ private String getInlineRequestBodyName (String path) {
229
Identifier.toClass (path) + 'RequestBody'
230
231
0 commit comments