Replies: 1 comment 10 replies
-
Do wr have any specifications in this regard with jax-rs or should we implement our own solution? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this get method
that generates
and creates URL
http://localhost:7021/docs/api/templates?categoriaId=&tipo=[PRINCIPAL,%20SECUNDARIO]&hidden=false&zero=false&ts=1615035551000
The problem is that RestEasy cannot convert '' to Integer
RESTEASY003870: Unable to extract parameter from http request: javax.ws.rs.QueryParam("categoriaId") value is '' for public abstract java.util.List pt.ipb.gdoc2.shared.api.TemplatesResource.getTemplates(java.lang.Integer,java.util.List,boolean,boolean,long)
RestyGWT generates a different URL that omits null parameters
http://localhost:7021/docs/api/templates?zero=false&tipo=PRINCIPAL&tipo=SECUNDARIO&hidden=false&ts=1615036682000
Do you have any advice in this case?
Beta Was this translation helpful? Give feedback.
All reactions