{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6985","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6985/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6985/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6985/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/6985","id":274622964,"number":6985,"title":"Match rust integer type to minimum and maximum constraints","user":{"login":"fralalonde","id":6190260,"avatar_url":"https://avatars1.githubusercontent.com/u/6190260?v=4","gravatar_id":"","url":"https://api.github.com/users/fralalonde","html_url":"https://github.com/fralalonde","followers_url":"https://api.github.com/users/fralalonde/followers","following_url":"https://api.github.com/users/fralalonde/following{/other_user}","gists_url":"https://api.github.com/users/fralalonde/gists{/gist_id}","starred_url":"https://api.github.com/users/fralalonde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fralalonde/subscriptions","organizations_url":"https://api.github.com/users/fralalonde/orgs","repos_url":"https://api.github.com/users/fralalonde/repos","events_url":"https://api.github.com/users/fralalonde/events{/privacy}","received_events_url":"https://api.github.com/users/fralalonde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-16T18:45:59Z","updated_at":"2017-11-27T08:36:31Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6985","html_url":"https://github.com/swagger-api/swagger-codegen/pull/6985","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/6985.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/6985.patch"},"body":"@frol @farcaller \r\n\r\nIn rust-server, use rust integer types best matching the `format`, `minimum` and `maximum` schema constraints.\r\n\r\nMatching rules cover all rust standard int size, from 8 to 64bits, signed and unsigned, including `size` types.\r\n\r\n- `minimum` is used to determine if the int type should be signed. Default is signed.\r\n- `maximum` is used to determine the int size. Default is `isize` or `usize`.\r\n- Standard `formats` `int32` and `int64` can be used to force int size.\r\n- Existing custom formats `uint32` and `uint64` have been preserved, even though they are superseded by new code.\r\n- `minimum` and `maximum` constraints also respects their `exclusive` flags if specified."},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/347112047","html_url":"https://github.com/swagger-api/swagger-codegen/pull/6985#issuecomment-347112047","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6985","id":347112047,"user":{"login":"wing328","id":934260,"avatar_url":"https://avatars2.githubusercontent.com/u/934260?v=4","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T08:36:31Z","updated_at":"2017-11-27T08:36:31Z","author_association":"MEMBER","body":"Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/swagger-api/swagger-codegen/graphs/contributors.\r\n\r\nLet me know if you need help fixing it.\r\n\r\nRef: https://github.com/swagger-api/swagger-codegen/wiki/FAQ#how-can-i-update-commits-that-are-not-linked-to-my-github-account"}}
{"actor":{"display_login":"wing328"}}