You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-#1692 - More specific bean name for objectMapperProvider
48
+
-#1684 - Incorrect generic param for multi interfaces
49
+
-#1707 - Concurrent problems when initializing multiple GroupedOpenApi parallelly
50
+
-#1690 - Expected file to be in alphabetical order.
51
+
-#1713 - ObjectMapperProvider to sort all properties.
52
+
-#1717, #1718 - javadoc of JsonUnwrapped fields not set
53
+
-#1748, #1712, Generated server url computation not cleared
54
+
-#1696 - incorrect generic param for multi interfaces
55
+
-#1749 - Update server out of cache
56
+
-#1734 - springdoc-openapi-kotlin and springdoc-openapi-common do not agree on conditions for auto configuration
57
+
-#1761- Exception documenting RestControllerEndpoint with PostMapping
58
+
59
+
## [2.0.0-M3] - 2022-05-27
8
60
### Added
9
61
-#1664 - Add Schema properties support in method-level @RequestBody
10
62
-#1181 - Initial OpenAPI 3.1 support
11
63
-#1651 - Ease group declaration through code or properties with actuators
12
-
### Changed
13
-
- upgrade to spring-boot 2.7.0
14
-
- upgrade swagger-ui: 4.11.1
64
+
-#1616 - Add global customizer and filters
65
+
-#1620 - Allow ComposedSchemas to replace non-composed so we can respect polymorphic links discovered in later methods
66
+
-#1579 - Updated class and method javadoc handling
67
+
-#1647 - Support for Webflux springdoc behind a proxy v2.x by @wiiitek in https://github.com/springdoc/springdoc-openapi/pull/1647
15
68
- upgrade classgraph: 4.8.147
16
69
- upgrade spring-native: 0.11.5
17
70
- upgrade spring-cloud-function: 3.2.4
71
+
-#1603 - Update swagger-ui path from /swaggerui to /swagger-ui when using management port (actuator) .
72
+
- Prefer ComposedSchemas over non-composed so that method name order doesn't prevent polymorphic links generating into the spec
73
+
### Changed
74
+
- Update to spring-boot 3.0.0-M3
18
75
### Fixed
19
76
-#1663 - @Schema annotation with type String and allowableValues set doesn't generate enum drop-down in swagger-ui after upgrading from 1.6.6 (when Spring custom converter is used)
20
77
-#1655 - OpenAPIService is using ObjectMapper without configured modules since SpringDoc 1.6.7.
@@ -24,22 +81,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
81
-#1633 - GroupedOpenApi.builder addOpenApiCustomiser execution order is reversed
25
82
-#1630 - Remove repeated HttpSession
26
83
-#1659 - fix oauth redirection when used in spring-native
27
-
28
-
## [1.6.8] - 2022-04-22
29
-
### Added
30
-
-#1616 - Add global customizer and filters
31
-
-#1620 - Allow ComposedSchemas to replace non-composed so we can respect polymorphic links discovered in later methods
32
-
-#1579 - Updated class and method javadoc handling
33
-
### Changed
34
-
- upgrade to spring-boot 2.6.7
35
-
-#1603 - Update swagger-ui path from /swaggerui to /swagger-ui when using management port (actuator) .
36
-
- Prefer ComposedSchemas over non-composed so that method name order doesn't prevent polymorphic links generating into the spec
37
-
### Fixed
38
84
-#1621 - Redirection to UI broken with query-config-enabled when any other boolean parameter is defined.
39
85
-#1617 - spring cloud stream crashes at startup.
40
86
-#1605 - spring-native NullPointerException due to missing TypeHint
41
87
42
-
## [1.6.7] - 2022-04-07
88
+
## [2.0.0-M2] - 2022-04-02
43
89
### Added
44
90
-#1596 - Add title property to GroupedOpenApi class for displaying a Human readable group name.
45
91
-#1554 - Configurable caching of OpenAPI instances.
@@ -51,9 +97,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
51
97
-#1501 - Added CSRF Session Storage config properties and html transformer.
52
98
-#1498 - Pick up exception handler in case there is no controller advice at all.
53
99
### Changed
100
+
- update to spring-boot 3.0.0-M2
54
101
- upgrade to swagger-api 2.2.0 and swagger-ui 4.10.3
55
102
- spring-native upgrade to 0.11.4
56
-
- upgrade spring-boot version to 2.6.6
57
103
- classgraph upgrade to 4.8.143
58
104
- Update webjars-locator-core to 0.50
59
105
- add owasp dependency-check-maven plugin
@@ -67,31 +113,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
67
113
-#1552 - resolve-schema-properties is not replacing tokens from properties file.
68
114
-#1530 - Setting displayOperationId to false does not work.
69
115
-#1525 - Null vendor extensions are excluded from Json/Yaml.
70
-
71
-
## [1.6.6] - 2022-02-06
72
-
### Changed
73
-
-#1424 - Upgrade to swagger-ui 4.5.0
74
-
-#1474 - Upgrade webjars-locator-core version to 0.48
75
-
### Fixed
76
116
-#1469 - #1036 - CSRF header should not be sent to cross domain sites
77
117
-#1480 - Fix the problem that the inconsistent newline characters of different platforms
78
118
-#1475 - Class level @Tag overwrites method level @Operation.tags.
79
119
-#1491 - Set containingClass at MethodParameter
80
120
81
-
## [1.6.5] - 2022-01-23
121
+
## [2.0.0-M1] - 2022-02-06
82
122
### Added
83
-
-#1430 - Add Support custom login processing endpoints
84
-
-#1429 - Allow excluding individual methods from OpenApi output
123
+
-#1284 - Initial support for Jakarta EE
124
+
-#1430 - support custom login processing endpoints by @lipniak in https://github.com/springdoc/springdoc-openapi/pull/1430
125
+
-#1429 - Allow excluding individual methods from OpenApi output by @mc1arke in https://github.com/springdoc/springdoc-openapi/pull/
85
126
-#1372 - Customize operation and parameters by the return value
86
127
-#1453 - Reverse proxy context path aware support for manually provided files
87
128
### Changed
88
-
-#1424 - Upgrade to swagger-ui 4.2.1
129
+
- update to spring-boot 3.0.0-M1
130
+
-#1424 - Upgrade to swagger-ui 4.5.0
131
+
-#1474 - Upgrade webjars-locator-core version to 0.48
89
132
### Fixed
90
133
-#1428 - Incorrect RequestBody type on schema/ui if class implements Map.
91
134
-#1455 - Post without @RequestBody not getting all fields
92
135
-#1442 - Springdoc-openapi-webmvc-core not enought for Springdoc-openapi-native
93
136
-#1446 - Upgrade from Springdoc 1.6.3 to 1.6.4 causes issues if springdoc-openapi-common is on the classpath but springdoc-openapi-ui is not
94
137
-#1458 - java.lang.NoSuchMethodError: org.springframework.core.MethodParameter.getParameter() at /v3/api-docs request
138
+
-#1469 - #1036 - CSRF header should not be sent to cross domain sites
139
+
-#1480 - Fix the problem that the inconsistent newline characters of different platforms
140
+
-#1475 - Class level @Tag overwrites method level @Operation.tags.
-[Demo Spring Boot 1 Web MVC with OpenAPI 3.](#demo-spring-boot-1-web-mvc-with-openapi-3)
33
33
-[Demo Spring Boot 2 WebFlux with Functional endpoints OpenAPI 3.](#demo-spring-boot-2-webflux-with-functional-endpoints-openapi-3)
34
34
-[Demo Spring Boot 2 and Spring Hateoas with OpenAPI 3.](#demo-spring-boot-2-and-spring-hateoas-with-openapi-3)
35
-
-[Integration of the library in a Spring Boot 2.x.x project without the swagger-ui:](#integration-of-the-library-in-a-spring-boot-2xx-project-without-the-swagger-ui)
35
+
-[Integration of the library in a Spring Boot 3.x project without the swagger-ui:](#integration-of-the-library-in-a-spring-boot-2xx-project-without-the-swagger-ui)
36
36
-[Error Handling for REST using @ControllerAdvice](#error-handling-for-rest-using-controlleradvice)
37
37
-[Adding API Information and Security documentation](#adding-api-information-and-security-documentation)
38
38
-[spring-webflux support with Annotated Controllers](#spring-webflux-support-with-annotated-controllers)
39
39
-[Acknowledgements](#acknowledgements)
40
40
-[Contributors](#contributors)
41
41
-[Additional Support](#additional-support)
42
42
43
-
# [Full documentation](https://springdoc.org)
43
+
# [Full documentation](https://springdoc.org/v2)
44
44
45
45
# **Introduction**
46
46
@@ -50,11 +50,12 @@ springdoc-openapi works by examining an application at runtime to infer API sema
50
50
The library automatically generates documentation in JSON/YAML and HTML formatted pages. The generated documentation can be complemented using `swagger-api` annotations.
51
51
52
52
This library supports:
53
-
* OpenAPI 3
54
-
* Spring-boot (v1 and v2)
55
-
* JSR-303, specifically for @NotNull, @Min, @Max, and @Size.
56
-
* Swagger-ui
57
-
* Oauth 2
53
+
* OpenAPI 3
54
+
* Spring-boot v3 (Java 17 & Jakarta EE 9)
55
+
* JSR-303, specifically for @NotNull, @Min, @Max, and @Size.
56
+
* Swagger-ui
57
+
* OAuth 2
58
+
* GraalVM native images
58
59
59
60
The following video introduces the Library:
60
61
@@ -65,7 +66,7 @@ This is a community-based project, not maintained by the Spring Framework Contri
65
66
# **Getting Started**
66
67
67
68
## Library for springdoc-openapi integration with spring-boot and swagger-ui
68
-
* Automatically deploys swagger-ui to a Spring Boot 2.x application
69
+
* Automatically deploys swagger-ui to a Spring Boot 3.x application
69
70
* Documentation will be available in HTML format, using the official [swagger-ui jars](https://github.com/swagger-api/swagger-ui.git).
70
71
* The Swagger UI page should then be available at http://server:port/context-path/swagger-ui.html and the OpenAPI description will be available at the following url for json format: http://server:port/context-path/v3/api-docs
71
72
*`server`: The server name or IP
@@ -77,7 +78,7 @@ This is a community-based project, not maintained by the Spring Framework Contri
0 commit comments