{"action":"created","issue":{"url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/440","labels_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/440/comments","events_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/440/events","html_url":"https://github.com/domaindrivendev/Swashbuckle/issues/440","id":97442890,"number":440,"title":"c# boolean parameter with [FromBody] attribute prevents ui from rendering","user":{"login":"AndyGJ","id":13520427,"avatar_url":"https://avatars.githubusercontent.com/u/13520427?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyGJ","html_url":"https://github.com/AndyGJ","followers_url":"https://api.github.com/users/AndyGJ/followers","following_url":"https://api.github.com/users/AndyGJ/following{/other_user}","gists_url":"https://api.github.com/users/AndyGJ/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyGJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyGJ/subscriptions","organizations_url":"https://api.github.com/users/AndyGJ/orgs","repos_url":"https://api.github.com/users/AndyGJ/repos","events_url":"https://api.github.com/users/AndyGJ/events{/privacy}","received_events_url":"https://api.github.com/users/AndyGJ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T11:32:12Z","updated_at":"2015-07-30T08:46:25Z","closed_at":"2015-07-30T08:46:25Z","body":"I have an issue with a webapi project using Swashbuckle.Core 5.2.1  installed via nuget, A method with the signature (int idRequest, [FromBody]bool authorisation) causes the docs generation to fail. A part of the usual docs page is visible, but the message \"Finished Loading Resource Information. Rendering Swagger UI...\" continues to be displayed.\r\n\r\nIf the method signature is switched to an integer (or any other primitive type) the docs page loads fine. If [FromBody] is removed, the page also generates fine. The JSON generated for this method is as follows:\r\n\r\n```json\r\n    \"\\/api\\/MyDetails\\/PendingRequests\\/{idRequest}\": {\r\n      \"post\": {\r\n        \"tags\": [\r\n          \"Member\"\r\n        ],\r\n        \"operationId\": \"Member_ApproveRequest\",\r\n        \"consumes\": [\r\n          \"application\\/json\",\r\n          \"text\\/json\",\r\n          \"application\\/xml\",\r\n          \"text\\/xml\",\r\n          \"application\\/x-www-form-urlencoded\"\r\n        ],\r\n        \"produces\": [\r\n          \"application\\/json\",\r\n          \"text\\/json\",\r\n          \"application\\/xml\",\r\n          \"text\\/xml\"\r\n        ],\r\n        \"parameters\": [\r\n          {\r\n            \"name\": \"idRequest\",\r\n            \"in\": \"path\",\r\n            \"required\": true,\r\n            \"type\": \"integer\",\r\n            \"format\": \"int32\"\r\n          },\r\n          {\r\n            \"name\": \"authorisation\",\r\n            \"in\": \"body\",\r\n            \"required\": true,\r\n            \"schema\": {\r\n              \"type\": \"boolean\"\r\n            }\r\n          }\r\n        ],\r\n        \"responses\": {\r\n          \"200\": {\r\n            \"description\": \"OK\",\r\n            \"schema\": {\r\n              \"$ref\": \"#\\/definitions\\/Object\"\r\n            }\r\n          }\r\n        },\r\n        \"deprecated\": false\r\n      }\r\n    },"},"comment":{"url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/comments/126229217","html_url":"https://github.com/domaindrivendev/Swashbuckle/issues/440#issuecomment-126229217","issue_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/440","id":126229217,"user":{"login":"AndyGJ","id":13520427,"avatar_url":"https://avatars.githubusercontent.com/u/13520427?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyGJ","html_url":"https://github.com/AndyGJ","followers_url":"https://api.github.com/users/AndyGJ/followers","following_url":"https://api.github.com/users/AndyGJ/following{/other_user}","gists_url":"https://api.github.com/users/AndyGJ/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyGJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyGJ/subscriptions","organizations_url":"https://api.github.com/users/AndyGJ/orgs","repos_url":"https://api.github.com/users/AndyGJ/repos","events_url":"https://api.github.com/users/AndyGJ/events{/privacy}","received_events_url":"https://api.github.com/users/AndyGJ/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T08:46:25Z","updated_at":"2015-07-30T08:46:25Z","body":"Yup, nailed it, good spot. \r\n\r\nI'll re-raise this on the swagger-ui project page, cheers for the pointer."}}