Update the API
-
- Click the menu icon > Drafts.
2. Click APIs.
3. Click Climbing Weather API 1.0.0.
4. Update the version number to 2.0.0.
5. Click Base Path and modify the path to /v2
.
6. From the left navigation, click Paths > /weather/forecast.
7. Click the path to expand it.
8. Click Add Parameter > Add New Parameter.
9. Change the Name of the new parameter to zip_code
and add a description, such as 5-letter/digit
code.
10. Click Add Parameter > Add new parameter.
11. Change the Name to country
and add a description.
12. Save the modified API.
13. Click All APIs.
14. Click Products.
Now, you’re ready to update the product.