We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty arrays stripped from my request bodies, even when they are specified as "required" in the schema. Is this the intended behavior?
https://github.com/readmeio/oas/blob/main/packages/oas-to-har/src/index.ts#L442 https://github.com/readmeio/remove-undefined-objects/blob/5.0.0/src/index.ts#L27
My current workaround is the following
import * as ruo from 'remove-undefined-objects'; Object.defineProperty(ruo, 'default', { get: () => (obj: unknown) => obj, });
The API I'm working with needs me to send an empty array, it won't accept a missing field in the body.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Empty arrays stripped from my request bodies, even when they are specified as "required" in the schema. Is this the intended behavior?
https://github.com/readmeio/oas/blob/main/packages/oas-to-har/src/index.ts#L442
https://github.com/readmeio/remove-undefined-objects/blob/5.0.0/src/index.ts#L27
My current workaround is the following
The API I'm working with needs me to send an empty array, it won't accept a missing field in the body.
The text was updated successfully, but these errors were encountered: