From d557a69ce5977f1c35ba85570283bf4b502e101f Mon Sep 17 00:00:00 2001 From: Sam Chung Date: Mon, 11 Mar 2024 12:03:41 +1100 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 420e52a..95d6d13 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,9 @@ await app.listen({ port: 5000 }); ## Usage with plugins ```ts -import { z } from 'zod'; import { FastifyPluginAsyncZodOpenApi } from 'fastify-zod-openapi'; +import { z } from 'zod'; +import { extendZodWithOpenApi } from 'zod-openapi'; extendZodWithOpenApi(z);