{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-rest-api-specs/issues/771","repository_url":"https://api.github.com/repos/Azure/azure-rest-api-specs","labels_url":"https://api.github.com/repos/Azure/azure-rest-api-specs/issues/771/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-rest-api-specs/issues/771/comments","events_url":"https://api.github.com/repos/Azure/azure-rest-api-specs/issues/771/events","html_url":"https://github.com/Azure/azure-rest-api-specs/issues/771","id":192405602,"number":771,"title":"[DataLake-Account] Semantic validation fails with Duplicate API paths","user":{"login":"veronicagg","id":17714137,"avatar_url":"https://avatars.githubusercontent.com/u/17714137?v=3","gravatar_id":"","url":"https://api.github.com/users/veronicagg","html_url":"https://github.com/veronicagg","followers_url":"https://api.github.com/users/veronicagg/followers","following_url":"https://api.github.com/users/veronicagg/following{/other_user}","gists_url":"https://api.github.com/users/veronicagg/gists{/gist_id}","starred_url":"https://api.github.com/users/veronicagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veronicagg/subscriptions","organizations_url":"https://api.github.com/users/veronicagg/orgs","repos_url":"https://api.github.com/users/veronicagg/repos","events_url":"https://api.github.com/users/veronicagg/events{/privacy}","received_events_url":"https://api.github.com/users/veronicagg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T21:32:36Z","updated_at":"2016-12-14T02:14:31Z","closed_at":"2016-12-14T02:14:31Z","body":"arm-datalake-account contains duplicate API paths as indicated below:\r\n> Validating \"examples\" and \"x-ms-examples\" in /Users/Veronica/github/openapi-validation-tools/arm-datalake-account/swagger/account.json:\r\n\t> Operation: StorageAccounts_Get\r\n\t\t> x-ms-examples\r\n\t\t\t> Scenario: CreateGetUpdateDeleteTestGET149\r\n\t\t\t\t> { code: 'INTERNAL_ERROR',\r\n  message: 'An internal error occured while validating the response with statusCode \"200\" for example \"CreateGetUpdateDeleteTestGET149\" in operation \"StorageAccounts_Get\".',\r\n  innerErrors: \r\n   [ { [Error: The Swagger document(s) are invalid]\r\n       errors: \r\n        [ { code: 'DUPLICATE_API_PATH',\r\n            message: 'API path (or equivalent) already defined: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{name}',\r\n            path: \r\n             [ 'paths',\r\n               '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{name}' ] } ],\r\n       failedValidation: true,\r\n       warnings: \r\n        [ { code: 'UNUSED_DEFINITION',\r\n            message: 'Definition is defined but is not used: #/definitions/CreateStorageAccountInfo',\r\n            path: [ 'definitions', 'CreateStorageAccountInfo' ] },\r\n          { code: 'UNUSED_DEFINITION',\r\n            message: 'Definition is defined but is not used: #/definitions/Error',\r\n            path: [ 'definitions', 'Error' ] } ],\r\n       code: 'INTERNAL_ERROR' } ] }\r\n\r\nThere's also 2 model definitions not being used."}}
{"actor":{"display_login":"veronicagg"}}