Question
Pegasystems Inc.
US
Last activity: 4 Oct 2018 8:20 EDT
Running REST-Connect Wizard with Swagger File
My client provided swagger files (screenshot). How do we upload this thru the REST-Connect Wizard? This Wizard seems to take end point URL only (screenshot).
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
We used 'Add a File' option (in Step 3, Data Model) to upload Request/Response JSON.
Request/Response JSON schemas can be found in swagger file.
We also configured the URL and headers (found in swagger file) in Step 1.
Swagger file should also show which method to use. In our case - POST.
Pegasystems Inc.
IN
Hi Will,
Which Version of Pega are you using ?
For higher versions like Pega 7.4, option is provided for Adding a JSON File in the REST integration wizard, please find the Screenshot attached.
Thanks,
-
dustin bayne
Areteans
AU
This option is also available in 7.2.2
Independent
SG
Hi,
I don't think that option is meant for attaching a Swagger file. The Swagger file does not contain the data model of a sample response but typically defines the expected data model. In the SOAP world, I think its equivalent is XSD.
CollabPartnerz
IN
Hi,
Below link might help you.
https://collaborate.pega.com/question/swagger-file-rest-services-pega
Independent
SG
Hi,
The link provides details on how to generate Swagger file for services exposed by the Pega application.
Is there one that talks about consuming the Swagger file to create the Connect rule and data model for an integration point exposed to the Pega application?
Thanks!
Accepted Solution
Pegasystems Inc.
US
We used 'Add a File' option (in Step 3, Data Model) to upload Request/Response JSON.
Request/Response JSON schemas can be found in swagger file.
We also configured the URL and headers (found in swagger file) in Step 1.
Swagger file should also show which method to use. In our case - POST.
-
Xavier SANQUER Thomas Peters