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
I'm upgrading from hapi ~13 to 22. Also hapi-swagger from 6.1 to 14.5.5. In the past for routes that had query fields that were an array of strings I would test in the swagger UI were it had an html text area box to input an array in text form, ( [ 'blah', 'yeah' ] ). Now we just have a button to "Add string item". When trying to put many items in, this isn't a very pleasant experience. Is there an option or something to use to get a text area back for array fields for mass input instead of 1 button adding? I was trying to comb the documentation but couldn't find what I was looking for. Thanks!
In the below example, the first 3 query fields show as just text input boxes like normal, but the 4 lists have the "Add string item" button to get 1 text input at a time.
Environment
npx envinfo --npmPackages '*hapi*' --binaries
(paste the output of the command here)
Binaries:
Node: 14.19.3 - ~/.nvm/versions/node/v14.19.3/bin/node
npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm
npmPackages:
hapi-fake-reply: ^0.1.1 => 0.1.4
hapi-swagger: ^14.5.5 => 14.5.5
Steps to Reproduce
(describe your issue here, include example route or joi schemas)
Issue
I'm upgrading from hapi ~13 to 22. Also hapi-swagger from 6.1 to 14.5.5. In the past for routes that had query fields that were an array of strings I would test in the swagger UI were it had an html text area box to input an array in text form, ( [ 'blah', 'yeah' ] ). Now we just have a button to "Add string item". When trying to put many items in, this isn't a very pleasant experience. Is there an option or something to use to get a text area back for array fields for mass input instead of 1 button adding? I was trying to comb the documentation but couldn't find what I was looking for. Thanks!
In the below example, the first 3 query fields show as just text input boxes like normal, but the 4 lists have the "Add string item" button to get 1 text input at a time.
Environment
npx envinfo --npmPackages '*hapi*' --binaries
(paste the output of the command here)
Binaries:
Node: 14.19.3 - ~/.nvm/versions/node/v14.19.3/bin/node
npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm
npmPackages:
hapi-fake-reply: ^0.1.1 => 0.1.4
hapi-swagger: ^14.5.5 => 14.5.5
Steps to Reproduce
(describe your issue here, include example
route
or joi schemas)Expected Behavior
(write what you thought would happen)
Text area to input an array
Actual Behavior
Button to add 1 element at a time
(write what happened)
Reproducible Demo
n/a
(Paste the link to an example project and exact instructions to reproduce the issue)
The text was updated successfully, but these errors were encountered: