Filter out mediaType from bodyParams. (If you enter a mediaType as a subproperty of bodyParams, the generated OAS will also contain the mediaType, resulting in an invalid OAS, which should be filtered out. problem detail)
When bodyParams are empty, convert empty object to undefined.
Related PR
34, #35
Changes
mediaType
frombodyParams
. (If you enter amediaType
as a subproperty ofbodyParams
, the generated OAS will also contain themediaType
, resulting in an invalid OAS, which should be filtered out. problem detail)bodyParams
are empty, convert empty object toundefined
.