Skip to content

Releases: springdoc/springdoc-openapi

springdoc-openapi v2.0.3 released!

09 Mar 22:20
Compare
Choose a tag to compare

What's Changed

  • When getting ExceptionHandler in the controller, use target class in … by @uc4w6c in #2100
  • Fixed a bug that a NullPointerException is thrown when the descriptio… by @uc4w6c in #2110

Added

  • #2006 - Support for nullable request parameters in Kotlin.
  • #2054 - Add copyright and license information to Jar.
  • #2021 - Required field in Schema annotation ignored in Kotlin.
  • #2094 - Initial support for Spring Authorization Server.

Changed

  • Upgrade spring-boot to 3.0.4
  • Upgrade swagger-core to 2.2.8
  • Upgrade swagger-ui to 4.17.1

Fixed

  • #2010 - findByNameContainingIgnoreCaseAndDateBefore throw NullPointerException.
  • #2031 - Path variables parameters are not assigned correctly to endpoints.
  • #2038 - When extends JpaRepository, using @parameter over the method results in duplicate of the same parameter.
  • #2046 - Map Fields Disappear with Groovy on Classpath.
  • #2051 - Malformed api-docs JSON when StringHttpMessageConverter is not active
  • #2062 - OperationCustomizer is not working with Spring Data REST.
  • #2098 - When getting ExceptionHandler in the controller, use target class in case of AOP Proxy.
  • #2107 - Ordering of GlobalOpenApiCustomizers different than for OpenApiCustomisers.
  • #2089 - Fixed a bug that a NullPointerException is thrown when the description field of RequestBody is null and there is a javadoc description.
  • #2104 - OpenAPI Extensions no longer work.

Full Changelog: v2.0.2...v2.0.3

springdoc-openapi v1.6.15 released!

09 Mar 22:21
Compare
Choose a tag to compare

What's Changed

  • Fix IntelliJ instructions by @westse in #2052
  • Issue #2054: Add copyright and license information to Jar. by @tobi5775 in #2055
  • When getting ExceptionHandler in the controller, use target class in … by @uc4w6c in #2099
  • Fixed a bug that a NullPointerException is thrown when the descriptio… by @uc4w6c in #2111

Added

  • #2006 - Support for nullable request parameters in Kotlin.
  • #2054 - Add copyright and license information to Jar.
  • #2021 - Required field in Schema annotation ignored in Kotlin.
  • #2094 - Initial support for Spring Authorization Server.

Changed

  • Upgrade spring-boot to 2.7.9
  • Upgrade swagger-core to 2.2.8
  • Upgrade swagger-ui to 4.17.1

Fixed

  • #2010 - findByNameContainingIgnoreCaseAndDateBefore throw NullPointerException.
  • #2031 - Path variables parameters are not assigned correctly to endpoints.
  • #2038 - When extends JpaRepository, using @parameter over the method results in duplicate of the same parameter.
  • #2046 - Map Fields Disappear with Groovy on Classpath.
  • #2051 - Malformed api-docs JSON when StringHttpMessageConverter is not active
  • #2062 - OperationCustomizer is not working with Spring Data REST.
  • #2098 - When getting ExceptionHandler in the controller, use target class in case of AOP Proxy.
  • #2107 - Ordering of GlobalOpenApiCustomizers different than for OpenApiCustomisers.
  • #2089 - Fixed a bug that a NullPointerException is thrown when the description field of RequestBody is null and there is a javadoc description.
  • #2104 - OpenAPI Extensions no longer work.

New Contributors

Full Changelog: v1.6.14...v1.6.15

springdoc-openapi v2.0.2 released!

16 Dec 14:12
Compare
Choose a tag to compare

Fixed

  • #2008 - Error when com.fasterxml.jackson.module.kotlin.KotlinModule is not present in classpath

Full Changelog: v2.0.1...v2.0.2

springdoc-openapi v2.0.1 released!

16 Dec 11:23
Compare
Choose a tag to compare

Added

  • #1965 - Prevents premature initialisation of factory-beans
  • #2003 - Resolve property descriptions for arrays

Fixed

  • #1957 - AdditionalModelsConverter Schema params rewriting
  • #1962 - override-with-generic-response shouldn't shallow copy
  • #1985 - IllegalStateException: Duplicate key when two endpoints at the same URL with same header exist
  • #1992 - Java enumeration and Spring Converter no longer generates enum drop-down
  • #2001 - Enum Collection parameter missing type info in Spring Data Rest search method
  • #1961 - ContinuationObject leaks into schema

New Contributors

Full Changelog: v2.0.0...v2.0.1

springdoc-openapi v1.6.14 released!

16 Dec 11:21
Compare
Choose a tag to compare

Added

  • #1965 - Prevents premature initialisation of factory-beans
  • #2003 - Resolve property descriptions for arrays

Changed

  • Upgrade spring-boot to 2.7.6

Fixed

  • #1957 - AdditionalModelsConverter Schema params rewriting
  • #1962 - override-with-generic-response shouldn't shallow copy
  • #1985 - IllegalStateException: Duplicate key when two endpoints at the same URL with same header exist
  • #1992 - Java enumeration and Spring Converter no longer generates enum drop-down.
  • #2001 - Enum Collection parameter missing type info in Spring Data Rest search method

New Contributors

Full Changelog: v1.6.13...v1.6.14

springdoc-openapi v2.0.0 released!

24 Nov 23:24
Compare
Choose a tag to compare

Added

  • #1284 - Add support for Jakarta EE

What's Changed

  • Upgrade spring-boot to v3.0.0

v2.0.0-RC2

20 Nov 12:45
Compare
Choose a tag to compare
v2.0.0-RC2 Pre-release
Pre-release

Added

  • #1929 - Enables no cache on not cache swagger-initializer.js
  • #1922 - Check existence of superclass before accessing its name
  • #1923 - Javadoc description of the @RequestPart param of multipart/form-data to the parameter description

Changed

  • Upgrade spring-boot to 3.0.0-RC2
  • Upgrade swagger-core to 2.2.7
  • Upgrade swagger-ui to 4.15.5
  • #1912 - Upgrade spring-security-oauth2 to 2.5.2.RELEASE

Fixed

  • #1892 - springdoc.model-and-view-allowed enhanced
  • #1909 - ExceptionHandler in controller is not used by another controller
  • #1904 - springdoc-openapi-webflux-ui 2.0.0-M7 + spring actuator + spring cloud crashes at startup
  • #1911 - Wrong type for springdoc.swagger-ui.oauth.useBasicAuthenticationWithAccessCodeGrant configuration property
  • #1931 - Spring Security form login only offers application/json req body type.

Full Changelog: v2.0.0-RC1...v2.0.0-RC2

springdoc-openapi v1.6.13 released!

20 Nov 12:48
Compare
Choose a tag to compare

Added

  • #1929 - Enables no cache on not cache swagger-initializer.js
  • #1922 - Check existence of superclass before accessing its name
  • #1923 - Javadoc description of the @RequestPart param of multipart/form-data to the parameter description

Changed

  • Upgrade spring-boot to 2.7.5
  • Upgrade swagger-core to 2.2.7
  • Upgrade swagger-ui to 4.15.5
  • #1912 - Upgrade spring-security-oauth2 to 2.5.2.RELEASE

Fixed

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

New Contributors

Full Changelog: v1.6.12...v1.6.13

v2.0.0-RC1

23 Oct 12:01
Compare
Choose a tag to compare
v2.0.0-RC1 Pre-release
Pre-release

Added

  • #1284 - Additional hints for native support

Changed

  • Upgrade to spring-boot 3.0.0-RC1
  • Upgrade swagger-ui to 4.15.0

Fixed

  • #1901 - When @get, using @parameter over the method results in duplicate of the same parameter.
  • #1892 - springdoc.model-and-view-allowed.

Full Changelog: v2.0.0-M7...v2.0.0-RC1

v2.0.0-M7

16 Oct 23:53
Compare
Choose a tag to compare
v2.0.0-M7 Pre-release
Pre-release

Added

  • #1888 - custom Summary for actuator
  • #1881 - Support @hidden annotation on REST repositories.
  • #1878 - Sort request methods

Changed

  • Upgrade swagger-core to 2.2.4
  • Upgrade swagger-ui to 4.14.3

Fixed

  • #1829 - Wrong schema generation on endpoint consuming multipart form data combined with JsonView
  • #1842 - A HTTP header in multipart/form-data is handled as form item instead of header
  • #1845 - Wrong "response" description with two controllers having its own ExceptionHandler.