You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was generated the field body: {} that is not compatible with the API endpoint POST https://api.getpostman.com/collections (Create a Collection).
Once I remove all the empty body fields it becames a valid JSON file.
If it helps, here is part of the error message:
{"error":{"name":"malformedRequestError","message":"Found 646 errors with the supplied collection.","details":["item/0: must have required property 'request'","item/0/item/0/request/body: must be object","item/0/item/0/request/body: must be null","item/0/item/0/request/body: must match exactly one schema in oneOf","item/0/item/0/request: must be string","item/0/item/0/request: must match exactly one schema in oneOf","item/0/item/0: must have required property 'item'","item/0/item/0: must match a schema in anyOf", ...
Is there a way to disable this behaviour?
Thank you
The text was updated successfully, but these errors were encountered:
Hey,
While trying to convert my documentation in OpenAPI with the following endpoint:
This is the final result (removed some fields that don't matter):
It was generated the field
body: {}
that is not compatible with the API endpointPOST https://api.getpostman.com/collections (Create a Collection)
.Once I remove all the empty body fields it becames a valid JSON file.
If it helps, here is part of the error message:
Is there a way to disable this behaviour?
Thank you
The text was updated successfully, but these errors were encountered: