Releases: springdoc/springdoc-openapi
Releases · springdoc/springdoc-openapi
v2.0.0-M7
springdoc-openapi v1.6.12 released!
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
- @okohub made their first contribution in #1814
- @sbernardo made their first contribution in #1888
- @yotam2010 made their first contribution in #1878
Full Changelog: v1.6.11...v1.6.12
v2.0.0-M6
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
- @eikemeier made their first contribution in #1860
Full Changelog: v2.0.0-M5...v2.0.0-M6
v2.0.0-M5
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!
[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
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
- @JohnNiang made their first contribution in #1753
springdoc-openapi v1.6.10 released! Latest
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
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!
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!
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