Skip to content

Releases: springdoc/springdoc-openapi

springdoc-openapi v1.3.5 released!

30 Apr 18:03
Compare
Choose a tag to compare

Added

  • Get fields of superclass for parameter objects
  • #606 - Added MonetaryAmount support, out of the box.
  • #605 - Support nested parameter objects.
  • #603 - Request Body can be configured as optional.
  • #588 - Support of assignableTypes attribute in @ControllerAdvice.

Changed

  • Upgrade swagger-ui to 3.25.1
  • Improve Pageable support
  • #608 - Improve override OpenApiResource
  • #591 - Changing oauth2RedirectUrl to respect relaxed binding.

Fixed

  • #624 - Change Return type of api-docs to
  • #622 - Missing extension to schema property.
  • #609 - ( self ref) for HAL hypermedia types.
  • #610, #611 - ApiResponse DEFAULT_DESCRIPTION Improvement.
  • #601 - components schema not generated.
  • #592 - springdoc.cache is not part of additional-spring-configuration-metadata.json.
  • #597 - Request Body for Maps not available in Swagger-UI.

springdoc-openapi v1.3.4 released!

30 Apr 18:03
Compare
Choose a tag to compare

Fixed

  • #583 - Crash on startup with 1.3.3 for kotlin app not using kotlinx-coroutines-reactor.

springdoc-openapi v1.3.3 released!

18 Apr 17:03
Compare
Choose a tag to compare

Added

  • #322 - Make default type of Resource as binary.
  • #560 - Add support kotlin Flow as response type.
  • #572 - Add support for swagger-ui-property 'urls.primaryName'.

Changed

  • #561 - remove pageable required.
  • #567 - springdoc.swagger-ui.oauth.additionalQueryStringParams as map instead of list.

Fixed

  • #570 - Spring HATEOAS fixing _embedded.
  • #563 - Spring 4 incompatibility using springdoc-openapi 1.2.30+. Fixes.
  • #562 - Lazy Initialisation breaks WebFlux support.

springdoc-openapi v1.3.2 released!

12 Apr 09:10
Compare
Choose a tag to compare

Added

  • #541 - Add support for none required fields on @ParameterObject
  • Support headers without value (headers = "X-API-VERSION")

Changed

  • #544 - Improve @parameter annotation support for header
  • #156 - Added test for required param object is not marked as required
  • #553 - Ignore Map type with @RequestParam(required = false) in method
  • #549 - Imrpove Spring HATEOAS support

Fixed

  • #543 - Description for Pageable parameters is not displayed in swagger-ui using @ParameterObject.
  • #555 - The response scheme is erased with the generic void type
  • #545 - Random null pointer exception in 1.3.1

springdoc-openapi v1.3.1 released!

08 Apr 18:47
Compare
Choose a tag to compare

Added

  • #344 - Support for dynamic groups from application.yml
  • #509 - Support for Groovy metaclass/metadata
  • #120 #268 #162 #119 - Support to extract parameters from parameter object using Springdoc annotation @ParameterObject
  • #502 - Support for Subtypes to be also ignored from Controller class

Changed

  • #461 - Rename some packages to improve Java 9 Modules support
  • #536 #424 - Workaround for swagger-ui, to enable layout and filter properties
  • #531 - Added encoding section iswagger-apin multipart request
  • Upgrade to spring-boot to 2.2.6
  • Upgrade swagger-api to 2.1.2

Fixed

  • #489 - Schema mapping with inheritance
  • #537 - Improve support of Generics inheritance on complex return types
  • #517 - Kotlin Coroutines support corrected

springdoc-openapi v1.3.0 released!

08 Apr 18:49
Compare
Choose a tag to compare

Added

  • Feature to support for property resolver on @Schema (name, title and description)
  • #501 - Introduced new property springdoc.api-docs.resolve-schema-properties for property resolver on @Schema
  • #453 - Being able to see the class within an EntityModel as a Schema.
  • Introduce new property springdoc.remove-broken-reference-definitions
  • #498 - Property resolver on @ApiResponse.description
  • Support of @QuerydslPredicate in Rest controllers

Changed

springdoc-openapi v1.2.34 released!

08 Apr 18:49
Compare
Choose a tag to compare

Added

  • Property resolver on @operation.summary, @parameter.description and @parameter.name
  • #468 - Use required attribute from spring RequestBody annotation
  • #481 - Review configuration via springdoc.swagger-ui.urls
  • #333 - Support for auto fill clientId and clientSecret for webflux
  • Support to ignore annotations on parameter level

Changed

  • #469 - Update spring-boot-starter-parent to 2.2.5.RELEASE
  • #477 - Improve compatibility of springdoc-openapi-data-rest with Spring Webflux
  • #480 - Improve support of  Swagger UI to use provided spec.yml
  • Delegate primitive type generation to swagger-core

Fixed

  • #489 - Wrong schema mapping with inheritance. Fixes

springdoc-openapi v1.2.33 released!

08 Apr 18:50
Compare
Choose a tag to compare

Added

  • #451 - Support for OpenApiBuilderCustomiser to allow users to customize the OpenApiBuilder
  • Support for generic controller types parameters
  • #454 - Support to handle prefix for webflux-ui

Changed

  • #459 - Allow @Schema annotation to set an attribute as not required even if it's annotated with @NotNull
  • #458 - Make SpringDocAnnotationsUtils public
  • #455 - Make GenericResponseBuilder.calculateSchema method public

[1.2.32] - 2020-02-19

Added

  • #429 - Support to override generic responses from controller advice with ApiResponses
  • #443 - Support for non-nullable types in Kotlin
  • #442 - Support for setting default produces/consumes mediaTypes

Changed

  • #447 - Force classgraph version

Fixed

  • #444 - Payload/Request Examples no longer generated
  • #441 - Return value of PropertyCustomizer is ignored

springdoc-openapi v1.2.32 released!

08 Apr 18:50
Compare
Choose a tag to compare

Added

  • Allow Request paremeters types to be ignored programatically using SpringDocUtils
  • #420 - Support to disable autotagging of @RestController Classes
  • #404 - Support for properties to exclude packages and paths from documentation.
  • #414 - Support for kotlin Deprecated
  • #423 - Support for Hiding org.springframework.security.core.Authentication on ServerHttpResponse

Changed

  • Upgrade swagger-ui to 3.25.0
  • #428 - Allow ModelAndView to be detected
  • #435 - Improve Reverse proxy compatibily for webflux
  • #418 - Adjusting the output for Links

Fixed

  • #426 - Discovery of MediaType producers inconsistent with Spring MVC behaviour
  • #408 - Multiple Parameter Refs throws IllegalStateException (Duplicate key)
  • #401 - Solves Hateoas fields names mismatch
  • #419 - @CookieValue parameter indents request body

springdoc-openapi v1.2.31 released!

08 Apr 18:51
Compare
Choose a tag to compare

Added

  • Allow Request paremeters types to be ignored programatically using SpringDocUtils
  • #420 - Support to disable autotagging of @RestController Classes
  • #404 - Support for properties to exclude packages and paths from documentation.
  • #414 - Support for kotlin Deprecated
  • #423 - Support for Hiding org.springframework.security.core.Authentication on ServerHttpResponse

Changed

  • Upgrade swagger-ui to 3.25.0
  • #428 - Allow ModelAndView to be detected
  • #435 - Improve Reverse proxy compatibily for webflux
  • #418 - Adjusting the output for Links

Fixed

  • #426 - Discovery of MediaType producers inconsistent with Spring MVC behaviour
  • #408 - Multiple Parameter Refs throws IllegalStateException (Duplicate key)
  • #401 - Solves Hateoas fields names mismatch
  • #419 - @CookieValue parameter indents request body