ctuation">;</span>
	<span class="token comment">//...</span>

<span class="token punctuation">}</span>
</code></pre></div><p>此处需要注意的是Swagger的配置中,不需要设置<code>groupName</code>属性</p> <p>Swagger配置如下：</p> <div class="language-java extra-class"><pre class="language-java"><code>
<span class="token annotation punctuation">@Configuration</span>
<span class="token annotation punctuation">@EnableSwagger2</span>
<span class="token annotation punctuation">@EnableSwaggerBoot