Skip to content

Releases: springdoc/springdoc-openapi

springdoc-openapi v1.5.10 released!

27 Jul 14:11

Choose a tag to compare

Added

  • #1197 - Add default values for parameter references.
  • #1188 - Ability to override servers in api-docs.yaml using OpenApiCustomiser.
  • #1163 - Add a way for knowing the springdoc-openapi made the request or not.
  • #1225 - Support for spring-native 0.10.1.

Changed

  • Upgrade swagger-ui version to 3.51.1.
  • Upgrade swagger-core to 2.1.10.
  • Upgrade spring-boot to 2.5.2.

Fixed

  • #1171 - NullPointerException loading Swagger UI with SpringDoc 1.5.6.
  • #1182 - Parameter 3 of method swaggerWelcome in org.springdoc.webflux.ui.SwaggerConfig required a bean of type 'org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping' that could not be found.
  • #1185 - multpart/form-data single paramter cannot resolve in ui.
  • #1196 - RequestPart Integer Param Is shown in the Parameters parameter.

springdoc-openapi v1.5.9 released!

23 May 11:38

Choose a tag to compare

Added

  • #1164 - Provide GraalVM native image support.
  • #1155 - Add Kotlin DSL for functional routes.
  • #1153 - Modify ResponseSupportConverter to resolve inner type.
  • #1156 - Pick up ExceptionHandlers from any parent of a class marked as @ControllerAdvice
  • #1159 - Added support for @JsonView on ExceptionHandlers methods
  • #1146 - Expose @Id fields for entity with spring-data-rest/springdoc-openapi-data-rest

Changed

  • Upgrade swagger-ui version to 3.49.0
  • Upgrade spring-boot to 2.5.0

springdoc-openapi v1.5.8 released!

25 Apr 10:51

Choose a tag to compare

Added

Changed

  • Upgrade swagger-ui version to 3.47.1
  • Upgrade swagger-core to 2.1.9
  • Upgrade spring-boot to 2.4.5

Fixed

  • #1031 - Incorrect generated Server URL (always returns cached url based on first incoming request after app startup)

springdoc-openapi v1.5.7 released!

09 Apr 19:02

Choose a tag to compare

Added

  • #1110 - Add configuration flag for tryItOutEnabled
  • #1128 - Add support for Generic fields in ParameterObject

Changed

  • Upgrade swagger-ui version to 3.46.0

Fixed

  • #1109 - webflux: contextPath not used while behind a load balancer/reverse proxy.
  • #1122 - StackOverflowError when using Kotlin companion object's field
  • #1125 - Multiple @Securityscheme inside a @SecuritySchemes are not present in the openapi spec
  • #1134 - NoClassDefFoundError: WebFluxProperties$Format.

springdoc-openapi v1.5.6 released!

16 Mar 11:21

Choose a tag to compare

[1.5.6] - 2021-03-16

Added

  • #1107 - use HTTP 302 status for UI redirect
  • #1104 - switch from 'redirect:' prefix to ResponseEntity for redirecting UI index
  • #1085 - enable recalculating oauth2 redirect url while cache is disable

Changed

  • Upgrade swagger-ui version to: 3.45.0
  • Upgrade swagger-core to v2.1.7

Fixed

  • #1081 - Spring Data Rest: RequestBody for POST, PUT, PATCH should be required.
  • #1082 - Spring Data Rest: Wrong schema for request body in association controllers.
  • #1083 - Spring Data Rest: No model for Paged Collection.
  • #1082 - Spring Data Rest: Wrong schema for request body in association controllers.
  • #1084 - Spring Data Rest: Relations to exported Repositories are handled as if they were embedded.
  • #1095 - Spring Data Rest: Exception while generating api doc with inheritance
  • #1098 - NullPointerException: Cannot invoke "java.util.Map.forEach(java.util.function.BiConsumer)" because "properties" is null.
  • #1097 - ConversionFailedException: When accessing v3/api-docs.
  • #1105 - Collection methods are added to the supported entity methods.
  • #1106 - Required multipart/form-data parameters not reflected in generated schema.
  • #1096 - Fix certain WebConversionServiceProvider#convert calls by supplying contextual information

springdoc-openapi v1.5.5 released!

28 Feb 15:25

Choose a tag to compare

Added

  • #1050 - Add support for addPathPrefix with Webflux swagger-ui.
  • #1059 - Support per method security requirement in RepositoryRestResource.

Changed

  • Upgrade versions: spring-boot to 2.4.3 and swagger-ui to 3.44

Fixed

  • #1068 - Spring Data Rest: Wrong response schema after POST,PUT,PATCH operations.
  • #1073 - Springdocs doesn't detect header declarations in class level @RequestMappings.
  • #1069 - Spring Data Rest: Wrong response schema for collection relations.
  • #1070 - Spring Data Rest: Collection models generated with non-HAL content.
  • #1075 - QuerydslBinderCustomizer alias being removed when using excludeUnlistedProperties.

springdoc-openapi v1.5.4 released!

10 Feb 15:34

Choose a tag to compare

Added

  • #1053 - Add @RepositoryRestController documentation generation

Changed

  • Upgrade versions: swagger-ui to 3.42.0

Fixed

  • #1051 - IllegalStateException in org.springdoc.core.SpringDocConfiguration$OpenApiResourceAdvice.handleNoHandlerFound
  • #1047 - swaggerWelcome `WebFluxProperties' that could not be found

springdoc-openapi v1.5.3 released!

26 Jan 10:36

Choose a tag to compare

Added

  • Added Support for spring.webflux.base-path
  • #965,#1034 - Improve compatibility with new PathMatcher / PathPatternParser
  • #1012 - Forward queryParameters to swagger-ui when redirecting
  • #1020 - Change handler methods scanning strategy
  • #1026 - Support for @operation in @RepositoryRestResource Spring Data Repositories.
  • #1027 - Detect automatically @controller with @operation.

Changed

  • Upgrade versions: spring-boot to 2.4.2 and swagger-ui to 3.40

Fixed

  • #996 - Fix NPE when using management port and spring.application.name is set
  • #1004 - NPE in DataRestResponseService.findSearchReturnType
  • #1015 - Default value for List/Array RequestParameter has wrong type.
  • #1010 - Wrong Parameter Name with Default Sort.
  • #1014 - HATOEAS Links produces a circular reference.
  • #1035 - oauth2 redirect url calculated incorrectly when springdoc.swagger-ui.path=/

springdoc-openapi v1.5.2 released!

16 Dec 19:27

Choose a tag to compare

Added

  • #978 - Add explode support in combination with arrayShema annotation

Changed

  • Update swagger-ui to 3.38.0

Fixed

  • #985 - StackOverflowError when using ObjectId with @ParameterObject
  • #980, #968 - Functional DSL incorrect path mapping

springdoc-openapi v1.5.1 released!

08 Dec 13:56

Choose a tag to compare

Added

  • #923 - Exposing swagger-ui on the management port.
  • #938 - Swagger-UI Property persistAuthorization.

Changed

  • Update swagger-core to v2.1.6
  • Update swagger-ui to 3.37.2

Fixed

  • #973 - Nullable meta annotations are ignored
  • #971 - WebFlux functional DSL does not recognise query parameters.
  • #962 - NPE within AbstractRequestService
  • #948 - Swagger ui syntax highlighting configuration properties do not autocomplete.