{"action":"closed","issue":{"url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/99","labels_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/99/comments","events_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/99/events","html_url":"https://github.com/glennjones/hapi-swagger/issues/99","id":56794626,"number":99,"title":"Swagger API doesn't update","user":{"login":"SzaboAdamImre","id":10845117,"avatar_url":"https://avatars.githubusercontent.com/u/10845117?v=3","gravatar_id":"","url":"https://api.github.com/users/SzaboAdamImre","html_url":"https://github.com/SzaboAdamImre","followers_url":"https://api.github.com/users/SzaboAdamImre/followers","following_url":"https://api.github.com/users/SzaboAdamImre/following{/other_user}","gists_url":"https://api.github.com/users/SzaboAdamImre/gists{/gist_id}","starred_url":"https://api.github.com/users/SzaboAdamImre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SzaboAdamImre/subscriptions","organizations_url":"https://api.github.com/users/SzaboAdamImre/orgs","repos_url":"https://api.github.com/users/SzaboAdamImre/repos","events_url":"https://api.github.com/users/SzaboAdamImre/events{/privacy}","received_events_url":"https://api.github.com/users/SzaboAdamImre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T10:21:56Z","updated_at":"2015-02-06T13:10:53Z","closed_at":"2015-02-06T13:10:53Z","body":"Hello!\r\n\r\nSomehow the API response doesn't update on itself...\r\nThe HAPI endpoint definition:\r\n```javascript\r\n    server.route({\r\n        method: 'DELETE', path: '/' + path + '/{id}',\r\n        config: {\r\n            handler: model.crud.del,\r\n            description: 'Delete, must use \\'id\\' parameter to refer to id field',\r\n            tags: ['crud', 'api', path],\r\n            response: {\r\n                schema: joi.object().keys({\r\n                    error: joi.any(),\r\n                    message: joi.string().required()\r\n                })\r\n            }\r\n        }\r\n    });\r\n```\r\n\r\nIf I generate the doc with lout, the documentation is correct:\r\n    Response Parameters\r\n            Type\r\n                object\r\n            Properties\r\n                    error\r\n                    Type\r\n                        any\r\n                    message\r\n                    Type\r\n                        string\r\n(so this is correct)\r\n\r\nBut on the swagger documentation (both JSON and HTML) the old definition is stuck...\r\nIs there any way to force the update?\r\n\r\n(The API itself works great - if I send a request there, the API returns the new message, which goes through the new validation, and wouldn't go through the old one)\r\n\r\nWhat I have tried:\r\n- multiple restarts on the server\r\n- removing node_modules, and reinstalling it\r\n\r\nThx\r\n"}}