Skip to content

Commit 78af462

Browse files
committed
improved naming
1 parent c3b1830 commit 78af462

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/groovy/com/github/hauner/openapi/spring/converter/ApiConverter.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ApiConverter {
126126
def contentType = requestBodyEntry.key
127127
def reqBody = requestBodyEntry.value
128128

129-
def info = new SchemaInfo (ep.path, reqBody.schema, getInlineTypeName (ep.path))
129+
def info = new SchemaInfo (ep.path, reqBody.schema, getInlineRequestBodyName (ep.path))
130130
info.resolver = resolver
131131

132132
if (contentType == MULTIPART) {
@@ -225,7 +225,7 @@ class ApiConverter {
225225
responses
226226
}
227227

228-
private String getInlineTypeName (String path) {
228+
private String getInlineRequestBodyName (String path) {
229229
Identifier.toClass (path) + 'RequestBody'
230230
}
231231

0 commit comments

Comments
 (0)