Closed
Description
openedon Oct 24, 2023
Based on the closed issue #2291 and #219 is the c# serializer working for form data arrays?
When I try to generate a client using a schema that has application/x-www-form-urlencoded
and parameters with type set as array
, I get the following warning.
warn: Kiota.Builder.KiotaBuilder[0]
OpenAPI warning: #/paths/~1reports~1deal_time_to_close/post - The operation postReportsDealTimeToClose has a request body which is not an object type. This is not supported by Kiota and serialization will fail.
warn: Kiota.Builder.KiotaBuilder[0]
OpenAPI warning: #/paths/~1reports~1deal_time_to_close/post - The operation postReportsDealTimeToClose has a request body with a complex properties and the url form encoded content type. This is not supported by Kiota and serialization of complex properties will fail.
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"in": "formData",
"name": "filters[created_at][]",
"description": "Filter deals by created_at (accepts min/max unix timestamps i.e [1698084670, 1698105600]",
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"required": false
}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Type
Projects
Status
Done ✔️