!327 单词拼写错误

Merge pull request !327 from JackyTang/5.X
This commit is contained in:
疯狂的狮子Li 2023-04-03 10:17:31 +00:00 committed by Gitee
commit 4ba109a2b7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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