File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
springdoc-openapi-data-rest/src
main/java/org/springdoc/data/rest/converters
test/java/test/org/springdoc/api/app7 Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 1.3.6] - 2020-04-28
8+ ### Changed
9+ - Revert @ParameterObject annotation from Pageable
10+
711## [ 1.3.5] - 2020-04-28
812### Added
913- Get fields of superclass for parameter objects
Original file line number Diff line number Diff line change 2626import io .swagger .v3 .oas .annotations .Parameter ;
2727import io .swagger .v3 .oas .annotations .media .ArraySchema ;
2828import io .swagger .v3 .oas .annotations .media .Schema ;
29- import org .springdoc .api .annotations .ParameterObject ;
3029
31- @ ParameterObject
3230public class Pageable {
3331
3432 @ Min (0 )
Original file line number Diff line number Diff line change 2222
2323import javax .validation .constraints .NotNull ;
2424
25+ import org .springdoc .api .annotations .ParameterObject ;
26+
2527import org .springframework .data .domain .Pageable ;
2628import org .springframework .http .ResponseEntity ;
2729import org .springframework .web .bind .annotation .GetMapping ;
3133public class HelloController {
3234
3335 @ GetMapping (value = "/search" , produces = { "application/xml" , "application/json" })
34- public ResponseEntity <List <PersonDTO >> getAllPets (@ NotNull Pageable pageable ) {
36+ public ResponseEntity <List <PersonDTO >> getAllPets (@ NotNull @ ParameterObject Pageable pageable ) {
3537 return null ;
3638 }
3739
You can’t perform that action at this time.
0 commit comments