<?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月16日、API のレスポンスに項目を1つ足した。 その値がどこで作られ、どこで JSON になるのかを、OpenAPI の operationId から順に追った。 最初に出てきたのが、oapi-codegen が生成した ServerInterfaceWrapper だった。 何をしているのか、説明できなかった。 Claude Code に1行ずつ説明させた。 途中で、Go の関数の宣言そのものが読めていないことに気づいた。 func (group *RouterGroup) GET(relativePath string, handlers ...HandlerF…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchamotaro.hatenablog.com%2Fentry%2Ftech%2Foapi-codegen-server-interface-wrapper&quot; title=&quot;oapi-codegen の ServerInterfaceWrapper を、Go の文法から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-16 16:03:31</published>
  <title>oapi-codegen の ServerInterfaceWrapper を、Go の文法から1行ずつ読む</title>
  <type>rich</type>
  <url>https://chamotaro.hatenablog.com/entry/tech/oapi-codegen-server-interface-wrapper</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
