Skip to content

Releases: springdoc/springdoc-openapi

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.

springdoc-openapi v1.6.12 released!

16 Oct 23:52
Compare
Choose a tag to compare

Added

  • #1888 - custom Summary for actuator
  • #1881 - Support @hidden annotation on REST repositories.
  • #1878 - Sort request methods
  • #1830 - Support Java record
  • #1814 - Allow requestBody creation for GET on openapi resource endpoint

Changed

  • Upgrade swagger-core to 2.2.4
  • Upgrade spring-boot to 2.7.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.
  • #1855 - Fixed a bug that duplicate field were get for record classes.
  • #1820 - Refresh the browser each time, the global header is added in duplicate.
  • #523 - No documented way to handle Mono/Flux without Webflux.
  • #1816 - Parameters with same name but different locations can't render in UI properly

New Contributors

Full Changelog: v1.6.11...v1.6.12

v2.0.0-M6

16 Oct 00:43
Compare
Choose a tag to compare
v2.0.0-M6 Pre-release
Pre-release

Added

  • #1860 - Replace auto-configuration registration by @eikemeier in #1860
  • #1814 - Allow requestBody creation for GET on openapi resource endpoint

Fixed

  • 1855 -Fixed a bug that duplicate field were get for record classes by @uc4w6c in #1855
  • #1820 - Refresh the browser each time, the global header is added in duplicate.
  • #523 - No documented way to handle Mono/Flux without Webflux
  • #1816 - Parameters with same name but different locations can't render in UI properly

New Contributors

Full Changelog: v2.0.0-M5...v2.0.0-M6

v2.0.0-M5

16 Oct 00:38
Compare
Choose a tag to compare
v2.0.0-M5 Pre-release
Pre-release

Added

  • #1805 - Default flat param object

Changed

  • upgrade swagger-ui: 4.14.0

Fixed

  • #1801 - Duplicated header values when an endpoint can be called with different headers
  • #1801 - NPE for request bodies with content that has media type MULTIPART_FORM_DATA_VALUE
  • #1793 - Query parameter part of request body in controller with MultiPartFile
  • #1791 - Override-with-generic-response not working from 1.6.8 onwards
  • #1799 - Polymorphism - Support JsonTypeInfo.Id.CLASS

Full Changelog: v2.0.0-M4...v2.0.0-M5

springdoc-openapi v1.6.11 released!

21 Aug 22:00
Compare
Choose a tag to compare

[1.6.11] - 2022-08-21

Added

  • #1805 - Default flat param object

Changed

  • upgrade swagger-ui: 4.14.0

Fixed

  • #1801 - Duplicated header values when an endpoint can be called with different headers
  • #1801 - NPE for request bodies with content that has media type MULTIPART_FORM_DATA_VALUE
  • #1793 - Query parameter part of request body in controller with MultiPartFile
  • #1791 - Override-with-generic-response not working from 1.6.8 onwards
  • #1799 - Polymorphism - Support JsonTypeInfo.Id.CLASS

v2.0.0-M4

16 Oct 00:34
Compare
Choose a tag to compare
v2.0.0-M4 Pre-release
Pre-release

Added

  • #1700 - Support PageableDefault#value()
  • #1706 - ßAdd RouterOperationCustomizer
  • #1754 - Default value and description of the page parameter when enabled spring.data.web.pageable.one-indexed-parameters property
  • #1755 - Adjust name of the parameters page and size when set spring.data.web.pageable.prefix property
  • #1742 - Optimize the group order problem

Changed

  • update to spring-boot 3.0.0-M4
  • upgrade swagger-ui: 4.13.2
  • upgrade classgraph: 4.8.149
  • upgrade spring-native: 0.12.1
  • upgrqde swagger-core: 2.2.2
  • upgrage therapi-runtime-javadoc: 0.15.0
  • #1753 - Upgrade Spring Cloud Function to 4.0.0-M3 by @JohnNiang in #1753

Fixed

  • #1684 - incorrect generic param for multi interfaces
  • #1687, #1688 - kotlin ByteArray property incorrect
  • #1692 - More specific bean name for objectMapperProvider
  • #1684 - Incorrect generic param for multi interfaces
  • #1707 - Concurrent problems when initializing multiple GroupedOpenApi parallelly
  • #1690 - Expected file to be in alphabetical order.
  • #1713 - ObjectMapperProvider to sort all properties.
  • #1717, #1718 - javadoc of JsonUnwrapped fields not set
  • #1748, #1712, Generated server url computation not cleared
  • #1696 - incorrect generic param for multi interfaces
  • #1749 - Update server out of cache
  • #1734 - springdoc-openapi-kotlin and springdoc-openapi-common do not agree on conditions for auto configuration
  • #1761- Exception documenting RestControllerEndpoint with PostMapping

New Contributors

springdoc-openapi v1.6.10 released! Latest

15 Aug 13:02
Compare
Choose a tag to compare

Added

  • #1700 - Support PageableDefault#value()
  • #1706 - ßAdd RouterOperationCustomizer
  • #1754 - Default value and description of the page parameter when enabled spring.data.web.pageable.one-indexed-parameters property
  • #1755 - Adjust name of the parameters page and size when set spring.data.web.pageable.prefix property
  • #1742 - Optimize the group order problem

Changed

  • upgrade to spring-boot 2.7.2
  • upgrade swagger-ui: 4.13.2
  • upgrade classgraph: 4.8.149
  • upgrade spring-native: 0.12.1
  • upgrqde swagger-core: 2.2.2
  • upgrage therapi-runtime-javadoc: 0.15.0

Fixed

  • #1684 - incorrect generic param for multi interfaces
  • #1687, #1688 - kotlin ByteArray property incorrect
  • #1692 - More specific bean name for objectMapperProvider
  • #1684 - Incorrect generic param for multi interfaces
  • #1707 - Concurrent problems when initializing multiple GroupedOpenApi parallelly
  • #1690 - Expected file to be in alphabetical order.
  • #1713 - ObjectMapperProvider to sort all properties.
  • #1717, #1718 - javadoc of JsonUnwrapped fields not set
  • #1748, #1712, Generated server url computation not cleared
  • #1696 - incorrect generic param for multi interfaces
  • #1749 - Update server out of cache
  • #1734 - springdoc-openapi-kotlin and springdoc-openapi-common do not agree on conditions for auto configuration
  • #1761- Exception documenting RestControllerEndpoint with PostMapping

v2.0.0-M3

16 Oct 00:24
Compare
Choose a tag to compare
v2.0.0-M3 Pre-release
Pre-release

Added

  • #1664 - Add Schema properties support in method-level @RequestBody
  • #1181 - Initial OpenAPI 3.1 support
  • #1651 - Ease group declaration through code or properties with actuators
  • #1616 - Add global customizer and filters
  • #1620 - Allow ComposedSchemas to replace non-composed so we can respect polymorphic links discovered in later methods
  • #1579 - Updated class and method javadoc handling
  • #1647 - Support for Webflux springdoc behind a proxy v2.x by @wiiitek in #1647
  • upgrade classgraph: 4.8.147
  • upgrade spring-native: 0.11.5
  • upgrade spring-cloud-function: 3.2.4
  • #1603 - Update swagger-ui path from /swaggerui to /swagger-ui when using management port (actuator) .
  • Prefer ComposedSchemas over non-composed so that method name order doesn't prevent polymorphic links generating into the spec

Changed

  • Update to spring-boot 3.0.0-M3

Fixed

  • #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)
  • #1655 - OpenAPIService is using ObjectMapper without configured modules since SpringDoc 1.6.7.
  • #1648 - Tags with only name provided are being added to the openAPI.tags field.
  • #1641 - ConcurrentModificationException when querying /v3/api-docs/{group} concurrently for different groups
  • #1634 - Generating doc for entities with map attribute does not work
  • #1633 - GroupedOpenApi.builder addOpenApiCustomiser execution order is reversed
  • #1630 - Remove repeated HttpSession
  • #1659 - fix oauth redirection when used in spring-native
  • #1621 - Redirection to UI broken with query-config-enabled when any other boolean parameter is defined.
  • #1617 - spring cloud stream crashes at startup.
  • #1605 - spring-native NullPointerException due to missing TypeHint

Full Changelog: v2.0.0-M2...v2.0.0-M3

springdoc-openapi v1.6.9 released!

27 May 16:27
Compare
Choose a tag to compare

Added

  • #1664 - Add Schema properties support in method-level @RequestBody
  • #1181 - Initial OpenAPI 3.1 support
  • #1651 - Ease group declaration through code or properties with actuators

Changed

  • upgrade to spring-boot 2.7.0
  • upgrade swagger-ui: 4.11.1
  • upgrade classgraph: 4.8.147
  • upgrade spring-native: 0.11.5
  • upgrade spring-cloud-function: 3.2.4

Fixed

  • #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)
  • #1655 - OpenAPIService is using ObjectMapper without configured modules since SpringDoc 1.6.7.
  • #1648 - Tags with only name provided are being added to the openAPI.tags field.
  • #1641 - ConcurrentModificationException when querying /v3/api-docs/{group} concurrently for different groups
  • #1634 - Generating doc for entities with map attribute does not work
  • #1633 - GroupedOpenApi.builder addOpenApiCustomiser execution order is reversed
  • #1630 - Remove repeated HttpSession
  • #1659 - fix oauth redirection when used in spring-native

springdoc-openapi v1.6.8 released!

22 Apr 00:37
Compare
Choose a tag to compare

Added

  • #1616 - Add global customizer and filters
  • #1620 - Allow ComposedSchemas to replace non-composed so we can respect polymorphic links discovered in later methods
  • #1579 - Updated class and method javadoc handling

Changed

  • upgrade to spring-boot 2.6.7
  • #1603 - Update swagger-ui path from /swaggerui to /swagger-ui when using management port (actuator) .
  • Prefer ComposedSchemas over non-composed so that method name order doesn't prevent polymorphic links generating into the spec

Fixed

  • #1621 - Redirection to UI broken with query-config-enabled when any other boolean parameter is defined.
  • #1617 - spring cloud stream crashes at startup.
  • #1605 - spring-native NullPointerException due to missing TypeHint