File tree 14 files changed +72
-29
lines changed
springdoc-openapi-javadoc/src
main/java/org/springdoc/openapi/javadoc
test/java/test/org/springdoc/api
springdoc-openapi-webflux-core/src/test/java/test/org/springdoc/api
springdoc-openapi-webmvc-core/src/test/java/test/org/springdoc/api/app148
14 files changed +72
-29
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,20 @@ 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.6.8] - 2022-04-22
8
+ ### Added
9
+ - #1616 - Add global customizer and filters
10
+ - #1620 - Allow ComposedSchemas to replace non-composed so we can respect polymorphic links discovered in later methods
11
+ - #1579 - Updated class and method javadoc handling
12
+ ### Changed
13
+ - upgrade to spring-boot 2.6.7
14
+ - #1603 - Update swagger-ui path from /swaggerui to /swagger-ui when using management port (actuator) .
15
+ - Prefer ComposedSchemas over non-composed so that method name order doesn't prevent polymorphic links generating into the spec
16
+ ### Fixed
17
+ - #1621 - Redirection to UI broken with query-config-enabled when any other boolean parameter is defined.
18
+ - #1617 - spring cloud stream crashes at startup.
19
+ - #1605 - spring-native NullPointerException due to missing TypeHint
20
+
7
21
## [ 1.6.7] - 2022-04-07
8
22
### Added
9
23
- #1596 - Add title property to GroupedOpenApi class for displaying a Human readable group name.
Original file line number Diff line number Diff line change 25
25
import java .util .List ;
26
26
import java .util .Map ;
27
27
28
- import com .github .therapi .runtimejavadoc .*;
28
+ import com .github .therapi .runtimejavadoc .ClassJavadoc ;
29
+ import com .github .therapi .runtimejavadoc .CommentFormatter ;
30
+ import com .github .therapi .runtimejavadoc .FieldJavadoc ;
31
+ import com .github .therapi .runtimejavadoc .MethodJavadoc ;
32
+ import com .github .therapi .runtimejavadoc .ParamJavadoc ;
33
+ import com .github .therapi .runtimejavadoc .RuntimeJavadoc ;
34
+ import com .github .therapi .runtimejavadoc .ThrowsJavadoc ;
29
35
import org .apache .commons .lang3 .StringUtils ;
30
36
import org .springdoc .core .providers .JavadocProvider ;
31
37
Original file line number Diff line number Diff line change 2
2
3
3
import io .swagger .v3 .oas .models .OpenAPI ;
4
4
import io .swagger .v3 .oas .models .info .Info ;
5
+ import test .org .springdoc .api .AbstractSpringDocTest ;
6
+
5
7
import org .springframework .boot .autoconfigure .SpringBootApplication ;
6
8
import org .springframework .context .annotation .Bean ;
7
9
import org .springframework .test .context .TestPropertySource ;
8
- import test .org .springdoc .api .AbstractSpringDocTest ;
9
10
10
11
/**
11
12
* The type Spring doc app 162 test.
Original file line number Diff line number Diff line change 1
1
package test .org .springdoc .api .app162 .rest ;
2
2
3
- import org .springframework .http .HttpStatus ;
4
- import org .springframework .http .MediaType ;
5
- import org .springframework .http .ResponseEntity ;
6
- import org .springframework .web .bind .annotation .*;
3
+ import java .util .List ;
4
+
7
5
import test .org .springdoc .api .app162 .exception .NoResultException ;
8
6
import test .org .springdoc .api .app162 .exception .NonUniqueResultException ;
9
7
import test .org .springdoc .api .app162 .rest .dto .JavadocOnlyRestDto ;
10
8
11
- import java .util .List ;
9
+ import org .springframework .http .HttpStatus ;
10
+ import org .springframework .http .MediaType ;
11
+ import org .springframework .http .ResponseEntity ;
12
+ import org .springframework .web .bind .annotation .GetMapping ;
13
+ import org .springframework .web .bind .annotation .PathVariable ;
14
+ import org .springframework .web .bind .annotation .PostMapping ;
15
+ import org .springframework .web .bind .annotation .PutMapping ;
16
+ import org .springframework .web .bind .annotation .RequestBody ;
17
+ import org .springframework .web .bind .annotation .RequestMapping ;
18
+ import org .springframework .web .bind .annotation .ResponseStatus ;
19
+ import org .springframework .web .bind .annotation .RestController ;
12
20
13
21
/**
14
22
* This is the {@code JavadocOnlyRestController} class javadoc.
Original file line number Diff line number Diff line change 1
1
package test .org .springdoc .api .app162 .rest .util ;
2
2
3
+ import test .org .springdoc .api .app162 .exception .NoResultException ;
4
+ import test .org .springdoc .api .app162 .exception .NonUniqueResultException ;
5
+
3
6
import org .springframework .http .HttpStatus ;
4
7
import org .springframework .http .ResponseEntity ;
5
8
import org .springframework .web .bind .annotation .ExceptionHandler ;
6
9
import org .springframework .web .bind .annotation .ResponseStatus ;
7
10
import org .springframework .web .bind .annotation .RestControllerAdvice ;
8
- import test .org .springdoc .api .app162 .exception .NoResultException ;
9
- import test .org .springdoc .api .app162 .exception .NonUniqueResultException ;
10
11
11
12
/**
12
13
* REST exception handlers.
Original file line number Diff line number Diff line change 4
4
import io .swagger .v3 .oas .annotations .Parameter ;
5
5
import io .swagger .v3 .oas .annotations .responses .ApiResponse ;
6
6
import io .swagger .v3 .oas .annotations .tags .Tag ;
7
- import org .springframework .http .HttpStatus ;
8
- import org .springframework .http .MediaType ;
9
- import org .springframework .http .ResponseEntity ;
10
- import org .springframework .web .bind .annotation .*;
11
7
import test .org .springdoc .api .app163 .exception .NoResultException ;
12
8
import test .org .springdoc .api .app163 .exception .NonUniqueResultException ;
13
9
import test .org .springdoc .api .app163 .rest .dto .AnnotationOverrideForJavadocRestDto ;
14
10
11
+ import org .springframework .http .HttpStatus ;
12
+ import org .springframework .http .MediaType ;
13
+ import org .springframework .http .ResponseEntity ;
14
+ import org .springframework .web .bind .annotation .GetMapping ;
15
+ import org .springframework .web .bind .annotation .PathVariable ;
16
+ import org .springframework .web .bind .annotation .PostMapping ;
17
+ import org .springframework .web .bind .annotation .PutMapping ;
18
+ import org .springframework .web .bind .annotation .RequestBody ;
19
+ import org .springframework .web .bind .annotation .RequestMapping ;
20
+ import org .springframework .web .bind .annotation .ResponseStatus ;
21
+ import org .springframework .web .bind .annotation .RestController ;
22
+
15
23
/**
16
24
* This is the {@code AnnotationOverrideForJavadocRestController} class javadoc.
17
25
*/
Original file line number Diff line number Diff line change 1
1
package test .org .springdoc .api .app163 .rest .dto ;
2
2
3
- import io .swagger .v3 .oas .annotations .media .Schema ;
4
-
5
3
/**
6
4
* This is the {@code AnnotationOverrideForJavadocRestDto2} class javadoc.
7
5
*/
Original file line number Diff line number Diff line change 1
1
package test .org .springdoc .api .app163 .rest .util ;
2
2
3
+ import test .org .springdoc .api .app163 .exception .NoResultException ;
4
+ import test .org .springdoc .api .app163 .exception .NonUniqueResultException ;
5
+
3
6
import org .springframework .http .HttpStatus ;
4
7
import org .springframework .http .ResponseEntity ;
5
8
import org .springframework .web .bind .annotation .ExceptionHandler ;
6
9
import org .springframework .web .bind .annotation .ResponseStatus ;
7
10
import org .springframework .web .bind .annotation .RestControllerAdvice ;
8
- import test .org .springdoc .api .app163 .exception .NoResultException ;
9
- import test .org .springdoc .api .app163 .exception .NonUniqueResultException ;
10
11
11
12
/**
12
13
* REST exception handlers.
Original file line number Diff line number Diff line change 2
2
3
3
import io .swagger .v3 .oas .models .OpenAPI ;
4
4
import io .swagger .v3 .oas .models .info .Info ;
5
+ import test .org .springdoc .api .AbstractSpringDocTest ;
6
+
5
7
import org .springframework .boot .autoconfigure .SpringBootApplication ;
6
8
import org .springframework .context .annotation .Bean ;
7
- import org .springframework .test .context .TestPropertySource ;
8
- import test .org .springdoc .api .AbstractSpringDocTest ;
9
9
10
10
/**
11
11
* The type Spring doc app 164 test.
Original file line number Diff line number Diff line change 1
1
package test .org .springdoc .api .app164 .rest ;
2
2
3
+ import test .org .springdoc .api .app164 .exception .NoResultException ;
4
+ import test .org .springdoc .api .app164 .exception .NonUniqueResultException ;
5
+
3
6
import org .springframework .http .HttpStatus ;
4
7
import org .springframework .http .MediaType ;
5
8
import org .springframework .http .ResponseEntity ;
6
- import org .springframework .web .bind .annotation .*;
7
- import test .org .springdoc .api .app164 .exception .NoResultException ;
8
- import test .org .springdoc .api .app164 .exception .NonUniqueResultException ;
9
+ import org .springframework .web .bind .annotation .GetMapping ;
10
+ import org .springframework .web .bind .annotation .PathVariable ;
11
+ import org .springframework .web .bind .annotation .PostMapping ;
12
+ import org .springframework .web .bind .annotation .RequestBody ;
13
+ import org .springframework .web .bind .annotation .RequestMapping ;
14
+ import org .springframework .web .bind .annotation .ResponseStatus ;
15
+ import org .springframework .web .bind .annotation .RestController ;
9
16
10
17
/**
11
18
* This is the {@code JavadocOnlyRestController} class javadoc.
Original file line number Diff line number Diff line change 1
1
package test .org .springdoc .api .app164 .rest .util ;
2
2
3
+ import test .org .springdoc .api .app164 .exception .NoResultException ;
4
+ import test .org .springdoc .api .app164 .exception .NonUniqueResultException ;
5
+
3
6
import org .springframework .http .HttpStatus ;
4
7
import org .springframework .http .ResponseEntity ;
5
8
import org .springframework .web .bind .annotation .ExceptionHandler ;
6
9
import org .springframework .web .bind .annotation .ResponseStatus ;
7
10
import org .springframework .web .bind .annotation .RestControllerAdvice ;
8
- import test .org .springdoc .api .app164 .exception .NoResultException ;
9
- import test .org .springdoc .api .app164 .exception .NonUniqueResultException ;
10
11
11
12
/**
12
13
* REST exception handlers.
Original file line number Diff line number Diff line change 18
18
19
19
package test .org .springdoc .api .app145 ;
20
20
21
- import static org .junit .jupiter .api .Assertions .assertTrue ;
22
- import static org .junit .jupiter .api .Assertions .fail ;
23
-
24
21
import org .junit .jupiter .api .Test ;
25
22
import org .springdoc .core .Constants ;
26
23
import test .org .springdoc .api .AbstractSpringDocActuatorTest ;
31
28
import org .springframework .http .HttpStatus ;
32
29
import org .springframework .web .reactive .function .client .WebClientResponseException ;
33
30
31
+ import static org .junit .jupiter .api .Assertions .assertTrue ;
32
+ import static org .junit .jupiter .api .Assertions .fail ;
33
+
34
34
35
35
@ SpringBootTest (webEnvironment = WebEnvironment .DEFINED_PORT ,
36
36
properties = { "management.endpoints.web.exposure.include:*" ,
Original file line number Diff line number Diff line change 20
20
21
21
import org .junit .jupiter .api .Test ;
22
22
import org .springdoc .core .Constants ;
23
-
24
23
import test .org .springdoc .api .AbstractSpringDocActuatorTest ;
25
24
26
25
import org .springframework .boot .autoconfigure .SpringBootApplication ;
Original file line number Diff line number Diff line change 20
20
21
21
import org .junit .jupiter .api .Test ;
22
22
import org .springdoc .core .Constants ;
23
-
24
23
import test .org .springdoc .api .AbstractSpringDocActuatorTest ;
25
24
26
25
import org .springframework .boot .autoconfigure .SpringBootApplication ;
You can’t perform that action at this time.
0 commit comments