{"action":"created","issue":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/955","repository_url":"https://api.github.com/repos/OpenAPITools/openapi-generator","labels_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/955/labels{/name}","comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/955/comments","events_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/955/events","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/955","id":356290242,"node_id":"MDU6SXNzdWUzNTYyOTAyNDI=","number":955,"title":"MySQL Schema Generator","user":{"login":"wing328","id":934260,"node_id":"MDQ6VXNlcjkzNDI2MA==","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},"labels":[{"id":931403207,"node_id":"MDU6TGFiZWw5MzE0MDMyMDc=","url":"https://api.github.com/repos/OpenAPITools/openapi-generator/labels/Enhancement:%20New%20generator","name":"Enhancement: New generator","color":"e5ffe5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-02T15:14:46Z","updated_at":"2018-09-10T06:39:47Z","closed_at":null,"author_association":"MEMBER","body":"##### Description\r\n\r\nAs discussed with @ybelenko we want to create a MySQL schema generator so as to create the MySQL database/tables more easily given an OpenAPI spec.\r\n\r\n##### openapi-generator version\r\n\r\nLatest master\r\n\r\n##### Suggest a fix/enhancement\r\n\r\nIf anyone wants to help on this, please reply to let us know.\r\n"},"comment":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/comments/419804728","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/955#issuecomment-419804728","issue_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/955","id":419804728,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTgwNDcyOA==","user":{"login":"ybelenko","id":5541023,"node_id":"MDQ6VXNlcjU1NDEwMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/5541023?v=4","gravatar_id":"","url":"https://api.github.com/users/ybelenko","html_url":"https://github.com/ybelenko","followers_url":"https://api.github.com/users/ybelenko/followers","following_url":"https://api.github.com/users/ybelenko/following{/other_user}","gists_url":"https://api.github.com/users/ybelenko/gists{/gist_id}","starred_url":"https://api.github.com/users/ybelenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybelenko/subscriptions","organizations_url":"https://api.github.com/users/ybelenko/orgs","repos_url":"https://api.github.com/users/ybelenko/repos","events_url":"https://api.github.com/users/ybelenko/events{/privacy}","received_events_url":"https://api.github.com/users/ybelenko/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T06:39:47Z","updated_at":"2018-09-10T06:39:47Z","author_association":"CONTRIBUTOR","body":"@jimschubert \r\nThanks, for descriptive answer. It will save my time a lot. \r\n\r\nMaybe you right that `TEXT` is better when `maxLength` isn't specified. What you think about `array` and `object` types? I ignore these properties right now, because to me `array` equals additional table `one to many` relationship and `object` is also means foreign key to record from another table.\r\n\r\nSure, I want to add cli options in future versions. Right now I want to provide prestable version without any config.\r\n\r\nOfftopic, @jimschubert what relational database you use instead of MySQL now? I've never had troubles with floats and doubles, however I haven't used decimal columns too much(for geo coordinates and money storage only). I've encountered some issues with foreign keys, varchar storage limit per table, some time it's frustrating that InnoDB doesn't support full text search and you need to create additional MyISAM table to store big articles text."}}
{"actor":{"display_login":"ybelenko"}}