Open
Description
Describe the bug
单个接口中Open页面中的JSON格式不对,components中缺少schemas 层级,将这个json导入其他接口文档中时会不识别properties
To Reproduce
Steps to reproduce the behavior:
- Go to 'http://xxxxx/doc.html'
- Click on '随便一个接口,然后点击open'
- Scroll down to 'json中的components处'
- See error
Expected behavior
json应该符合格式要求
"components": {
"schemas": {
...
}
}
Screenshots
Knife4j Version (please complete the following information):
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
<version>4.5.0</version>
</dependency>
Metadata
Metadata
Assignees
Labels
No labels