This codemod enhances the schema definition for query strings by converting it to the full object schema format, adding properties and required fields.
Before
ts
After
ts
This illustrates how the codemod updates query string schema definitions in Fastify v5 to the more detailed object schema format, ensuring proper validation.