Skip to content

Commit c14234f

Browse files
committed
Outdated README on 2.x branch. Fixes #1874
1 parent 7413f89 commit c14234f

File tree

2 files changed

+94
-47
lines changed

2 files changed

+94
-47
lines changed

CHANGELOG.md

Lines changed: 74 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,74 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [1.6.9] - 2022-05-22
7+
## [2.0.0-M6] - 2022-10-03
8+
## Added
9+
- #1860 - Replace auto-configuration registration by @eikemeier in https://github.com/springdoc/springdoc-openapi/pull/1860
10+
- #1814 - Allow requestBody creation for GET on openapi resource endpoint
11+
### Fixed
12+
- 1855 -Fixed a bug that duplicate field were get for record classes by @uc4w6c in https://github.com/springdoc/springdoc-openapi/pull/1855
13+
- #1820 - Refresh the browser each time, the global header is added in duplicate.
14+
- #523 - No documented way to handle Mono/Flux without Webflux
15+
- #1816 - Parameters with same name but different locations can't render in UI properly
16+
17+
## [2.0.0-M5] - 2022-08-21
18+
### Added
19+
- #1805 - Default flat param object
20+
### Changed
21+
- upgrade swagger-ui: 4.14.0
22+
### Fixed
23+
- #1801 - Duplicated header values when an endpoint can be called with different headers
24+
- #1801 - NPE for request bodies with content that has media type MULTIPART_FORM_DATA_VALUE
25+
- #1793 - Query parameter part of request body in controller with MultiPartFile
26+
- #1791 - Override-with-generic-response not working from 1.6.8 onwards
27+
- #1799 - Polymorphism - Support JsonTypeInfo.Id.CLASS
28+
29+
## [2.0.0-M4] - 2022-08-15
30+
### Added
31+
- #1700 - Support PageableDefault#value()
32+
- #1706 - ßAdd RouterOperationCustomizer
33+
- #1754 - Default value and description of the page parameter when enabled spring.data.web.pageable.one-indexed-parameters property
34+
- #1755 - Adjust name of the parameters page and size when set spring.data.web.pageable.prefix property
35+
- #1742 - Optimize the group order problem
36+
### Changed
37+
- update to spring-boot 3.0.0-M4
38+
- upgrade swagger-ui: 4.13.2
39+
- upgrade classgraph: 4.8.149
40+
- upgrade spring-native: 0.12.1
41+
- upgrqde swagger-core: 2.2.2
42+
- upgrage therapi-runtime-javadoc: 0.15.0
43+
- #1753 - Upgrade Spring Cloud Function to 4.0.0-M3 by @JohnNiang in https://github.com/springdoc/springdoc-openapi/pull/1753
44+
### Fixed
45+
- #1684 - incorrect generic param for multi interfaces
46+
- #1687, #1688 - kotlin ByteArray property incorrect
47+
- #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
860
### Added
961
- #1664 - Add Schema properties support in method-level @RequestBody
1062
- #1181 - Initial OpenAPI 3.1 support
1163
- #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
1568
- upgrade classgraph: 4.8.147
1669
- upgrade spring-native: 0.11.5
1770
- 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
1875
### Fixed
1976
- #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)
2077
- #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
2481
- #1633 - GroupedOpenApi.builder addOpenApiCustomiser execution order is reversed
2582
- #1630 - Remove repeated HttpSession
2683
- #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
3884
- #1621 - Redirection to UI broken with query-config-enabled when any other boolean parameter is defined.
3985
- #1617 - spring cloud stream crashes at startup.
4086
- #1605 - spring-native NullPointerException due to missing TypeHint
4187

42-
## [1.6.7] - 2022-04-07
88+
## [2.0.0-M2] - 2022-04-02
4389
### Added
4490
- #1596 - Add title property to GroupedOpenApi class for displaying a Human readable group name.
4591
- #1554 - Configurable caching of OpenAPI instances.
@@ -51,9 +97,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5197
- #1501 - Added CSRF Session Storage config properties and html transformer.
5298
- #1498 - Pick up exception handler in case there is no controller advice at all.
5399
### Changed
100+
- update to spring-boot 3.0.0-M2
54101
- upgrade to swagger-api 2.2.0 and swagger-ui 4.10.3
55102
- spring-native upgrade to 0.11.4
56-
- upgrade spring-boot version to 2.6.6
57103
- classgraph upgrade to 4.8.143
58104
- Update webjars-locator-core to 0.50
59105
- add owasp dependency-check-maven plugin
@@ -67,31 +113,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
67113
- #1552 - resolve-schema-properties is not replacing tokens from properties file.
68114
- #1530 - Setting displayOperationId to false does not work.
69115
- #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
76116
- #1469 - #1036 - CSRF header should not be sent to cross domain sites
77117
- #1480 - Fix the problem that the inconsistent newline characters of different platforms
78118
- #1475 - Class level @Tag overwrites method level @Operation.tags.
79119
- #1491 - Set containingClass at MethodParameter
80120

81-
## [1.6.5] - 2022-01-23
121+
## [2.0.0-M1] - 2022-02-06
82122
### 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/
85126
- #1372 - Customize operation and parameters by the return value
86127
- #1453 - Reverse proxy context path aware support for manually provided files
87128
### 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
89132
### Fixed
90133
- #1428 - Incorrect RequestBody type on schema/ui if class implements Map.
91134
- #1455 - Post without @RequestBody not getting all fields
92135
- #1442 - Springdoc-openapi-webmvc-core not enought for Springdoc-openapi-native
93136
- #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
94137
- #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.
141+
- #1491 - Set containingClass at MethodParameter
95142

96143
## [1.6.4] - 2022-01-06
97144
### Added

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![Octocat](https://springdoc.org/img/banner-logo.svg)
2-
[![Build Status](http://129.159.254.115:8686/buildStatus/icon?job=springdoc-openapi-starter-IC)](http://129.159.254.115:8080/view/springdoc-openapi/job/springdoc-openapi-IC/)
2+
[![Build Status](http://129.159.254.115:8686/buildStatus/icon?job=springdoc-openapi-starter-IC)](http://129.159.254.115:8686/view/springdoc-openapi/job/springdoc-openapi-starter-IC/)
33
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=springdoc_springdoc-openapi&metric=alert_status)](https://sonarcloud.io/dashboard?id=springdoc_springdoc-openapi)
44
[![Known Vulnerabilities](https://snyk.io/test/github/springdoc/springdoc-openapi.git/badge.svg)](https://snyk.io/test/github/springdoc/springdoc-openapi.git)
55
[![Stack Exchange questions](https://img.shields.io/stackexchange/stackoverflow/t/springdoc)](https://stackoverflow.com/questions/tagged/springdoc?tab=Votes)
@@ -32,15 +32,15 @@ This project is sponsored by
3232
- [Demo Spring Boot 1 Web MVC with OpenAPI 3.](#demo-spring-boot-1-web-mvc-with-openapi-3)
3333
- [Demo Spring Boot 2 WebFlux with Functional endpoints OpenAPI 3.](#demo-spring-boot-2-webflux-with-functional-endpoints-openapi-3)
3434
- [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)
3636
- [Error Handling for REST using @ControllerAdvice](#error-handling-for-rest-using-controlleradvice)
3737
- [Adding API Information and Security documentation](#adding-api-information-and-security-documentation)
3838
- [spring-webflux support with Annotated Controllers](#spring-webflux-support-with-annotated-controllers)
3939
- [Acknowledgements](#acknowledgements)
4040
- [Contributors](#contributors)
4141
- [Additional Support](#additional-support)
4242

43-
# [Full documentation](https://springdoc.org)
43+
# [Full documentation](https://springdoc.org/v2)
4444

4545
# **Introduction**
4646

@@ -50,11 +50,12 @@ springdoc-openapi works by examining an application at runtime to infer API sema
5050
The library automatically generates documentation in JSON/YAML and HTML formatted pages. The generated documentation can be complemented using `swagger-api` annotations.
5151

5252
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
5859

5960
The following video introduces the Library:
6061

@@ -65,7 +66,7 @@ This is a community-based project, not maintained by the Spring Framework Contri
6566
# **Getting Started**
6667

6768
## 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
6970
* Documentation will be available in HTML format, using the official [swagger-ui jars](https://github.com/swagger-api/swagger-ui.git).
7071
* 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
7172
* `server`: The server name or IP
@@ -77,7 +78,7 @@ This is a community-based project, not maintained by the Spring Framework Contri
7778
```xml
7879
<dependency>
7980
<groupId>org.springdoc</groupId>
80-
<artifactId>springdoc-openapi-ui</artifactId>
81+
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
8182
<version>last-release-version</version>
8283
</dependency>
8384
```
@@ -90,16 +91,15 @@ springdoc.swagger-ui.path=/swagger-ui.html
9091

9192
## Spring-boot with OpenAPI Demo applications.
9293

93-
### [Source Code for Demo Applications](https://github.com/springdoc/springdoc-openapi-demos.git).
94-
### [Demo Spring Boot 2 Web MVC with OpenAPI 3](http://158.101.191.70:8081/).
95-
### [Demo Spring Boot 2 WebFlux with OpenAPI 3](http://158.101.191.70:8082/).
96-
### [Demo Spring Boot 1 Web MVC with OpenAPI 3](http://158.101.191.70:8083/).
97-
### [Demo Spring Boot 2 WebFlux with Functional endpoints OpenAPI 3](http://158.101.191.70:8084/).
98-
### [Demo Spring Boot 2 and Spring Hateoas with OpenAPI 3](http://158.101.191.70:8085/).
94+
### [Source Code for Demo Applications](https://github.com/springdoc/springdoc-openapi-demos/tree/2.x).
95+
### [Demo Spring Boot 2 Web MVC with OpenAPI 3](http://144.24.171.248:8081/).
96+
### [Demo Spring Boot 2 WebFlux with OpenAPI 3](http://144.24.171.248:8082/).
97+
### [Demo Spring Boot 2 WebFlux with Functional endpoints OpenAPI 3](http://144.24.171.248:8084/).
98+
### [Demo Spring Boot 2 and Spring Hateoas with OpenAPI 3](http://144.24.171.248:8085/).
9999

100-
![Branching](https://springdoc.org/images/pets.png)
100+
![Branching](https://springdoc.org/img/pets.png)
101101

102-
## Integration of the library in a Spring Boot 2.x.x project without the swagger-ui:
102+
## Integration of the library in a Spring Boot 3.x project without the swagger-ui:
103103
* Documentation will be available at the following url for json format: http://server:port/context-path/v3/api-docs
104104
* `server`: The server name or IP
105105
* `port`: The server port
@@ -110,7 +110,7 @@ springdoc.swagger-ui.path=/swagger-ui.html
110110
```xml
111111
<dependency>
112112
<groupId>org.springdoc</groupId>
113-
<artifactId>springdoc-openapi-webmvc-core</artifactId>
113+
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
114114
<version>last-release-version</version>
115115
</dependency>
116116
```
@@ -143,7 +143,7 @@ For better performance of documentation generation, declare `@OpenAPIDefinition`
143143
```xml
144144
<dependency>
145145
<groupId>org.springdoc</groupId>
146-
<artifactId>springdoc-openapi-webflux-ui</artifactId>
146+
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
147147
<version>last-release-version</version>
148148
</dependency>
149149
```

0 commit comments

Comments
 (0)