{"action":"created","issue":{"url":"https://api.github.com/repos/persephone-tools/persephone-web-API/issues/124","repository_url":"https://api.github.com/repos/persephone-tools/persephone-web-API","labels_url":"https://api.github.com/repos/persephone-tools/persephone-web-API/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/persephone-tools/persephone-web-API/issues/124/comments","events_url":"https://api.github.com/repos/persephone-tools/persephone-web-API/issues/124/events","html_url":"https://github.com/persephone-tools/persephone-web-API/issues/124","id":379358273,"node_id":"MDU6SXNzdWUzNzkzNTgyNzM=","number":124,"title":"GET /model output does not adhere to API spec","user":{"login":"aapeliv","id":2975660,"node_id":"MDQ6VXNlcjI5NzU2NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/2975660?v=4","gravatar_id":"","url":"https://api.github.com/users/aapeliv","html_url":"https://github.com/aapeliv","followers_url":"https://api.github.com/users/aapeliv/followers","following_url":"https://api.github.com/users/aapeliv/following{/other_user}","gists_url":"https://api.github.com/users/aapeliv/gists{/gist_id}","starred_url":"https://api.github.com/users/aapeliv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aapeliv/subscriptions","organizations_url":"https://api.github.com/users/aapeliv/orgs","repos_url":"https://api.github.com/users/aapeliv/repos","events_url":"https://api.github.com/users/aapeliv/events{/privacy}","received_events_url":"https://api.github.com/users/aapeliv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-09T23:34:15Z","updated_at":"2018-11-11T02:15:22Z","closed_at":null,"author_association":"COLLABORATOR","body":"Output:\r\n\r\n```\r\n[\r\n  {\r\n    \"beam_width\": 0,\r\n    \"corpus\": 1,\r\n    \"corpusID\": 1,\r\n    \"decoding_merge_repeated\": true,\r\n    \"early_stopping_steps\": 0,\r\n    \"filesystem_path\": \"74d05028-e476-11e8-98b6-acde48001122\",\r\n    \"hidden_size\": 0,\r\n    \"id\": 1,\r\n    \"max_epochs\": 0,\r\n    \"max_train_LER\": 0,\r\n    \"max_valid_LER\": 0,\r\n    \"min_epochs\": 0,\r\n    \"name\": \"ExampleLang model 1\",\r\n    \"num_layers\": 0\r\n  }\r\n]\r\n```\r\n\r\nExpected:\r\n\r\n```\r\n[\r\n  {\r\n    \"beamWidth\": 0,\r\n    \"corpusID\": 0,\r\n    \"decodingMergeRepeated\": true,\r\n    \"earlyStoppingSteps\": 0,\r\n    \"hiddenSize\": 0,\r\n    \"id\": 0,\r\n    \"maxTrainingLER\": 0,\r\n    \"maxValidationLER\": 0,\r\n    \"maximumEpochs\": 0,\r\n    \"minimumEpochs\": 0,\r\n    \"name\": \"ExampleLang model 1\",\r\n    \"numberLayers\": 0\r\n  }\r\n]\r\n```\r\n\r\nMainly differences in camelCase vs using_underscores, as well as abbreviations (max/maximum, train/training, num/number, etc)."},"comment":{"url":"https://api.github.com/repos/persephone-tools/persephone-web-API/issues/comments/437637702","html_url":"https://github.com/persephone-tools/persephone-web-API/issues/124#issuecomment-437637702","issue_url":"https://api.github.com/repos/persephone-tools/persephone-web-API/issues/124","id":437637702,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzYzNzcwMg==","user":{"login":"shuttle1987","id":2470165,"node_id":"MDQ6VXNlcjI0NzAxNjU=","avatar_url":"https://avatars0.githubusercontent.com/u/2470165?v=4","gravatar_id":"","url":"https://api.github.com/users/shuttle1987","html_url":"https://github.com/shuttle1987","followers_url":"https://api.github.com/users/shuttle1987/followers","following_url":"https://api.github.com/users/shuttle1987/following{/other_user}","gists_url":"https://api.github.com/users/shuttle1987/gists{/gist_id}","starred_url":"https://api.github.com/users/shuttle1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuttle1987/subscriptions","organizations_url":"https://api.github.com/users/shuttle1987/orgs","repos_url":"https://api.github.com/users/shuttle1987/repos","events_url":"https://api.github.com/users/shuttle1987/events{/privacy}","received_events_url":"https://api.github.com/users/shuttle1987/received_events","type":"User","site_admin":false},"created_at":"2018-11-11T02:15:22Z","updated_at":"2018-11-11T02:15:22Z","author_association":"MEMBER","body":"Looks like they don't make any attempt to validate response format upstream https://github.com/zalando/connexion/issues/300"}}
{"actor":{"display_login":"shuttle1987"}}