I have a data source where my parameters are defined like the snippet below. Note that there is 1 path parameter and 3 query parameters.
"/v0/MachineTypes/{machineTypeCode}/MachineEvents": {
"get": {
"tags": [
"MachineEvents"
],
"summary": "Gets all machine events matching optional machine event code or name filters.",
"parameters": [
{
"name": "machineTypeCode",
"in": "path",
"description": "Machine type code of machine type to match.",
"required": true,
"type": "string"
},
{
"name": "machineEventCodeFilter",
"in": "query",
"description": "Optional machine event code filter. Use the % character as wildcard. Default or null matches all machine events.",
"type": "string"
},
{
"name": "machineEventNameFilter",
"in": "query",
"description": "Optional machine event name filter. Use the % character as wildcard. Default or null matches all machine events.",
"type": "string"
},
{
"name": "includeDeactivated",
"in": "query",
"description": "Set to true to include deactivated machine events in the response.",
"default": false,
"type": "boolean"
}
],
"responses": {
"200": {
"description": "Success",
},
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/MachineEventResponse"
}
}
},
"400": {
"schema": {
"$ref": "#/definitions/ValidationProblemDetails"
}
},
"500": {
"description": "Server Error",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"produces": [
"text/plain",
"application/json",
"text/json"
],
"operationId": "getV0MachineTypesMachineTypeCodeMachineEvents"
},
No matter what i do Radzen will not generate code for all parameters i have specified. Therefore the compilation fails.
When i define my data source method like this:
This code is generated. Why is only one parameter generated in code? Why are the three others ignored?