Commit 703b7c8
committed
use MethodParameter#isOptional() instead of checking for Optional type
Check for whether a parameter is required now uses isOptional()
method. This improves integration with JSR-305 annotations
and Kotlin nullability.1 parent 7f82a76 commit 703b7c8
File tree
1 file changed
+1
-2
lines changed- springdoc-openapi-common/src/main/java/org/springdoc/core
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | | - | |
| 282 | + | |
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
| |||
0 commit comments