Skip to content
New issue

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

Can not send empty string on required string fields #18

Closed
nickvergessen opened this issue Jan 11, 2024 · 3 comments
Closed

Can not send empty string on required string fields #18

nickvergessen opened this issue Jan 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@nickvergessen
Copy link
Member

Was unable to test e.g. nextcloud/spreed#11207 (comment)

@nickvergessen nickvergessen added the bug Something isn't working label Jan 11, 2024
@provokateurin
Copy link
Member

Upstream problem in https://github.com/stoplightio/elements. I guess when a parameter is required it only checks the that there is a value (e.g. by length), but for a string an empty string is also a valid value.

@provokateurin
Copy link
Member

provokateurin commented Jan 19, 2024

Same for empty arrays (but for a different reason, server ends up with 500)

@provokateurin
Copy link
Member

Should be fixed by nextcloud/openapi-extractor#105

@provokateurin provokateurin closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants