Skip to content
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

Define request parameters/values #411

Closed
mnicolas80 opened this issue Feb 5, 2016 · 1 comment
Closed

Define request parameters/values #411

mnicolas80 opened this issue Feb 5, 2016 · 1 comment

Comments

@mnicolas80
Copy link

Hi!

Is there any way we can define the value(s) for specific parameter(s) in sample requests?
For example, if we need to test a api and always send predefined value for a provided parameter (e.g. username="developer"), how we can achieve it?

Thank you

@rottmann
Copy link
Member

rottmann commented Feb 5, 2016

You can set default values
@apiParam [(group)] [{type}] [field=defaultValue] [description]
@apiParam {string} Name="default" Some description

But the send sample request module did not use the default value at the moment (you can modify the template for this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants