Comments (1)
接口类的注解排序 是可以使用@ApiOperation
注解里面的position来排序的,当时提供这个@ApiSort是用来排分组的,也是以为swagger没有这个position这种类似的参数,
既然swagger的注解有position值,就按照这个来了,也省去了我ui新增的注解
@ApiOperation(value = "post请求参数Hidden属性是否生效",position = 3)
@PostMapping("/postRequest")
public Rest<Model187> postRequest(@RequestBody Model187 model187){
Rest<Model187> r=new Rest<>();
r.setData(model187);
return r;
}
from knife4j.
Related Issues (20)
- 生成的md文档,请求参数类型无法正确配置
- 对象作为get请求的参数,无法解析成单个参数,导致请求。 HOT 3
- #716问题在版本较高的boot下依然存在,使用boot3.2.2+knife4j4.5.0 HOT 2
- 求救,升级springboot3后多个对象识别为arg0、arg1 HOT 1
- 什么时候升级ClassGraph,io.github.classgraph版本低 HOT 1
- knife4j UI 不支持swagger3 @RequestBody注解支持, 原生ui支持 HOT 1
- favicon.ico 404 Not Found HOT 3
- AfterScript 添加多个header好像被覆盖了
- knife4j页面地址自动携带的#井号 (特殊字符)无法通过spring-security的放行规则,导致页面无法访问, HOT 1
- 关于SpringBoot2.7.18升级到3.2.x后的Knife4j使用的系列问题汇总 HOT 1
- 使用文档下载文件报错,使用apifox、postman可以正常下载 HOT 1
- 范型映射类型不正确
- @ApiModel 显示错误,显示成其他类,@ApiModel 如何确认唯一性?
- @ApiModel value 长度限制? HOT 1
- spring doc升级到2.4.0及以后的版本,group-configs异常 HOT 5
- @ApiImplicitParam的allowableValues属性,在@Parameter如何对应,能否提供样例
- 当使用注解时出现未知的描述 HOT 4
- 这个应该你自己查查原因
- 当knife4j-gateway-spring-boot-starter聚合基于dubbo的微服务时 访问v3/api-doc出错 HOT 1
- knife4j文档请求异常
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knife4j.