diff --git a/docs/guides/app-router-options.md b/docs/guides/app-router-options.md index 6eedba5..cf18ec1 100644 --- a/docs/guides/app-router-options.md +++ b/docs/guides/app-router-options.md @@ -16,7 +16,7 @@ This class is used for structuring [big applications](./bigger-apps.md) into mul | `deprecated?` | `boolean` | Set the deprecated status to all routes. | `false` | | `includeInSchema?` | `boolean` | Set to include or exclude all routes from the generated OpenAPI document. | `true` | | `responses?` | `Record`\<`number`, `ResponseConfig`\> | Additional [response schemas](./responses.md#openapi-schemas) to all routes, shown in the generated OpenAPI document. | `{ 422: ... }` | -| `defaultResponseClass?` | `ResponseClass` | Default response class of all routes. | `JSONResponse` | +| `defaultResponseClass?` | [`ResponseClass`](/reference/modules/types.md#responseclass) | Default response class of all routes. | `JSONResponse` | ## App Options @@ -40,4 +40,4 @@ All `Router` init options plus: | `swaggerUrl?` | ``null`` \| `string` | Route path URL for serving the Swagger interactive documentation. | `"/docs"` | | `redocUrl?` | ``null`` \| `string` | Route path URL for serving the ReDoc alternative documentation. | `"/redoc"` | | `middleware?` | [`Middleware`](middleware.Middleware.md)\<`E`\>[] | List of middleware applied to the application | `[]` | -| `exceptionHandler?` | [`ExceptionHandler`](../modules/types.md#exceptionhandler)\<`E`\> | Exception handler when an exception or error has occured during requests. | `baseExceptionHandler` | +| `exceptionHandler?` | [`ExceptionHandler`](/reference/modules/types.md#exceptionhandler)\<`E`\> | Exception handler when an exception or error has occured during requests. | `baseExceptionHandler` | diff --git a/docs/guides/dependencies.md b/docs/guides/dependencies.md index 53ab13a..fcb6a84 100644 --- a/docs/guides/dependencies.md +++ b/docs/guides/dependencies.md @@ -18,7 +18,7 @@ To create a dependency you use the `Dependency` class to create a dependency ins The dependency init receives: -- `of`: (optional) instance from which to inherit the `env` type (see [Dependency Env](./fetch_args.md#dependency-env)). +- `of`: (optional) instance from which to inherit the `env` type (see [Dependency Env](./fetch-args.md#dependency-env)). - `name`: (optional) name of the middleware, this does not have any functional effect. - `parameters`: the usual parameters declaration, these parameters will also be part of the generated OpenAPI document for the routes that uses this dependency. - `handle`: the usual handler function, but with a **second optional positional argument**: