Required requestBody in OpenAPI Export

Hi everyone,

I have a question about setting the entire requestBody as required in an OpenAPI 3 export.

I found a conversation from March 2024 where the team confirmed this wasn’t yet supported, but a feature request was opened for it. I’m just checking in to see if this feature has been implemented in any recent versions.

Our goal is to get requestBody: { required: true, ... } in the exported spec for our type generators.

Any updates would be greatly appreciated. Thanks!

I ran into this same issue.

Currently, this feature is not yet supported. We will update you as soon as there are any new developments.

bruno Hi, we are pleased to inform you that Apidog now supports configuring whether the request body is required. This field is also supported in import and export.

Hi Bruno, you can try the latest version, this feature is already supported.