L5-swagger array #516
Unanswered
matondojoao
asked this question in
Q&A
Replies: 1 comment
-
Please format your example code properly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could someone please help me convert these specs into l5-swagger compatible specs as parameters
"card": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_id": {
"type": "integer",
"format": "int32"}
"variation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"format": "nullable"
}
"price": {
"type": "string",
"format": "nullable"
}
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions