{"action":"created","issue":{"url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/199","repository_url":"https://api.github.com/repos/glennjones/hapi-swagger","labels_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/199/comments","events_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/199/events","html_url":"https://github.com/glennjones/hapi-swagger/issues/199","id":123495350,"number":199,"title":"What is \"Inline Model #\"?","user":{"login":"chaeyk","id":10623720,"avatar_url":"https://avatars.githubusercontent.com/u/10623720?v=3","gravatar_id":"","url":"https://api.github.com/users/chaeyk","html_url":"https://github.com/chaeyk","followers_url":"https://api.github.com/users/chaeyk/followers","following_url":"https://api.github.com/users/chaeyk/following{/other_user}","gists_url":"https://api.github.com/users/chaeyk/gists{/gist_id}","starred_url":"https://api.github.com/users/chaeyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaeyk/subscriptions","organizations_url":"https://api.github.com/users/chaeyk/orgs","repos_url":"https://api.github.com/users/chaeyk/repos","events_url":"https://api.github.com/users/chaeyk/events{/privacy}","received_events_url":"https://api.github.com/users/chaeyk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-12-22T14:56:28Z","updated_at":"2016-10-13T16:39:04Z","closed_at":"2016-01-08T15:52:27Z","body":"```\r\n    server.route({\r\n        method: 'POST',\r\n        path: '/auth/session',\r\n        config: {\r\n            tags: ['api'],\r\n            response: {\r\n                schema: Joi.object().label('schema').keys({\r\n                    value: Joi.object().label('value').keys({\r\n                        hello: Joi.number()\r\n                    })\r\n                })\r\n            }\r\n        },\r\n        handler: function (req, reply) {\r\n            reply(true);\r\n        }\r\n    });\r\n```\r\nthat prints response model as\r\n```\r\nschema {\r\n    value (Inline Model 1, optional)\r\n}\r\nInline Model 1 {\r\n    hello (number, optional)\r\n}\r\n```\r\nI think that 'Inline Model 1' should be replaced with 'value', and there is no way to do that."},"comment":{"url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/comments/253568179","html_url":"https://github.com/glennjones/hapi-swagger/issues/199#issuecomment-253568179","issue_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/199","id":253568179,"user":{"login":"jberger","id":735765,"avatar_url":"https://avatars.githubusercontent.com/u/735765?v=3","gravatar_id":"","url":"https://api.github.com/users/jberger","html_url":"https://github.com/jberger","followers_url":"https://api.github.com/users/jberger/followers","following_url":"https://api.github.com/users/jberger/following{/other_user}","gists_url":"https://api.github.com/users/jberger/gists{/gist_id}","starred_url":"https://api.github.com/users/jberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberger/subscriptions","organizations_url":"https://api.github.com/users/jberger/orgs","repos_url":"https://api.github.com/users/jberger/repos","events_url":"https://api.github.com/users/jberger/events{/privacy}","received_events_url":"https://api.github.com/users/jberger/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T16:39:04Z","updated_at":"2016-10-13T16:39:04Z","body":"Hi @glennjones, this is a terrible place to ask, but I see that you experienced issues with child objects in swagger-ui. I am also experiencing issues like this (not with hapi) and I was hoping you could share your patch and/or link to the issue you opened on their project? I would be very grateful!"}}
{"actor":{"display_login":"jberger"}}