文件名称:spring-boot-rest-api-helpers:Java Spring REST API帮助程序,通过受React-admin启发的JSON快速构建查询,并提供了RSQL FIQL的替代方法
文件大小:51KB
文件格式:ZIP
更新时间:2024-05-23 03:21:44
Java
弹簧启动休息API的帮手 Java> = 8(感谢 ) 受内置的伪造的REST数据提供者 (请参阅)的启发,该查询如下所示: GET /movies?filter={id: 1} //get movies by id = 1 GET /movies?filter={id: [1,2]} // get movies by id = 1 or id = 2 GET /actors?filter={movies: 1, firstName: John} = //actors played in movie with id = 1 and their first name is John GET /actors?filter={birthYearGt: 1960}&sort=[id,DESC]&range=[0,100] // actors born later