Replies: 1 comment 3 replies
-
You need to mark them required. Otherwise, it will throw an error only if the value is not a string. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
When using a route like
/greetings/:id
with a required paramid
, the missing param isn't validated – neither on backend nor with the TS client. Am I missing something here and this is expected?Within the Swagger UI it's required, though.
Beta Was this translation helpful? Give feedback.
All reactions