uation">&gt;</span></span>
</code></pre></div><p>项目的jar包引入完成后,接下来是配置swagger的相关配置，<code>SwaggerConfiguration.java</code>配置如下：</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">@EnableSwaggerBootstrapUi</span>
<span class="token annotation punctuation">@Import<