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

[api] how to define raw array in request #4320

Open
Alice52 opened this issue Aug 16, 2024 · 2 comments
Open

[api] how to define raw array in request #4320

Alice52 opened this issue Aug 16, 2024 · 2 comments

Comments

@Alice52
Copy link

Alice52 commented Aug 16, 2024

  1. how to define raw array in request

    @server(
        middleware: CheckUrl
        group:      media/gallery
        prefix:     /api/media/gallery
    )
    service admin-api {
        @handler MediaGalleryListAdd
        post /add-batch ([]AddGalleryReq ) returns ()
    }
  2. it cannot be pasred

@kesonan
Copy link
Collaborator

kesonan commented Aug 18, 2024

do not support it yet.

@kevwan
Copy link
Contributor

kevwan commented Aug 27, 2024

It's a planned feature. Should be supported this year.

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

3 participants