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

Missing default values for query parameter and textfield hint: 'add-multiple' #397

Closed
hgrueneis opened this issue Jan 27, 2021 · 1 comment

Comments

@hgrueneis
Copy link

Hi team,

just updated RapiDoc version from 8.3.0 to 8.4.3.

The default values ​​for query parameters are no longer displayed. The hint 'add-multiple' for arrays is also missing.

8.3.0
image

8.4.3
image

Here a minimum spec which causes the problem:
https://gist.github.com/hgrueneis/a422188ca107c322a2962e0f867f1ca6

@mrin9
Copy link
Collaborator

mrin9 commented Jan 27, 2021

thanks for reporting the issue, however this change is intended. we consider defaults only for documentation. this is the value that an API server will fill in if the value is not provided.

If you like to provide one or more values for a parameter then use example instead

PS: for more info checkout #359 #353
for reference checkout this example https://rapidocweb.com/examples/data-types.html#post-/person enable TRY mode on the nav-bar

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