You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jasonlewis Just a quick question for clarification.
Currently you can define resource parameters and they get added to the resource list of parameters, but they won't get added to parameter list defined on method be it route or query parameter. E.g.
# Order [/user/{user_id}/order]
foo bar baz
+ Parameters
+ client_id (integer, required) - Client's ID
## List all orders [GET /user/{user_id}/order{?limit,offset}]
foo bar baz
+ Parameters
+ limit (integer, optional) - foo
+ offset (integer, optional) - bar
But since user_id won't get added to parameters defined for the method it will be impossible to make test requests from Apiary console, because I can not add the required parameter to the request. Since I don't know any other tools, I am taking strictly about Apiary here.
If this isn't the case then please correct me, but just in case my thinking is correct I have a PR ready.
The text was updated successfully, but these errors were encountered:
@jasonlewis Just a quick question for clarification.
Currently you can define resource parameters and they get added to the resource list of parameters, but they won't get added to parameter list defined on method be it route or query parameter. E.g.
But since user_id won't get added to parameters defined for the method it will be impossible to make test requests from Apiary console, because I can not add the required parameter to the request. Since I don't know any other tools, I am taking strictly about Apiary here.
If this isn't the case then please correct me, but just in case my thinking is correct I have a PR ready.
The text was updated successfully, but these errors were encountered: