Create Swagger file

Describe the Salesforce REST API using the OPEN API 2.0 specification

Transcript
The next thing to do is to create a swagger file which describes the Salesforces’ REST APIs. So, for example, in my swagger file, the host name is specified here. That’s the host name of my Salesforce instance. And then these are the paths which I have defined in my swagger file. For example, this path allows me to create a lead object using the POST mechanism. And the input parameters for that API are described here. So, in a similar manner, you can create various paths within your swagger file to fetch specific objects, or to create specific objects. For example, I’m creating a lead object and also have an API to fetch a lead object, by giving an email ID of that particular object here. So, this way you can custom, create your swagger file to describe the various APIs that you may want to use using AEM forms. So once the swagger file is created the next step is to create our cloud services configuration, which allows us to connect AEM forms with Salesforce. -

The swagger file can be downloaded is available here

recommendation-more-help
4859a77c-7971-4ac9-8f5c-4260823c6f69