Directly edit the swagger document in json mode. How to write the comment that returns json?
Solve it yourself:
"definitions": { "ownerNumer": { "type": "object", "properties": { "status": { "type": "integer", "format": "int64", "description": "状态:0正常1异常" }, "number": { "type": "integer", "format": "int64", "description": "用户数量" } } } },
Recommend you a website https://app.stoplight.io/ You can edit the swagger file directly on this website
Solve it yourself:
Recommend you a website https://app.stoplight.io/ You can edit the swagger file directly on this website