Thursday, March 12, 2020

Swagger /OpenAPI : API documentation



https://dotnettutorials.net/lesson/how-to-use-swagger-in-web-api/

1. Create a Web API project
2.  Install Nuget package Swashbuckle:  https://www.nuget.org/packages/Swashbuckle/






Start a new debugging session by pressing the F5 key and navigate to http://localhost:[PORT_NUM]/swagger and then you should see the help pages for your APIs.

Now expand an API and then click on the “Try it out!” button which will make a call to that specific API and return results











No comments:

Post a Comment

JMeter Simple Controller

  Simple Controller is just a  container  for user request.