Unable to use a dot in parameter names
pmzandbergen opened this issue · 3 comments
I would like to use a dot in a parameter.
This is working:
@apiParam (Query) {String} [filter] Filter on all fields
Array notation is also working:
@apiParam (Query) {String} [filter[username]] Filter username
Using a dot is not working:
@apiParam (Query) {String} [filter[profile.name]] Filter surname on profile
I know the dot is reserved for grouping field names, however this should not be necessary at the array notation like in this example. It would be helpful to have an escape character (backslash) like:
@apiParam (Query) {String} [filter[profile\.name]] Filter surname on profile
Is this possible? Example URL for this use-case:
.../user?filter[profile.name]=John
This is needed indeed
This much needed but is dot "." still not supported?
whether I use dot in the key of an obj definition it is completely ignored but no errors/warnings
Both
-
@apiSuccess (NotificationPayload) {String} n.code code of notification.
-
@apiSuccess (NotificationPayload) {String} n.code code of notification.
Results in:
| code | String | code of notification. |
|---|
instead of
| n.code | String | code of notification. |
|---|
Am I missing something?