<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>int128</author_name>
  <author_url>https://blog.hatena.ne.jp/int128/</author_url>
  <blog_title>GeekFactory</blog_title>
  <blog_url>https://int128.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Swagger codegenで言語にnodejs-serverを指定すると、Node.jsベースのRESTサーバが生成されます。基本的には空のデータを返す実装になるのですが、ある一定の条件を満たす場合は aeiou や 123456789 といったダミーデータを返す実装を出力してくれるようです。 少し試した限りでは、responses に深さ2以上の参照（参照の参照）を渡している場合は空データになってしまうようです。深さ1の場合はダミーデータになります。変な挙動ですね。 definitions: Pet: type: object required: - id - name properti…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F2016%2F09%2F16%2F001846&quot; title=&quot;Swagger CodeGenでダミーデータを返すスタブを出力する - GeekFactory&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>2016-09-16 00:18:46</published>
  <title>Swagger CodeGenでダミーデータを返すスタブを出力する</title>
  <type>rich</type>
  <url>https://int128.hatenablog.com/entry/2016/09/16/001846</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
