<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chamotarooo</author_name>
  <author_url>https://blog.hatena.ne.jp/chamotarooo/</author_url>
  <blog_title>chamotaroooのブログ</blog_title>
  <blog_url>https://chamotaro.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>はじめに 2026年10月15日、新しい API のスキーマを OpenAPI で書いていた。 条件を満たす利用者にだけ、商品のページに案内を出すための API だ。 書いたスキーマから、oapi-codegen で Go のコードを生成している。 x-enum-descriptions が分からない。 tags が何だったか思い出せない。 required を付けた真偽値に「必ずしもそうではないでしょ」と打ち、allOf の説明には「よくわからない」と返した。 前日に聞いた疑問は、翌日に会話の履歴から拾い直して記事にした。 今日の分は、その日のうちに拾い直した。 自分の発言は約170個あった…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchamotaro.hatenablog.com%2Fentry%2Ftech%2Fopenapi-questions-in-one-day&quot; title=&quot;OpenAPI で API のスキーマを書きながら、1日で聞いた疑問に短く答える - chamotaroooのブログ&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>2026-10-15 23:15:19</published>
  <title>OpenAPI で API のスキーマを書きながら、1日で聞いた疑問に短く答える</title>
  <type>rich</type>
  <url>https://chamotaro.hatenablog.com/entry/tech/openapi-questions-in-one-day</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
