Springdoc Openapi Versions Save

Library for OpenAPI 3 with spring-boot

v1.6.13

1 year ago

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: https://github.com/springdoc/springdoc-openapi/compare/v1.6.12...v1.6.13

v2.0.0-RC2

1 year ago

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: https://github.com/springdoc/springdoc-openapi/compare/v2.0.0-RC1...v2.0.0-RC2

v2.0.0-RC1

1 year ago

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: https://github.com/springdoc/springdoc-openapi/compare/v2.0.0-M7...v2.0.0-RC1

v2.0.0-M7

1 year ago

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.

v1.6.12

1 year ago

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: https://github.com/springdoc/springdoc-openapi/compare/v1.6.11...v1.6.12

v2.0.0-M6

1 year ago

Added

Fixed

  • 1855 -Fixed a bug that duplicate field were get for record classes by @uc4w6c in https://github.com/springdoc/springdoc-openapi/pull/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: https://github.com/springdoc/springdoc-openapi/compare/v2.0.0-M5...v2.0.0-M6

v2.0.0-M5

1 year ago

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: https://github.com/springdoc/springdoc-openapi/compare/v2.0.0-M4...v2.0.0-M5

v2.0.0-M4

1 year ago

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 https://github.com/springdoc/springdoc-openapi/pull/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

v2.0.0-M3

1 year ago

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 https://github.com/springdoc/springdoc-openapi/pull/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: https://github.com/springdoc/springdoc-openapi/compare/v2.0.0-M2...v2.0.0-M3

v2.0.0-M2

1 year ago

Added

  • #1596 - Add title property to GroupedOpenApi class for displaying a Human readable group name.
  • #1554 - Configurable caching of OpenAPI instances.
  • #1544 - @Deprecated on controller to mark all its operations as deprecated.
  • #1534 - Support custom Spring type converters.
  • #1543 - Add method to retrieve server base URL and ability to 'customize' the generated server base URL.
  • #1505 - Support swagger-ui.withCredentials property.
  • #1481 - Include /oauth/token endpoint using OpenApi Swagger 1.6.5.
  • #1501 - Added CSRF Session Storage config properties and html transformer.
  • #1498 - Pick up exception handler in case there is no controller advice at all.

Changed

  • update to spring-boot 3.0.0-M2
  • upgrade to swagger-api 2.2.0 and swagger-ui 4.10.3
  • spring-native upgrade to 0.11.4
  • classgraph upgrade to 4.8.143
  • Update webjars-locator-core to 0.50
  • add owasp dependency-check-maven plugin

Fixed

  • #1586 - Typo in Pageable sort description.
  • #1570 - Remove unused dependencies.
  • #1565- Missing Request Body for Write Operation Actuator Endpoints.
  • #1522 - parameter of type com.querydsl.core.types.Predicate ignored when unique.
  • #1556 - oauth2RedirectUrl cached unexpectedly.
  • #1546 - Custom Requestmapping consumes responses.
  • #1552 - resolve-schema-properties is not replacing tokens from properties file.
  • #1530 - Setting displayOperationId to false does not work.
  • #1525 - Null vendor extensions are excluded from Json/Yaml.
  • #1469 - #1036 - CSRF header should not be sent to cross domain sites
  • #1480 - Fix the problem that the inconsistent newline characters of different platforms
  • #1475 - Class level @Tag overwrites method level @Operation.tags.
  • #1491 - Set containingClass at MethodParameter