直接編輯json方式的swagger文檔,請問返回json的註釋怎麼寫?
自己解決:
"definitions": { "ownerNumer": { "type": "object", "properties": { "status": { "type": "integer", "format": "int64", "description": "状态:0正常1异常" }, "number": { "type": "integer", "format": "int64", "description": "用户数量" } } } },
推薦你一個網站 https://app.stoplight.io/ 你可以直接在這個網站編輯swagger檔案
自己解決:
推薦你一個網站 https://app.stoplight.io/ 你可以直接在這個網站編輯swagger檔案