Right now there is a starlette request object that is injected into each endpoint and the user is responsible for creating links. The starlette request object is available from within a fastapi dependency, so it may be easier to create links inside a dependency and inject these links into each endpoint.
Right now there is a starlette request object that is injected into each endpoint and the user is responsible for creating links. The starlette request object is available from within a fastapi dependency, so it may be easier to create links inside a dependency and inject these links into each endpoint.