Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10372

Spring Boot Starter Empty Body Filter covers the Rest API

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: spring-boot 3.3.1, spring-boot 2.3.2, spring-boot 3.0.3, spring-boot 3.1.3, spring-boot 3.2.3
    • Component/s: spring-boot
    • Labels:
    • Title Keywords:
      spring boot starter, rest

      Description

      Given:
      The Camunda Spring Boot Starter Rest API is used.

      When:

      • A HTTP Post request is performed that doesn't require a body
      • The Content-Type is application/json

      Then:
      An empty JS object is required '{}', so the Rest API implementation accepts the request.

      Expected:
      The EmptyBodyFilter is used to convert the null body into a valid empty one acceptable to the implementation.

        Attachments

          Activity

            People

            Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            nikola.koevski Nikola Koevski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: