diff --git a/README.md b/README.md index 1a37f7c..026aac2 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ import { Type } from '@sinclair/typebox' const fastify = Fastify().withTypeProvider() -fastify.get('/', { +fastify.post('/', { schema: { body: Type.Object({ x: Type.String(),