{"action":"closed","issue":{"url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/640","repository_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle","labels_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/640/comments","events_url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/issues/640/events","html_url":"https://github.com/domaindrivendev/Swashbuckle/issues/640","id":133151157,"number":640,"title":"Swagger generates string for a byte array in object, missing format \"byte\"","user":{"login":"jhancock93","id":10743961,"avatar_url":"https://avatars.githubusercontent.com/u/10743961?v=3","gravatar_id":"","url":"https://api.github.com/users/jhancock93","html_url":"https://github.com/jhancock93","followers_url":"https://api.github.com/users/jhancock93/followers","following_url":"https://api.github.com/users/jhancock93/following{/other_user}","gists_url":"https://api.github.com/users/jhancock93/gists{/gist_id}","starred_url":"https://api.github.com/users/jhancock93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhancock93/subscriptions","organizations_url":"https://api.github.com/users/jhancock93/orgs","repos_url":"https://api.github.com/users/jhancock93/repos","events_url":"https://api.github.com/users/jhancock93/events{/privacy}","received_events_url":"https://api.github.com/users/jhancock93/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/domaindrivendev/Swashbuckle/labels/ready%20for%20release","name":"ready for release","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-12T03:38:00Z","updated_at":"2016-02-24T21:03:17Z","closed_at":"2016-02-24T21:03:17Z","body":"It appears that the problem is in SchemaRegistry.CreatePrimitiveSchema. The full type name for a byte array is \"System.Byte[]\" but it is compared against \"System.Byte\" which does not match and therefore creates the wrong schema."}}