-
Notifications
You must be signed in to change notification settings - Fork 0
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
[API] Remove items and properties parameters in the /values endpoint #2
Comments
Thank you for bringing this up. Therefore it may be hard or even impossible to achieve the desired effect in certain environments. Maybe we could also just allow |
I would favour a solution without the plural form. Because during implementation I was not sure what to do when for example both variants are set. And I couldnt just mark the singular variant as required, because it can be left out when using the plural variant. In the end I merged the singular and plural values and required that at least one value must then be present. Also it seems to me that most frameworks use comma-separated values and not space separated values. At least comma separation appeared a lot when browsing stack overflow. E.g. our framework supports multiple appearances of the same parameter and comma-separation out of the box: https://www.baeldung.com/spring-request-param#mapping-a-multi-value-parameter |
I would also opt for the singular forms. But comma separation is not possible as a comma ( Related question: |
In that specific case it doesn't matter if we use So from this perspective it doesn't matter if the encoded URL contains |
The parameters items and properties should be removed to make the endpoint simpler. Instead the item and property query could be used multiple times like
/values?item=aaa&item=bbb
.The text was updated successfully, but these errors were encountered: