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
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.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 1.3.6] - 2020-04-28
8
+ ### Changed
9
+ - Revert @ParameterObject annotation from Pageable
10
+
7
11
## [ 1.3.5] - 2020-04-28
8
12
### Added
9
13
- Get fields of superclass for parameter objects
Original file line number Diff line number Diff line change 26
26
import io .swagger .v3 .oas .annotations .Parameter ;
27
27
import io .swagger .v3 .oas .annotations .media .ArraySchema ;
28
28
import io .swagger .v3 .oas .annotations .media .Schema ;
29
- import org .springdoc .api .annotations .ParameterObject ;
30
29
31
- @ ParameterObject
32
30
public class Pageable {
33
31
34
32
@ Min (0 )
Original file line number Diff line number Diff line change 22
22
23
23
import javax .validation .constraints .NotNull ;
24
24
25
+ import org .springdoc .api .annotations .ParameterObject ;
26
+
25
27
import org .springframework .data .domain .Pageable ;
26
28
import org .springframework .http .ResponseEntity ;
27
29
import org .springframework .web .bind .annotation .GetMapping ;
31
33
public class HelloController {
32
34
33
35
@ 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 ) {
35
37
return null ;
36
38
}
37
39
You can’t perform that action at this time.
0 commit comments