fixed default value strings
This commit is contained in:
parent
e3702314d4
commit
48349adf5e
|
@ -61,7 +61,7 @@ function mapOperation(operation, namespace) {
|
||||||
operation.responses = operation.responses.map(resp => {
|
operation.responses = operation.responses.map(resp => {
|
||||||
let type = javaType.mapJavaType(resp.type, namespace)
|
let type = javaType.mapJavaType(resp.type, namespace)
|
||||||
if(resp.type !== 'unit') {
|
if(resp.type !== 'unit') {
|
||||||
resp.label = `${utils.camelcase(type.baseType)}${resp.code.integer.value}`
|
resp.label = `${utils.camelcase(type.baseType || 'result')}${resp.code.integer.value}`
|
||||||
}
|
}
|
||||||
resp.type = type
|
resp.type = type
|
||||||
return resp
|
return resp
|
||||||
|
|
Loading…
Reference in a new issue