function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sirisha NSirisha N 

How to get the swagger document for the rest APIs of the salesforce custom objects?

I need the swagger documentation for the rest APIs for the custom objects that I have created.
AnudeepAnudeep (Salesforce Developers) 
Hi Sirisha,

You can refer to below salesforce document which has few examples

https://developer.salesforce.com/blogs/2018/04/connecting-to-swagger-backed-apis-with-clicks-or-code.html

If you find this information helpful, please mark this answer as Best. It may help others in the community. Thank You!

Anudeep
Sirisha NSirisha N
I  am new to Salesforce and unable to follow the blog Anudeep. On trying to create External Service, there is no option available for 
"Select a Named Credential" 

I do not want to write the swagger documentation.

For a custom object by default the REST API endpoints are available for the CRUD operation on the object.

I want to  download the swagger documentation for the REST API of the custom object that I've created.