mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 06:00:52 +00:00
Codegen.apiToMap should use config.processResponseClass when setting the returnContainer property. Test passes now
This commit is contained in:
parent
aa1b4fc0fb
commit
550fade9e0
@ -436,7 +436,7 @@ class Codegen(config: CodegenConfig) {
|
||||
val ComplexTypeMatcher(basePart) = operation.responseClass
|
||||
|
||||
properties += "returnType" -> config.processResponseDeclaration(operation.responseClass.replaceAll(basePart, config.processResponseClass(basePart).get))
|
||||
properties += "returnContainer" -> (operation.responseClass.substring(0, n))
|
||||
properties += "returnContainer" -> config.processResponseClass(operation.responseClass.substring(0, n))
|
||||
properties += "returnBaseType" -> config.processResponseClass(basePart)
|
||||
properties += "returnTypeIsPrimitive" -> {
|
||||
(config.languageSpecificPrimitives.contains(basePart) || primitives.contains(basePart)) match {
|
||||
|
Loading…
x
Reference in New Issue
Block a user