-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
生成的md文档,请求参数类型无法正确配置 #766
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这段代码设置了请求参数类型,但是生成文档,没有按照指定的类型生成。
@PostMapping清晰的指明了consumes 属性的类型为 MediaType.APPLICATION_JSON_VALUE
代码如下:
但是生成的文档如图所示,我使用的是官方下载的knife4j-spring-boot3-demo测试的
The text was updated successfully, but these errors were encountered: