{ "id": "92127", "key": "TIMOB-9185", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13403", "description": "Sprint 2012-11 Core", "name": "Sprint 2012-11 Core", "archived": true, "released": true, "releaseDate": "2012-06-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-03T01:44:15.000+0000", "created": "2012-05-21T18:05:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-06-06T14:49:38.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "Currently, if we explicitly specify a return type of void, validate.py throws warnings:\r\n\r\n{code}\r\nreturns:\r\n type: void\r\n{code}\r\n\r\nThis works in docgen because it just formats the unrecognized return type, but it does throw a warning in validate.\r\n\r\nFor some methods, we need to specify void as one of several return types, like:\r\n\r\n{code}\r\nreturns:\r\n - type: void\r\n - type: Titanium.Blob\r\n{code}\r\n\r\nSo we should really support it as a type value.\r\n", "attachment": [], "flagged": false, "summary": "Tooling: support void return types", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "196274", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Testing Notes\r\n\r\n* Open apidoc/Titanium/Titanium.yml in an editor.\r\n* Find the documentation for the {{include}} method (it's the first method in the {{methods:}} section and should be on about line 58.)\r\n* Add a {{returns}} statement for it thusly:\r\n\r\n{code}\r\n returns: {type: void}\r\n{code}\r\n\r\n... and save the file. (Note that you're just doing this for a test. We're not really going to change the documentation of the {{include}} method.)\r\n* Run {{python validate.py}}. You should get a validation error if you're testing the master branch, and no error if you are testing my pull request.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-05-29T05:26:39.000+0000", "updated": "2012-05-30T10:20:28.000+0000" }, { "id": "197576", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing feature. Did not encounter any errors after following Bill's testing notes. Tested against master branch:\r\n\r\nversion=2.1.0\r\nmodule_apiversion=2\r\ntimestamp=06/06/12 14:33\r\ngithash=13b9cc7\r\n\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-06T14:49:28.000+0000", "updated": "2012-06-06T14:49:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }