php - How should swagger return json comments?
我想大声告诉你
我想大声告诉你 2017-07-01 09:11:52
0
2
1188

Directly edit the swagger document in json mode. How to write the comment that returns json?

我想大声告诉你
我想大声告诉你

reply all(2)
女神的闺蜜爱上我

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template