|
|
|
@ -91,7 +91,7 @@ public class SwaggerConfig {
|
|
|
|
|
* 对已经生成好的 OpenApi 进行自定义操作
|
|
|
|
|
*/
|
|
|
|
|
@Bean
|
|
|
|
|
public OpenApiCustomizer openApiCustomiser() {
|
|
|
|
|
public OpenApiCustomizer openApiCustomizer() {
|
|
|
|
|
String contextPath = serverProperties.getServlet().getContextPath();
|
|
|
|
|
String finalContextPath;
|
|
|
|
|
if (StringUtils.isBlank(contextPath) || "/".equals(contextPath)) {
|
|
|
|
|