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

Object[] in @apiBody not working #1322

Open
minidust12 opened this issue Dec 29, 2022 · 1 comment
Open

Object[] in @apiBody not working #1322

minidust12 opened this issue Dec 29, 2022 · 1 comment

Comments

@minidust12
Copy link

Feature request

Is Object[] in @apiBody working?
I cloned lastest version apidoc and make simple api which is include Object array, It's not working

  • @apiBody {Object[]} send Array of objects
  • @apiBody {Number} [send.id] ID
  • @apiBody {String} [send.message] Message

make json sample like this
{
"send": {
"id": 0,
"message": ""
}
}

I think It should like this
{
"send": [
{
"id": 0,
"message": ""
}
]
}

@minidust12 minidust12 changed the title Object[] in @apiBody working Object[] in @apiBody not working Dec 29, 2022
@melroy89
Copy link

melroy89 commented Oct 7, 2023

Still an issue until this day.. How can it be that @apiBody {Object[]} isn't support!?? This is a basic JSON API response/request.

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