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

Is there a way to name [] in parameters? #234

Closed
lion-man44 opened this issue May 14, 2024 · 1 comment
Closed

Is there a way to name [] in parameters? #234

lion-man44 opened this issue May 14, 2024 · 1 comment

Comments

@lion-man44
Copy link

This is a question.
Is there "proper" way to output this format?

      parameters:
      - name: 'user_ids[]' << this one
        in: query
        required: false
        schema:
          type: array
          items:
            type: string

Our front generate type.d.ts using this openapi file, and rails way is allowed by this user_ids[]=1&user_ids[]=2

@lion-man44
Copy link
Author

Sorry, I didn't read PRs.
It was on there #233
I'm gonna close this issue.

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

1 participant