e>版本中,扩展了该特性的支持</p> <p>自定义增强注解<code>ApiOperationSupport</code>中新增了<code>responses</code>属性，来看代码示例</p> <div class="language-java extra-class"><pre class="language-java"><code><span class="token annotation punctuation">@ApiOperationSupport</span><span class="token punctuation">(</span>
    responses <span class="token operator">=</span> <span class="token annotation punctuation">@DynamicResponseParameters</span><span class="token punctuation">(</