nextcloud / ocs_api_viewer

3 stars 1 forks source link

Can not send empty string on required string fields #18

Closed nickvergessen closed 4 months ago

nickvergessen commented 8 months ago

Was unable to test e.g. https://github.com/nextcloud/spreed/pull/11207#issuecomment-1885803158

provokateurin commented 8 months ago

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 commented 8 months ago

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

provokateurin commented 4 months ago

Should be fixed by https://github.com/nextcloud/openapi-extractor/pull/105