Closed kuba-baku closed 10 months ago
Add support for enums in route parameters by using Werkzeug's built-in any() converter. E.g. route
@app.get('/<any("nyse", "nasdaq"):market>/<stock_id>') async def get_price(market, stock_id): """Get stock price""" ...
renders as
Thanks, merged manually due to conflicts.
Add support for enums in route parameters by using Werkzeug's built-in any() converter. E.g. route
renders as