Skip to content

Commit 1a90a37

Browse files
committed
releasing v1.8.0
1 parent 843bf1d commit 1a90a37

File tree

192 files changed

+7108
-1160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+7108
-1160
lines changed

CHANGELOG.md

+75-9
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,78 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.8.0] - 2024-03-12
9+
10+
### Added
11+
12+
- #2189 - Add support for swagger-ui.url property
13+
- #2200 - Support schema.requiredMode() on ParameterObject
14+
- #2309 - Added function to preload by specifying locale
15+
- #2332 - Group name cannot be null or empty
16+
- #2281 - Initial Virtual thread support
17+
- #2311 - Enhance springdoc-ui to support spring.mvc.servlet.path
18+
- #2340 - Add support OIDC with Spring Authorization Server
19+
- #2345 - Support Schema added in OpenAPI Specification v3.1
20+
- #2387 - Support get javadoc description from getter method
21+
- #2404 - Update condition to register links schema customizer
22+
- #2359 - Update condition to register links schema customizer
23+
- #2348 - Enhance resource path processing
24+
- #2438, #2315 - Support for @JsonProperty with Javadoc Change in springdoc-openapi
25+
- #2443 - Respect schema annotations when using spring mvc with kotlin
26+
- #2492, #2488 - Support dynamic evaluation of description field in the RequestBody
27+
- #2510 - Option to disable root api-docs path when using groups
28+
29+
### Changed
30+
31+
- Upgrade spring-boot to 2.7.14
32+
- Upgrade swagger-core to 2.2.20
33+
- Upgrade swagger-ui to 5.11.8
34+
35+
### Fixed
36+
37+
- #2199 - Fix Schema get condition of ArraySchema.
38+
- #2194 - Fix Swagger UI with provided spec
39+
- #2213 - Using both generated and configured specs stoped working in 1.6.5
40+
- #2222 - String Index Out of Bounce Exception Fix when deployed on Azure
41+
- #2243, #2235 - Fix StringIndexOutOfBoundsException when path is same webjar
42+
- #2291 - Fix default-flat-param-object doesn't work when using http body
43+
- #2310 - Change bean name of objectMapperProvider
44+
- #2207 - swagger-initializer.js is sent endcoded in the JVM's default charset
45+
- #2271, #2280 - Fix loop when response inherits generic class fixes
46+
- #2239 - Swagger UI not accessible when FormattingConversionService is a CGLIB proxy
47+
- #2366 - Fix the failed test due to hardcoded file separators
48+
- #2370, #2371 - No empty description for polymorphic subtypes
49+
- #2373 - SchemaProperty.array Schema is ignored in /api-docs or api-docs.yaml
50+
- #2366 - Refactoring AbstractSwaggerResourceResolver.findWebJarResourcePath
51+
- #2320 - javadoc for class attribute ignored when in EntityModel.
52+
- #2347 - Not working if a property of entity contains generic parameters.
53+
- #2399 - SpringdocRouteBuilder.onError is overriding last route defined.
54+
- #2426 - StackOverflowError when using @ParameterObject on groovy class.
55+
- #2453 - Fix CODE_OF_CONDUCT.md links
56+
- #2454 - Fix typo in SwaggerWelcomeWebMvc
57+
- #2507 - Fix typo in Constants
58+
- #2472 - Update JavadocPropertyCustomizer.java
59+
- #2495 - Fix broken links in README and CONTRIBUTING
60+
- #2501 - bug fix when "exported" is set to false in RestResource annotation
61+
- #2447 - Serialization to openapi of org.springframework.data.domain.Sort is not done correctly
62+
- #2449 - Extensions in subobjects of OpenAPI no longer work
63+
- #2461 - Springdoc OpenApi Annotations @ExtensionProperty Not Evaluating Properties from application.yml
64+
- #2469 - Pom contains invalid organizationUrl
65+
- #2518 - Duplicate GroupConfigs in SpringDocConfigProperties
66+
- #2506 - Springdoc breaks (Unexpected value: TRACE) when a spring-cloud-starter-gateway-mvc universal gateway is configured.
67+
- #2519 - Request parameter parsing error after using @NotBlank from type interface field
68+
- #2516 - Spring Data REST fails when setting version to openapi_3_1
69+
- #2509 - ArrayIndexOutOfBoundsException in SwaggerUiConfigParameters
70+
- #2484 - JavaDoc integration not working with SnakeCaseStrategy property naming
71+
- #2483 - Controller advice documents ApiResponse on every operation, even if the operation does not annotate the exception to be thrown
72+
- #2477 - buildApiResponses ignores produced ContentType in case of many @Operation
73+
874
## [1.7.0] - 2023-04-01
975

1076
### Added
1177

1278
- #2152 - Detect directions in default sort values
13-
- #2167 #2166 - Add request parameter for token endpoint
79+
- #2167 #2166 - Add request parameter for token endpoint
1480
- #2188 - Support of {*param} path patterns
1581

1682
### Changed
@@ -19,7 +85,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1985
- Upgrade swagger-core to 2.2.9
2086
- Upgrade swagger-ui to 4.18.2
2187
- Spring Native is now superseded by Spring Boot 3 official
22-
- #2173 - Remove webjars-locator-core
88+
- #2173 - Remove webjars-locator-core
2389

2490
### Fixed
2591

@@ -28,8 +94,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2894
- #2140 - Javadoc record class parameters not recognized
2995
- #2123 #2141 - fix spring authorization server response.
3096
- #2148 - Fix properties show-oauth2-endpoints and SpringDocConfigProperties#showOauth2Endpoint properties name mismatch
31-
- #2149 - Request parameters with default values are marked as required.
32-
- #2155 - openApi.getServers() is null in OpenApiCustomiser when using different locales.
97+
- #2149 - Request parameters with default values are marked as required.
98+
- #2155 - openApi.getServers() is null in OpenApiCustomiser when using different locales.
3399
- #2152 - Redundant(wrong) direction appended to @PageableDefault.
34100
- #2181 #2183 - Fixed DefaultFlatParamObject to work with annotated parameters.
35101
- #2170 #2187 - All request parameters marked as required for Java controllers in mixed projects in 2.0.3
@@ -42,8 +108,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
42108

43109
- #2006 - Support for nullable request parameters in Kotlin.
44110
- #2054 - Add copyright and license information to Jar.
45-
- #2021 - Required field in Schema annotation ignored in Kotlin.
46-
- #2094 - Initial support for Spring Authorization Server.
111+
- #2021 - Required field in Schema annotation ignored in Kotlin.
112+
- #2094 - Initial support for Spring Authorization Server.
47113
### Changed
48114

49115
- Upgrade spring-boot to 2.7.9
@@ -52,7 +118,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
52118

53119
### Fixed
54120

55-
- #2010 - findByNameContainingIgnoreCaseAndDateBefore throw NullPointerException.
121+
- #2010 - findByNameContainingIgnoreCaseAndDateBefore throw NullPointerException.
56122
- #2031 - Path variables parameters are not assigned correctly to endpoints.
57123
- #2038 - When extends JpaRepository, using @Parameter over the method results in duplicate of the same parameter.
58124
- #2046 - Map Fields Disappear with Groovy on Classpath.
@@ -99,8 +165,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99165
### Fixed
100166

101167
- #1892 - springdoc.model-and-view-allowed enhanced
102-
- #1901 - When @Get, using @Parameter over the method results in duplicate of the same parameter
103-
- #1909 - ExceptionHandler in controller is not used by another controller
168+
- #1901 - When @Get, using @Parameter over the method results in duplicate of the same parameter
169+
- #1909 - ExceptionHandler in controller is not used by another controller
104170
- #1904 - springdoc-openapi-webflux-ui 2.0.0-M7 + spring actuator + spring cloud crashes at startup
105171
- #1911 - Wrong type for springdoc.swagger-ui.oauth.useBasicAuthenticationWithAccessCodeGrant configuration property
106172
- #1931 - Spring Security form login only offers application/json req body type.

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Contributor Code of Conduct
1+
= Contributor Code of Conduct
22

33
As contributors and maintainers of this project, and in the interest of fostering an open
44
and welcoming community, we pledge to respect all people who contribute through reporting

CONTRIBUTING.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ If you have performed a checkout of this repository already, use "`File`" -> "`O
7979
Alternatively, you can let IntellIJ IDEA checkout the code for you.
8080
Use "`File`" ->
8181
"`New`" -> "`Project from Version Control`" and
82-
`https://github.com/springdoc/springdoc-openapi.git` for the URL.
82+
`https://github.com/springdoc/springdoc-openapi-v1.git` for the URL.
8383
Once the checkout has completed, a pop-up will suggest to open the project.
8484

8585
==== Install the Spring Formatter plugin
@@ -132,5 +132,5 @@ If you get `Filename too long`
132132
errors, set the `core.longPaths=true` git option:
133133

134134
```
135-
git clone -c core.longPaths=true https://github.com/springdoc/springdoc-openapi
135+
git clone -c core.longPaths=true https://github.com/springdoc/springdoc-openapi-v1
136136
```

README.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![Octocat](https://springdoc.org/img/banner-logo.svg)
2-
[![Build Status](http://129.159.254.115:8686/buildStatus/icon?job=springdoc-openapi-IC)](http://129.159.254.115:8686/view/springdoc-openapi/job/springdoc-openapi-IC/)
3-
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=springdoc_springdoc-openapi&metric=alert_status)](https://sonarcloud.io/dashboard?id=springdoc_springdoc-openapi)
2+
[![Build Status](https://ci-cd.springdoc.org:8443/buildStatus/icon?job=springdoc-openapi-IC)](https://ci-cd.springdoc.org:8443/view/springdoc-openapi/job/springdoc-openapi-IC/)
3+
[![Quality Gate Status](https://sonar.springdoc.org/api/project_badges/measure?project=springdoc-openapi&metric=alert_status&token=sqb_b0202ce5e7c6d83a91e0bcb04d1cf24419585e34)](https://sonar.springdoc.org/dashboard?id=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)
66

@@ -17,9 +17,6 @@ This project is sponsored by
1717
<img src="https://springdoc.org/img/mercedes-benz.png" height="10%" width="10%" />
1818
</a>
1919
&nbsp;&nbsp;
20-
<a href="https://www.dm-jobs.com/dmTECH/?locale=de_DE&wt_mc=.display.github.sponsoring.logo" target="_blank">
21-
<img src="https://springdoc.org/img/dmTECH_Logo.jpg" height="10%" width="10%" />
22-
</a>
2320
<a href="https://www.contrastsecurity.com/" target="_blank">
2421
<img src="https://springdoc.org/img/contrastsecurity.svg" height="10%" width="30%" />
2522
</a>
@@ -111,7 +108,7 @@ springdoc.swagger-ui.path=/swagger-ui.html
111108

112109
## Spring-boot with OpenAPI Demo applications.
113110

114-
### [Source Code for Demo Applications](https://github.com/springdoc/springdoc-openapi-demos.git).
111+
### [Source Code for Demo Applications](https://github.com/springdoc/springdoc-openapi-v1-demos.git).
115112

116113
### [Demo Spring Boot 2 Web MVC with OpenAPI 3](http://158.101.191.70:8081/).
117114

@@ -202,22 +199,22 @@ The artifacts can be viewed accessed at the following locations:
202199

203200
Releases:
204201

205-
* [https://s01.oss.sonatype.org/content/groups/public/org/springdoc/](https://s01.oss.sonatype.org/content/groups/public/org/springdoc/)
202+
* [https://nexus.springdoc.org/repository/maven-releases/org/springdoc/](https://nexus.springdoc.org/content/groups/public/org/springdoc/)
206203
.
207204

208205
Snapshots:
209206

210-
* [https://s01.oss.sonatype.org/content/repositories/snapshots/org/springdoc/](https://s01.oss.sonatype.org/content/repositories/snapshots/org/springdoc/)
207+
* [https://nexus.springdoc.orgg/repository/maven-snapshots/org/springdoc/](https://nexus.springdoc.org/content/repositories/snapshots/org/springdoc/)
211208
.
212209

213210
# Acknowledgements
214211

215212
## Contributors
216213

217214
springdoc-openapi is relevant and updated regularly due to the valuable contributions from
218-
its [contributors](https://github.com/springdoc/springdoc-openapi/graphs/contributors).
215+
its [contributors](https://github.com/springdoc/springdoc-openapi-v1/graphs/contributors).
219216

220-
<a href="https://github.com/springdoc/springdoc-openapi/graphs/contributors">
217+
<a href="https://github.com/springdoc/springdoc-openapi-v1/graphs/contributors">
221218
<img src="https://contrib.rocks/image?repo=springdoc/springdoc-openapi" width="50%"/>
222219
</a>
223220

pom.xml

+13-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.springdoc</groupId>
44
<artifactId>springdoc-openapi</artifactId>
5-
<version>1.7.0</version>
5+
<version>1.8.0</version>
66
<packaging>pom</packaging>
77
<name>Spring openapi documentation</name>
88
<description>Spring openapi documentation</description>
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.boot</groupId>
1313
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.7.10</version>
14+
<version>2.7.18</version>
1515
</parent>
1616

1717
<licenses>
@@ -26,8 +26,7 @@
2626
<name>Badr NASS LAHSEN</name>
2727
<email>[email protected]</email>
2828
<organization>springdoc</organization>
29-
<organizationUrl>https://springdoc.github.io/springdoc-openapi/
30-
</organizationUrl>
29+
<organizationUrl>https://springdoc.org/</organizationUrl>
3130
</developer>
3231
</developers>
3332

@@ -36,7 +35,7 @@
3635
<connection>scm:git:[email protected]:springdoc/springdoc-openapi.git</connection>
3736
<developerConnection>scm:git:[email protected]:springdoc/springdoc-openapi.git
3837
</developerConnection>
39-
<tag>v1.7.0</tag>
38+
<tag>v1.8.0</tag>
4039
</scm>
4140
<distributionManagement>
4241
<snapshotRepository>
@@ -67,8 +66,8 @@
6766
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
6867
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
6968
<nexus-staging-maven-plugin>1.6.8</nexus-staging-maven-plugin>
70-
<swagger-api.version>2.2.9</swagger-api.version>
71-
<swagger-ui.version>4.18.2</swagger-ui.version>
69+
<swagger-api.version>2.2.20</swagger-api.version>
70+
<swagger-ui.version>5.11.8</swagger-ui.version>
7271
<spring-security-oauth2.version>2.5.2.RELEASE</spring-security-oauth2.version>
7372
<gmavenplus-plugin.version>1.8.1</gmavenplus-plugin.version>
7473
<jaxb-impl.version>2.1</jaxb-impl.version>
@@ -78,6 +77,7 @@
7877
<spring-cloud-function.version>3.2.4</spring-cloud-function.version>
7978
<dependency-check.version>8.2.1</dependency-check.version>
8079
<spring-security-oauth2-authorization-server.version>0.4.1</spring-security-oauth2-authorization-server.version>
80+
<tomcat.embed.version>9.0.86</tomcat.embed.version>
8181
</properties>
8282

8383
<dependencyManagement>
@@ -193,6 +193,11 @@
193193
<artifactId>springdoc-openapi-javadoc</artifactId>
194194
<version>${project.version}</version>
195195
</dependency>
196+
<dependency>
197+
<groupId>org.apache.tomcat.embed</groupId>
198+
<artifactId>tomcat-embed-core</artifactId>
199+
<version>${tomcat.embed.version}</version>
200+
</dependency>
196201
</dependencies>
197202
</dependencyManagement>
198203
<dependencies>
@@ -384,4 +389,4 @@
384389
</snapshots>
385390
</pluginRepository>
386391
</pluginRepositories>
387-
</project>
392+
</project>

springdoc-openapi-common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.springdoc</groupId>
55
<artifactId>springdoc-openapi</artifactId>
6-
<version>1.7.0</version>
6+
<version>1.8.0</version>
77
</parent>
88
<artifactId>springdoc-openapi-common</artifactId>
99
<dependencies>

0 commit comments

Comments
 (0)