<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gifi48skahgohsk</author_name>
  <author_url>https://blog.hatena.ne.jp/gifi48skahgohsk/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
    <anon>バックエンド-OpenAPI</anon>
  </categories>
  <description>こんにちは、エキサイト株式会社の平石です。 こちらの記事で、Spring BootからOpenAPIのドキュメントを自動生成する方法について説明されています。 tech.excite.co.jp しかし、APIのレスポンスにListまたは配列の項目が存在していた場合に、アノテーションでの情報の補完に少し躓きました。 そこで今回は、Listまたは配列の項目が存在する場合のアノテーションの記述方法について紹介します。 今回扱う例 以下のようなコードからOpenAPIのドキュメントを自動生成することを考えます。 @RestController @RequestMapping(&quot;example&quot;) p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2023%2F07%2F28%2F164822&quot; title=&quot;OpenAPIをSpring Bootで自動生成する場合に、リストや配列の情報を補完する方法 - エキサイト TechBlog.&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.user.blog.st-hatena.com/default_entry_og_image/158188417/1617181591812759</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-28 16:48:22</published>
  <title>OpenAPIをSpring Bootで自動生成する場合に、リストや配列の情報を補完する方法</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2023/07/28/164822</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
