tools for api documentation code example
Example 1: api documentation tools
Swagger doc
Postman doc
Custom documenting site
just file contain the doc
Swagger is the most popular one.
Example 2: api tools
Tools to send API request
Postman -- Desktop client tool
Curl -- Command line client tool
RestAssured -- Java client library
SoapUI -- Desktop client tool
A lot of API documentation provide curl
command for example when we run the request and
Postman can easily import curl command without you
manually typing the whole part of the request.