@uphold/fastify-openapi-router-plugin 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ await fastify.register(import('@fastify/fastify-openapi-router-plugin'), {
|
|
|
58
58
|
| ------ | ---- | ---------- |
|
|
59
59
|
| `spec` | `string` or `object` | **REQUIRED**. A file path or object of your OpenAPI specification. |
|
|
60
60
|
| `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. |
|
|
61
|
-
| `securityErrorMapper` | `function` | A function that allows mapping the default `UnauthorizedError` to a custom error |
|
|
61
|
+
| `securityErrorMapper` | `function` | A function that allows mapping the default `UnauthorizedError` to a custom error. |
|
|
62
62
|
|
|
63
63
|
#### `spec`
|
|
64
64
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED