spectreeEasy Playground

API validation and documentation for Flask/Starlette/Falcon

Getting started with spectreeRun locally
Install
pip install spectree
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: spectree)

spectree is a third-party package. API validation and documentation for Flask/Starlette/Falcon. Install with: pip install spectree

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?