A way to make the request body required or not
A
Amir Ahmetovic
Is there a way to mark the request body as required or not?
We have a Swagger comparison script that compares Apidog Swagger spec vs. TypeScript-based Swagger spec and it seems that "required" field in the Apidog Swagger spec is missing even though the request body is required for some of our API endpoints so the script is currently failing.
Md Mamunur Rashid
Hi Amir Ahmetovic, Good day. I have read your message carefully and could you please tell me what kinds of script you are comparing? Thank you.
A
Amir Ahmetovic
Md Mamunur Rashid We're using "oasdiff" to compare two Swagger files - one generated from our code base and another from Apidog.
Photo Viewer
View photos in a modal