Closed VShingala closed 1 year ago
This PR adds support for option enableOptionalParameters in convertV2 and validateTransactionV2 interfaces. As reported by users here https://github.com/postmanlabs/openapi-to-postman/issues/31#issuecomment-1481258315, we did not add this option with v2 interface.
enableOptionalParameters
convertV2
validateTransactionV2
We'll now be marking all optional params as disabled if option enableOptionalParameters is provided as false. (Default value for it is true).
false
true
We'll also be making sure to not report such params as missing in validation flow given option is false.
https://go.postman-beta.co?_track=br-feature-IMPORT-227
Both conversion and validation can be checked on this branch.
Overview
This PR adds support for option
enableOptionalParameters
inconvertV2
andvalidateTransactionV2
interfaces. As reported by users here https://github.com/postmanlabs/openapi-to-postman/issues/31#issuecomment-1481258315, we did not add this option with v2 interface.Solution
We'll now be marking all optional params as disabled if option
enableOptionalParameters
is provided asfalse
. (Default value for it istrue
).We'll also be making sure to not report such params as missing in validation flow given option is
false
.Track
https://go.postman-beta.co?_track=br-feature-IMPORT-227
Both conversion and validation can be checked on this branch.