userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.36k stars 272 forks source link

Support minItems and maxItems array properties in static config #574

Closed fdr896 closed 1 month ago

fdr896 commented 3 months ago

Sometimes it is convenient to configure minimum and maximum value of array length in static configuration. As I understand, OpenAPI 3 exposes such configuration options for arrays. Is it possible to support such options in userver too?

eparoshin commented 1 month ago

@apolukhin, hi, I would like to take this issue, if you don't mind