{"action":"created","issue":{"url":"https://api.github.com/repos/domaindrivendev/Ahoy/issues/178","repository_url":"https://api.github.com/repos/domaindrivendev/Ahoy","labels_url":"https://api.github.com/repos/domaindrivendev/Ahoy/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/domaindrivendev/Ahoy/issues/178/comments","events_url":"https://api.github.com/repos/domaindrivendev/Ahoy/issues/178/events","html_url":"https://github.com/domaindrivendev/Ahoy/issues/178","id":177458215,"number":178,"title":"Swagger definition not using int16 for path parameter","user":{"login":"chrisklepeis","id":16291940,"avatar_url":"https://avatars.githubusercontent.com/u/16291940?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisklepeis","html_url":"https://github.com/chrisklepeis","followers_url":"https://api.github.com/users/chrisklepeis/followers","following_url":"https://api.github.com/users/chrisklepeis/following{/other_user}","gists_url":"https://api.github.com/users/chrisklepeis/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisklepeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisklepeis/subscriptions","organizations_url":"https://api.github.com/users/chrisklepeis/orgs","repos_url":"https://api.github.com/users/chrisklepeis/repos","events_url":"https://api.github.com/users/chrisklepeis/events{/privacy}","received_events_url":"https://api.github.com/users/chrisklepeis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-16T15:46:07Z","updated_at":"2016-09-21T14:49:07Z","closed_at":"2016-09-21T14:49:07Z","body":"```\r\n        [SwaggerOperation(\"CreateJwtToken\")]\r\n        [ProducesResponseType(typeof(Token), (int)HttpStatusCode.OK)]\r\n        [HttpPost(\"api/auth/generatetoken/{username}/{password}/{businessEntityId}\")]\r\n        [AllowAnonymous]\r\n        public IActionResult Post(string username, string password, short businessEntityId)\r\n        ....\r\n```\r\n\r\nThe swagger definition has businessEntityId as a int32.... I'm not sure how to get it to define as a int16.\r\n\r\nFrom looking around, I thought maybe {businessEntityId:int16} would work, but that just throws errors.\r\n\r\nIs there anyway to accomplish this with the latest prerelease (using asp.net core)?\r\n\r\n**EDIT**\r\n\r\nAnother issue I'm seeing is that my response model properties are being marked as optional, even though I have the [Required] attribute on them."},"comment":{"url":"https://api.github.com/repos/domaindrivendev/Ahoy/issues/comments/248635569","html_url":"https://github.com/domaindrivendev/Ahoy/issues/178#issuecomment-248635569","issue_url":"https://api.github.com/repos/domaindrivendev/Ahoy/issues/178","id":248635569,"user":{"login":"chrisklepeis","id":16291940,"avatar_url":"https://avatars.githubusercontent.com/u/16291940?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisklepeis","html_url":"https://github.com/chrisklepeis","followers_url":"https://api.github.com/users/chrisklepeis/followers","following_url":"https://api.github.com/users/chrisklepeis/following{/other_user}","gists_url":"https://api.github.com/users/chrisklepeis/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisklepeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisklepeis/subscriptions","organizations_url":"https://api.github.com/users/chrisklepeis/orgs","repos_url":"https://api.github.com/users/chrisklepeis/repos","events_url":"https://api.github.com/users/chrisklepeis/events{/privacy}","received_events_url":"https://api.github.com/users/chrisklepeis/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T14:49:07Z","updated_at":"2016-09-21T14:49:07Z","body":"Closing this issue, as it appears to be a limitation of the swagger spec"}}
{"actor":{"display_login":"chrisklepeis"}}