Skip to content

Releases: springdoc/springdoc-openapi

springdoc-openapi v1.5.12 released!

20 Oct 19:55
Compare
Choose a tag to compare

Changed

  • Upgrade swagger-ui to 3.52.5
  • #1282 - #1288 - #1292 - #1293 Use Optional List to inject RequestMappingInfoHandlerMapping.
  • #1290 - Use Publisher as response wrapper to ignore instead of Mono.
  • #1313 - Upgrading to io.github.classgraph:classgraph to v4.8.116
  • #1296 - Update Demo URLs

Fixed

  • #1316 - Hidden controller exposes Operation annotated method
  • #1289 - Fix server address customizing in case of enabled pre-loading mode
  • #1274 - Objects properties order is not preserved with springdoc.api-docs.resolve-schema-properties = true.
  • #1287 - Fix typo of PageableConverter Javadoc

springdoc-openapi v1.5.11 released!

03 Oct 11:54
Compare
Choose a tag to compare

Added

  • #1232 - Get CSRF token from local storage
  • #1256 - Added parent pom.xml as BOM
  • #1258 - Add support for HandlerTypePredicate in spring-web.
  • #1265 - adding spring support with the official jetbrains compiler plugin
  • #1268 - Added I18n support.
  • #38 - Derive documentation from javadoc.

Changed

  • Upgrade swagger-ui to 3.52.3
  • Upgrade swagger-api to 2.1.11
  • Upgrade spring-boot to 2.5.5
  • #1233 - Operation ids for actuator endpoints.

Fixed

  • #1230 - Feign clients that uses SpringMVCContract appears in OpenApi like controllers exposed if spring-boot-starter-actuator is in classpath.
  • #1215 - Bad Pageable description in Page description.
  • #1215 - Change default behavior of pageable reoslution, outside of spring data rest.
  • #1252 - Schemas for subclasses not rendered in GraalVM native image builds.
  • #1261 - Removal of SpringdocRouterFunctionDsl.
  • #1188 - Cannot override servers in api-docs.yaml using OpenApiCustomiser.
  • #1208 - Response schema for overridden methods of ResponseEntityExceptionHandler is not generated.
  • #1276 - Cannot referenced example in RequestBody.
  • #1277 - Inconsistent casing of swagger-config causes fetch error.

springdoc-openapi v1.5.10 released!

27 Jul 14:11
Compare
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
Compare
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
Compare
Choose a tag to compare

Added

  • #1142 - Prevent wrong usage of @ParameterObject for simpleTypes.
  • #1142 - Enhance @RequestBody Management

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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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=/