Forum Discussion
joejoyce
3 years agoStaff
Hey Maktum_pasha. By default, OpenAPI treats all request parameters as optional. You can add required: true
to mark a parameter as required. Note that path parameters must have required: true
, because they are always required. You can find more information here: https://swagger.io/docs/specification/describing-parameters/. Let me know if this helps!
Related Content
- 6 years ago
- 24 days ago
- 11 years ago
- 3 years ago
Recent Discussions
- 5 days ago
- 6 days ago