The C# code generator generates a ClientServiceRequest with string for "void"
method.
We should support ClientRequests without responses.
look at discovery doc and code as an example:
https://www.googleapis.com/discovery/v1/apis/drive/v2/rest
"children": {
"methods": {
"delete": {
"id": "drive.children.delete",
"path": "files/{folderId}/children/{childId}",
"httpMethod": "DELETE",
"description": "Removes a child from a folder.",
"parameters": {
"childId": {
"type": "string",
"description": "The ID of the child.",
"required": true,
"location": "path"
},
"folderId": {
"type": "string",
"description": "The ID of the folder.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"folderId",
"childId"
],
"scopes": [
"https://www.googleapis.com/auth/drive",
"https://www.googleapis.com/auth/drive.file"
]
},
We generate a DeleteRequest which inherits from
Google.Apis.Requests.ClientServiceRequest<string>,
although there is no response type.
Original issue reported on code.google.com by pele...@google.com on 1 Jul 2013 at 6:53
Original issue reported on code.google.com by
pele...@google.com
on 1 Jul 2013 at 6:53