<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>Express</anon>
    <anon>routing-controllers</anon>
    <anon>multer</anon>
  </categories>
  <description>最近はサーバサイドもTypeScriptにしていて、 routing-controllersがいい感じ。 ファイルアップロードを扱う際は、expressjs/multerを利用するけど、 若干ハマったので、そのときの備忘録。 やりたかったこと 複数のファイルを同時にアップロードしたい それぞれはone / twoというフィールド名 各フィールドは1つで、必須ではない(0でもOK) routing-controllersでは、こんな感じでデコレータをつけるけど、 必須ではない複数フィールドではうまくいかないっぽい。。 @Post(&quot;/files&quot;) saveFile(@UploadedFile(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2022%2F10%2F14%2F100000&quot; title=&quot;routing-controllersで複数のファイルを別のfield名を必須じゃなくても扱えるようにする - くらげになりたい。&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>2022-10-14 10:00:00</published>
  <title>routing-controllersで複数のファイルを別のfield名を必須じゃなくても扱えるようにする</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2022/10/14/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
