[MGNLREST-37] Turn off encoding of path parameters (by Swagger) to prevent Bad Requests (400) Created: 11/Nov/13  Updated: 12/Nov/13  Resolved: 11/Nov/13

Status: Closed
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: REST support
Sprint: 5.2-rc1

 Description   

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


Generated at Mon Feb 12 06:55:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.