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
Recent Discussions
- 20 hours agocelly
- 22 hours agoIchigo
- 23 hours agoBartMadeBotBad