From f7295e9a8d30ab2e5a1fb09a5a1fc28690bbb97e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cruz?= Date: Tue, 10 Sep 2024 00:28:03 +0100 Subject: [PATCH] Add missing dot to sentence in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7033982..e971ca3 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ await fastify.register(import('@fastify/fastify-openapi-router-plugin'), { | ------ | ---- | ---------- | | `spec` | `string` or `object` | **REQUIRED**. A file path or object of your OpenAPI specification. | | `securityHandlers` | `object` | An object containing the security handlers that match [Security Schemes](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#security-scheme-object) described in your OpenAPI specification. | -| `securityErrorMapper` | `function` | A function that allows mapping the default `UnauthorizedError` to a custom error | +| `securityErrorMapper` | `function` | A function that allows mapping the default `UnauthorizedError` to a custom error. | #### `spec`