<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Windymelt</author_name>
  <author_url>https://blog.hatena.ne.jp/Windymelt/</author_url>
  <blog_title>Lambdaカクテル</blog_title>
  <blog_url>https://blog.3qe.us/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>scala</anon>
    <anon>tapir</anon>
    <anon>http4s</anon>
  </categories>
  <description>ScalaでHTTPエンドポイントを定義するためのライブラリであるTapirは最近よく使われており、Star数もとても多い(今見たら1.2kだった)。具体的なHTTPライブラリから独立した定義ができるため、メンテナビリティが高いのが特徴である。OpenAPIの定義を生成する機能もあるため、便利なライブラリだ。 Tapirはエンドポイントを定義する汎用ライブラリなので、サーバのルーティングに使うこともできるし、クライアントのリクエストを生成することもできるが、公式ドキュメントはどちらかといえばサーバサイドでルーティング生成を行うことに重心を置いていて、あまりクライアント側利用の情報が載っていない…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.3qe.us%2Fentry%2F2023%2F05%2F25%2F221922&quot; title=&quot;Scala + tapirで定義したエンドポイントにhttp4sクライアントでアクセスするパターン - Lambdaカクテル&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-05-25 22:19:22</published>
  <title>Scala + tapirで定義したエンドポイントにhttp4sクライアントでアクセスするパターン</title>
  <type>rich</type>
  <url>https://blog.3qe.us/entry/2023/05/25/221922</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
