fix param description
This commit is contained in:
parent
3314e3a366
commit
d86880c329
@ -141,7 +141,7 @@ func generatePathParameterConfig(swaggerInfo *define.Swagger, pathConfig *define
|
||||
hasDealTable[namePath[0]] = true
|
||||
generateParam := &define.SwaggerPathConfigParameter{
|
||||
Type: wrapper.TernaryOperator.String(realParamName == "jsonBody", "object", wrapper.String(itemParamInput.Type)).Value(),
|
||||
Description: itemParamInput.Description,
|
||||
Description: wrapper.TernaryOperator.String(realParamName == "jsonBody", "object", wrapper.String(itemParamInput.Description)).Value(),
|
||||
Name: realParamName,
|
||||
In: itemParamInput.In,
|
||||
Required: itemParamInput.Required,
|
||||
|
Loading…
x
Reference in New Issue
Block a user