knife4j
knife4j copied to clipboard
Cannot Show Menu Apart from Chinese Menu
Describe the bug According to the menu, it should be able to show English Menu, but Fail to do so now.
To Reproduce Steps to reproduce the behavior:
- Go to 'application.yml'
- update the config
# knife4j的增强配置,不需要增强可以不配
knife4j:
enable: true
setting:
language: zh_cn // only accept zh_cn, when I select en_US or en_us or en-US, both failed
- Source code stated - OpenAPILanguageEnums (4.0.0)
EN("en-US"),
ZH_CN("zh-CN"),
- See error - running console
Update your application's configuration. The following values are valid:
en-US
zh-CN
Expected behavior Should show OpenAPI in English
Screenshots
Knife4j Version (please complete the following information):
Additional context
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
<version>4.5.0</version>