agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
80 stars 34 forks source link

OpenAPI should have an "array of string" schema for "include" and "exclude" #673

Closed andrus closed 3 months ago

andrus commented 3 months ago

OpenAPI control parameter descriptors generated for UriInfo parameter do not attach a schema to parameters. This is problem for include and exclude, that are allowed to be specified multiple times. When opening the descriptor in Swagger, it is not possible to add multiple parameters of a given type. What we want to achieve is this:

image image