NYU-Shopcarts / shopcarts

A collection of products to buy
0 stars 2 forks source link

Part 4: Add Swagger documentation to document the API #60

Closed pranaypareek closed 6 years ago

pranaypareek commented 6 years ago

As a developer

I need Swagger documentation for our API service

So that other developers can look up how to use our API

Assumptions:

Acceptance Criteria:

Given that all API routes are working
When I interact with each API route on the Swagger UI
Then each interaction (GET PUT POST DELETE etc) should be successful

To keep things manageable, this issue can and should be broken down into smaller steps (we can create more stories if needed).

Add Swagger docs to your service to document your API using flasgger or Flask-RESTPlus as shown in class. The documentation API must be at: /apidocs/index.html

kqg13 commented 6 years ago

Update server.py to incorporate swagger

pranaypareek commented 6 years ago

Swagger's up.