|
type = "/problems/validation" |
Check what happens to URIs if we change app.include_router(get_problem_docs_router(), prefix="/problems") to app.include_router(get_problem_docs_router(), prefix="/v1/problem-docs") or similiar.
Consider a global config flag e.g. in add_problem_handlers(app) together with a wildcard type = "{{url}}/out-of-credit" or similar to allow for flexible uri/error path definition on the same server or other servers.
fastapi-rfc9457/src/fastapi_rfc9457/builtins.py
Line 98 in 9cc743b
Check what happens to URIs if we change
app.include_router(get_problem_docs_router(), prefix="/problems")toapp.include_router(get_problem_docs_router(), prefix="/v1/problem-docs")or similiar.Consider a global config flag e.g. in
add_problem_handlers(app)together with a wildcardtype = "{{url}}/out-of-credit"or similar to allow for flexible uri/error path definition on the same server or other servers.