turkerdev / fastify-type-provider-zod

MIT License
411 stars 25 forks source link

How to set params to be form-data #48

Closed hugorplobo closed 1 year ago

hugorplobo commented 1 year ago

Hi, I'm trying to use a zod object as a form-data params in my route:

image

But the swagger ui doesn't send the fields. Do I need to specify how the fields need to be sent? How can I do that?

pkrinesh commented 1 year ago

Hi @hugorplobo

Yes, you need to add the params in the URL. i.e., "/register/:param" at the top.