]
Debbie Steigner updated TEIID-5639:
-----------------------------------
Attachment: DesignerGenSwagger.png
Auto-generated REST war creates different context than Designer
Generated REST war
----------------------------------------------------------------------------------
Key: TEIID-5639
URL:
https://issues.jboss.org/browse/TEIID-5639
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.12.16.6_4
Reporter: Debbie Steigner
Assignee: Steven Hawkins
Priority: Major
Attachments: AutoGenSwaggar.png, DesignerGenSwagger.png
Have a REST procedure with 3 optional parameters and have the REST:URI set to
testget&inA&inB&inC, the Designer Generated War takes the REST:URI of
testget&inA&inB&inC and drops the params, so you see in the Swagger UI the
operation is just /AAA/testget, so the Request URL is
http://localhost:8080/WW/AAA/testget?inA=abc&inC=def but the auto-generated war file
doesn't drop the params from the REST:URI and it shows as
/AAA/testget&inA&inB&inC so the actual Request URL would be
http://localhost:8080/WW_1/AAA/testget&inA&inB&inC?inA=abc&am....