Contributions
Re: Not able to execute API from SwaggerHub
Hi Tony...thanks for the speedy reply. Follow-up question:does this mean that in order to accessmyendpoints using SwaggerHub, I will need to host my APIon some cloud service, like Amazon AWS or Microsoft Azure? Please let me know. Thanks!8.4KViews0likes1CommentNot able to execute API from SwaggerHub
Hi, I am new to SwaggerHub and having trouble accessing the APIthat I created using an existing swagger.yaml file on SwaggerHub. I have specified the host name as my machine name (which is part of my office network and accessible via VPN) in the swagger.yaml I am able to publish my API and when I go to 'Interactive API Doc' I see the endpoints listed as expected. However when I try any endpoint I get the following: Response Body:getaddrinfo ENOTFOUND my_machine_namemy_machine_name:port Response Code: 500. Following is the request URL: https://app.swaggerhub.com/proxy/?url=http%3A%2F%2Fmy_machine_name%3Aport%2FfindMetrosByState&proxy-token=tmmt8ju I generated the swagger yaml file using swagger-maven-plugin and have annotated my endpoints with a@ApiOperation annotation. Please let me know if I need to provide any more information. Appreciate any help on this. Thanks, DeeptiSolved8.4KViews0likes8Comments