Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11455

API Provider ignores 204 as default status code

XMLWordPrintable

    • 0
    • 0% 0%
    • Todo

      (Migrated from https://github.com/syndesisio/syndesis/issues/4040)

      Author: Andrej Smigala
      Assignees: unassigned

      This is a...

      [pre][code]
      [ ] Feature request
      [ ] Regression (a behavior that used to work and stopped working in a new release)
      [x] Bug report [!-- Please search GitHub for a similar issue or PR before submitting --]
      [ ] Documentation issue or request
      [/code][/pre]

      Description

      When implementing an API Provider operation that has status code set to 204 (such as the Delete task operation in the todo API), the Provided API Return Path defaults to 200. This does not seem to happen with other status codes (e.g. the Create task operation correctly sets the status code to 201).

      A simple workaround is to open the finish step and select 204 as the status code.

              kstam@redhat.com Kurt Stam (Inactive)
              rhn-support-hbraun Heiko Braun
              Martin Muzikar Martin Muzikar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: