ecyrbe / zodios

typescript http client and server with zod validation
https://www.zodios.org/
MIT License
1.71k stars 46 forks source link

Update Docs #458

Closed CarlosZiegler closed 1 year ago

CarlosZiegler commented 1 year ago

I see that we dont have updated docs on helpers: https://www.zodios.org/docs/api/helpers

image

If try it I get:

image

That is because now makeParams need a type attribute:

image

solved if added correct attribute:

const parameters = makeParameters([
    {
        name: 'limit',
        description: 'Limit',
        schema: z.number().positive().optional(),
        type: 'Query',
    },
]);
image
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.