{"id":137428,"date":"2020-07-20T19:14:28","date_gmt":"2020-07-20T11:14:28","guid":{"rendered":"http:\/\/4563.org\/?p=137428"},"modified":"2020-07-20T19:14:28","modified_gmt":"2020-07-20T11:14:28","slug":"%e5%bc%80%e5%8f%91%e4%ba%86%e4%b8%80%e4%b8%aa%e6%96%b9%e4%be%bf%e5%86%99-swagger-%e6%96%87%e6%a1%a3%e7%9a%84%e9%a1%b9%e7%9b%ae","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=137428","title":{"rendered":"\u5f00\u53d1\u4e86\u4e00\u4e2a\u65b9\u4fbf\u5199 Swagger \u6587\u6863\u7684\u9879\u76ee"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5f00\u53d1\u4e86\u4e00\u4e2a\u65b9\u4fbf\u5199 Swagger \u6587\u6863\u7684\u9879\u76ee               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cai314494687 <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4e00\u5f00\u59cb\u51c6\u5907\u5199\u4e2a API \u9879\u76ee\uff0c\u7ed3\u679c\u53d1\u73b0\u6ca1\u6709\u4e00\u4e2a\u5199 Swagger \u65b9\u5f0f\u6587\u6863\u7684\u5de5\u5177\uff0c\u4e0d\u8981\u63d0\u5728\u4ee3\u7801\u91cc\u9762\u7528\u6ce8\u91ca\u7684\u65b9\u5f0f\u751f\u6210 Swagger \u6587\u6863\uff0c\u6211\u89c9\u5f97\u8fd9\u79cd\u65b9\u5f0f\u7279\u522b\u6076\u5fc3\u3002<\/p>\n<p>\u6240\u4ee5\u6211\u81ea\u5df1\u624b\u52a8\u9020\u4e86\u4e00\u4e2a\u8f6e\u5b50\uff0c\u4ed3\u5e93\uff1a<\/p>\n<p>https:\/\/github.com\/cashwarden\/docs<\/p>\n<p>\u5df2\u7ecf\u5b9e\u73b0 Github Action CI\uff0c\u7f16\u5199 API\uff0c\u914d\u5408 Github Pages \u5b9e\u73b0\u81ea\u52a8\u66f4\u65b0\u6587\u6863\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2559850\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cweijan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u4e2a\u7684\u4f5c\u7528\u662f\u5565? \u5728\u4ee3\u7801\u7528\u6ce8\u91ca\u751f\u6210\u6587\u6863\u662f\u5f88\u597d\u7684\u65b9\u5f0f, \u6211\u60f3\u4f60\u6307\u7684\u662f\u6ce8\u89e3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2559851\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cai314494687 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cweijan #1 \u6211\u6307\u7684\u662f\u7528\u6ce8\u91ca\u7684\u65b9\u5f0f\u751f\u6210 Swagger API \u6587\u6863\uff0c\u611f\u89c9 1 \u662f\u81ea\u7531\u5ea6\u4e0d\u591f\u9ad8\uff0c2 \u662f\u6ce8\u91ca\u7684\u683c\u5f0f\u975e\u5e38\u4e0d\u53cb\u597d\uff0c\u5f80\u5f80\u8981\u5199\u5f88\u957f\u7684\u4e00\u6bb5\u6ce8\u91ca\uff0c\u800c\u4e14\u6ce8\u91ca\u7684\u5185\u5bb9\u662f\u4e0d\u80fd\u88ab IDE \u683c\u5f0f\u5316\u7684\uff0c\u6211\u89c9\u5f97\u975e\u5e38\u4e0d\u53cb\u597d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2559852\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cai314494687 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cweijan #1 \u5fd8\u4e86\u8bf4\u4f5c\u7528\u4e86\uff0c\u8fd9\u4e2a\u5de5\u5177\u5c31\u662f\u7ed9\u4f60\u65b9\u4fbf\u5199 Swagger API \u6587\u6863\u7684\uff0c\u770b\u770b openapi \u76ee\u5f55\u5c31\u77e5\u9053\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2559853\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cweijan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cai314494687 \u770b\u4e86\u4e0b, \u8bf4\u5b9e\u5728\u5e76\u4e0d\u770b\u597d, \u63a5\u53e3\u5982\u679c\u53d1\u751f\u53d8\u52a8, \u5c31\u548c\u6587\u6863\u4e0d\u540c\u6b65\u4e86, \u5982\u679c\u7528\u6ce8\u91ca\u7684\u65b9\u5f0f\u5c31\u53ef\u4ee5\u53ca\u65f6\u66f4\u65b0\u4e86<br \/>swagger \u6709 https:\/\/github.com\/Willing-Xyz\/RestDoc<br \/>yapi \u6709 https:\/\/plugins.jetbrains.com\/plugin\/index?xmlId=com.itangcent.idea.plugin.easy-yapi                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2559854\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cai314494687 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @cweijan #4 \u4e0d\u597d\u610f\u601d\uff0c\u6211\u4e0d\u7528 Java\uff0c\u6211\u8fd9\u4e2a\u8ddf\u8bed\u8a00\u65e0\u5173\u3002<\/p>\n<p>\u6211\u8fd9\u4e2a\u53ea\u662f\u4e00\u4e2a\u5c0f\u5de5\u5177\u800c\u5df2\uff0c\u6211\u81ea\u5df1\u7528\u8d77\u6765\u65b9\u4fbf\uff0c\u987a\u4fbf\u5206\u4eab\u7ed9\u5927\u5bb6\uff0c\u5927\u5bb6\u7528\u5f97\u7740\u5c31\u66f4\u597d\u4e86\uff0c\u7528\u4e0d\u7740\u5c31\u7b97\u4e86\uff0c\u53cd\u6b63\u5c31\u82b1\u4e86 1 \u5929\u65f6\u95f4\u5f00\u53d1\u7684\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2559855\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : raaaaaar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u628a\u5199\u63a5\u53e3\u6587\u6863\u548c\u63a5\u53e3\u6d4b\u8bd5\u8054\u7cfb\u8d77\u6765\u662f\u6bd4\u8f83\u597d\u7684\u65b9\u5f0f\uff0c\u6bd4\u5982 postman \u751f\u6210\u6587\u6863\u5c31\u4e0d\u9519\uff0c\u65b9\u4fbf\u7ba1\u7406\u63a5\u53e3\uff0c\u4e5f\u65b9\u4fbf\u66f4\u65b0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2559856\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yanshenxian <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @raaaaaar +1 \u5c31\u559c\u6b22\u8fd9\u79cd\u65e0\u4fb5\u5165\u7684 \u5c31\u662f\u66f4\u8017\u8d39\u7cbe\u529b <br \/>\u5982\u679c\u662f java spring \u6709\u4e2a spring rest doc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5f00\u53d1\u4e86\u4e00\u4e2a\u65b9\u4fbf\u5199 Swagger &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/137428"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=137428"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/137428\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=137428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=137428"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=137428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}