final String[] localVarAccepts = {
"application/json""application/json"
};
"post": {
"operationId": "createMyModel",
"summary": "Create one or more MyModel objects",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MyModel"
}
}
}
}
},
"responses": {
"207": {
"description": "Success response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { "$ref": "#/components/schemas/MyModel" }
}
}
}
}
}
}
public List<MyModel> createCampaign(MyModel body) throws ApiException
public List<MyModel> createCampaign(List<MyModel> body) throws ApiException
Please file a ticket on the codegen project so the issue can be addressed.
We don’t have an ETA for the next RC, but SNAPSHOT releases constantly go out.
--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.