{"published":"2019-06-06 20:40:24","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinsoku.hatenablog.com%2Fentry%2F2019%2F06%2F06%2F204024\" title=\"\u8868\u53c2\u9053.rb #47 \u301cAPI\u301c\u3067\u5171\u6709\u3057\u305f\u77e5\u898b #omotesandorb - \u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://sinsoku.hatenablog.com/","url":"https://sinsoku.hatenablog.com/entry/2019/06/06/204024","author_url":"https://blog.hatena.ne.jp/sinsoku/","provider_url":"https://hatena.blog","version":"1.0","title":"\u8868\u53c2\u9053.rb #47 \u301cAPI\u301c\u3067\u5171\u6709\u3057\u305f\u77e5\u898b #omotesandorb","type":"rich","image_url":null,"blog_title":"\u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31","description":"LT\u3059\u308b\u65b9\u304c\u5c11\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u81ea\u5206\u304c\u3084\u3063\u3066\u308b\u77e5\u898b\u7684\u306a\u4e8b\u3092\u7d39\u4ecb\u3059\u308b\u305f\u3081\u306e\u30d6\u30ed\u30b0\u3002 API \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 OpenAPI\u3067\u66f8\u3044\u3066\u3044\u307e\u3059\u3002 \u521d\u3081\u3066\u805e\u3044\u305f\u4eba\u5411\u3051\u306e\u8aac\u660e Swagger Editor\u3067\u66f8\u304f\u3068\u3001 Swagger UI\u307f\u305f\u3044\u306a\u898b\u305f\u76ee\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u4f5c\u308c\u308b\u3002 \u30d5\u30a1\u30a4\u30eb\u306e\u7f6e\u304d\u5834\u6240 #{Rails.root}/doc/api/openapi.yml \u306b1\u30d5\u30a1\u30a4\u30eb\u3067\u7f6e\u3044\u3066\u3042\u308a\u307e\u3059\u3002 \u66f4\u65b0\u3059\u308b\u3068\u304d #{Rails.root}/doc/api/docker-compose.yml \u3092\u4f5c\u3063\u3066\u304a\u304d\u307e\u3059\u3002 version: \"3.7\" services: editor: image: swaggerapi/sw\u2026","categories":["ruby"],"height":"190","provider_name":"Hatena Blog","author_name":"sinsoku","width":"100%"}