fixed default value strings
parent
3691ce7489
commit
e3702314d4
|
@ -55,7 +55,7 @@ function mapOperation(operation, namespace) {
|
|||
let type = javaType.mapJavaType(resp.type, namespace)
|
||||
return {
|
||||
type,
|
||||
name: `${utils.camelcase(type.baseType)}${resp.code.integer.value}`
|
||||
name: `${utils.camelcase(type.baseType || 'result')}${resp.code.integer.value}`
|
||||
}
|
||||
})
|
||||
operation.responses = operation.responses.map(resp => {
|
||||
|
|
Loading…
Reference in New Issue