Deprecating#
Deprecating allows routes to be marked as deprecated. Routes can be
deprecated using the deprecate() decorator,
from quart_schema import deprecate
@app.route("/v0/resource/")
@deprecate
async def get_resource():
...
blueprints can be deprecated using
deprecate_blueprint() (applies to all routes
in the blueprint),
from quart_schema import deprecate_blueprint
deprecate_blueprint(blueprint)