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

Lack of Array Support in "Try It" for Parameters #2362

Open
mnaumanali94 opened this issue May 4, 2023 · 1 comment
Open

Lack of Array Support in "Try It" for Parameters #2362

mnaumanali94 opened this issue May 4, 2023 · 1 comment
Labels

Comments

@mnaumanali94
Copy link
Contributor

Description:
Elements currently does not handle arrays in "Try It" for parameters. As a user who has arrays in parameters, I should be able to make "Try It" calls successfully. Additionally, support for different styles and explode types should be added to accommodate all cases.

Furthermore, Elements needs to generate the correct code samples for array types in parameters.

Steps to reproduce:

  1. Create an API with an endpoint that utilizes an array in the parameters.
  2. Attempt to use the "Try It" functionality with the array parameter.

Expected result:
The "Try It" feature should successfully process the array parameter and generate correct code samples for the given array types.

Actual result:
The "Try It" feature does not support arrays in parameters and does not generate correct code samples for these types.

Suggested Fix:

  1. Add support for arrays in the "Try It" feature for parameters.
  2. Implement support for different styles and explode types for arrays in parameters.
  3. Ensure correct code samples are generated for array types in parameters.
@mnaumanali94 mnaumanali94 added the t/bug Something isn't working label May 4, 2023
@JacobBrassingtonNextLevelSoftware

Is there any update on this issue. Is it being actively worked on, does anyone have any work arounds. Has it been decided it work be worked on or in the backlog to be worked on.

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

No branches or pull requests

4 participants