25
Views
3
Comments
Consuming Multiple Method API - Not able to get Swagger File
Question

Hi All,


We are trying to consume multiple method API which is asking for Swagger file. So in Swagger we tried to get the Swagger URL by giving our API url, where in swagger do we really get this Swagger url needed for binding? Attaching the swagger page for reference.


Regards,

Varuni


Screen Shot 2023-05-29 at 5.12.32 PM.png
2023-03-16 16-29-51
Paulo Rosário

Hello Varuni,

From your screenshot, I can see that you are trying to use a REST API.

What is the URL that you are using as a Swagger file? The screenshot shows a method of that API, the Swager is a collection of all the Methods.

 You can read more about how to consume multiple API methods here.

Hope it helps!

Paulo Rosário

2024-11-01 10-35-12
Varuni Rajendran

Hi Paulo,

Thanks for your hint, yes i gave whole URL and it worked. I was able to get the resolved Json file for the url and uploaded the same for multiple method REST API consumption.

Regards,

Varuni

2023-03-16 16-29-51
Paulo Rosário

Glad it worked :)

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.