<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>landcelita</author_name>
  <author_url>https://blog.hatena.ne.jp/landcelita/</author_url>
  <blog_title>Mirrativ Tech Blog</blog_title>
  <blog_url>https://tech.mirrativ.stream/</blog_url>
  <categories>
  </categories>
  <description>⁠ こんにちは、バックエンドエンジニアの山倉です。 MirrativではPub/Subサーバーを使ってサーバー - クライアント間のリアルタイム通信を行っており、メッセージ形式はJSONを採用しています。HTTP APIについては従来からOpenAPI Validationをかけていましたが、Pub/Subサーバーで使われるJSONメッセージに対しては十分なバリデーションができていませんでした。 本記事ではJSONメッセージにOpenAPI Validationを適用する仕組みを導入した経緯と実装方法を紹介します。 きっかけは、サーバー - クライアント間のJSONの型不一致による障害でした。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.mirrativ.stream%2Fentry%2F2026%2F01%2F16%2F100000&quot; title=&quot;Pub/Sub障害からの学び：JSONメッセージをOpenAPI Validationで守る - Mirrativ Tech Blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/l/landcelita/20260114/20260114181151.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-16 10:00:00</published>
  <title>Pub/Sub障害からの学び：JSONメッセージをOpenAPI Validationで守る</title>
  <type>rich</type>
  <url>https://tech.mirrativ.stream/entry/2026/01/16/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
