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

Default values from @apiParam ignored. #17

Open
folderol4 opened this issue Jun 15, 2016 · 1 comment
Open

Default values from @apiParam ignored. #17

folderol4 opened this issue Jun 15, 2016 · 1 comment

Comments

@folderol4
Copy link
Contributor

http://apidocjs.com/#param-api-param

For example:

@apiParam {Number} [age=18] Optional Age with default 18.

The default value shows up as 0 when generating swagger.json. When generating doc with api-doc, the default shows up as 18.

@BorisKotlyarov
Copy link

same

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