Python web API Swagger UI boilerplate.
Built using Python, Flask, and Flask-RESTX.
# Initialize virtual environment
$ pipenv shell
# Install dependencies
$ pipenv install
# Run server (http://localhost:5000)
python3 app.py
Navigate to generated Swagger UI in your browser of choice at http://localhost:5000
- GET /products
- GET /products/{product_id}
- POST /products
- PUT /products/{product_id}
- DELETE /products/{product_id}