Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-37

Turn off encoding of path parameters (by Swagger) to prevent Bad Requests (400)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0
    • None
    • None
    • None

      Swagger - by default - encodes path parameters which results in bad requests as the respective endpoints cannot be found.

      http://localhost:8080/.rest/nodes/v1/website/demo-project/about?depth=0&includeMetadata=false

      will result in

      http://localhost:8080/.rest/nodes/v1/website/demo-project%2Fabout?depth=0&includeMetadata=false

        Acceptance criteria

              pmundt Philip Mundt
              pmundt Philip Mundt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD