<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>plarail_hangout</author_name>
  <author_url>https://blog.hatena.ne.jp/plarail_hangout/</author_url>
  <blog_title>Engineering Tech Dojo</blog_title>
  <blog_url>https://tech.fun-toy-life.com/</blog_url>
  <categories>
    <anon>OpenAPI</anon>
  </categories>
  <description>OpenAPIスキーマ設定チートシート：nullable・enum・共通化まで はじめに OpenAPIでAPI仕様を書いていると「nullを許可したい」「選択肢を限定したい」「404レスポンスを毎回書くのが面倒」といった場面によく出会います。 この記事ではスキーマの主要な設定とよく使うパターンをまとめます。基本的な書き方は「OpenAPI入門：YAML仕様の書き方からSwagger UIで確認するまで」を参照してください。 型（type）一覧 type 説明 主なformat string 文字列 date / date-time / email / uuid / password / by…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.fun-toy-life.com%2Fentry%2F2026%2F05%2F26%2F085221&quot; title=&quot;OpenAPIスキーマ設定チートシート：nullable・enum・共通化まで - Engineering Tech Dojo&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-05-26 08:52:21</published>
  <title>OpenAPIスキーマ設定チートシート：nullable・enum・共通化まで</title>
  <type>rich</type>
  <url>https://tech.fun-toy-life.com/entry/2026/05/26/085221</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
