{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4003","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4003/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4003/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4003/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/4003","id":183087824,"number":4003,"title":"Java BeanValidation + JAXRS CXF server generator","user":{"login":"jfiala","id":4069646,"avatar_url":"https://avatars.githubusercontent.com/u/4069646?v=3","gravatar_id":"","url":"https://api.github.com/users/jfiala","html_url":"https://github.com/jfiala","followers_url":"https://api.github.com/users/jfiala/followers","following_url":"https://api.github.com/users/jfiala/following{/other_user}","gists_url":"https://api.github.com/users/jfiala/gists{/gist_id}","starred_url":"https://api.github.com/users/jfiala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfiala/subscriptions","organizations_url":"https://api.github.com/users/jfiala/orgs","repos_url":"https://api.github.com/users/jfiala/repos","events_url":"https://api.github.com/users/jfiala/events{/privacy}","received_events_url":"https://api.github.com/users/jfiala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20Java","name":"Client: Java","color":"fad8c7"},{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Enhancement:%20Feature","name":"Enhancement: Feature","color":"e5ffe5"},{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Server:%20Java","name":"Server: Java","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.2","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13/labels","id":1928763,"number":13,"title":"v2.2.2","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","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},"open_issues":265,"closed_issues":328,"state":"open","created_at":"2016-08-08T09:16:56Z","updated_at":"2016-10-22T15:01:32Z","due_on":null,"closed_at":null},"comments":26,"created_at":"2016-10-14T16:01:27Z","updated_at":"2016-10-24T13:07:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4003","html_url":"https://github.com/swagger-api/swagger-codegen/pull/4003","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/4003.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/4003.patch"},"body":"### Overview\r\n* added interfaces to model language feature support (io.swagger.codegen.languages.features)\r\n* add beanvalidation annotation support\r\n* add new language for CXF client (jaxrs-cxf, server moved to jaxrs-cxf-server)\r\n\r\n### Language Java\r\n\r\n* add beanvalidation annotation support to language java #2549 \r\n\r\n### Language jaxrs-cxf-server (renamed from jaxrs-cxf)\r\n* add beanvalidation annotation support  to language jaxrs-cxf #2615 (using centralized beanValidation.mustache file)\r\n\r\n* add spring server generator to jaxrs-cxf (see also #2017 )\r\n* spring server: support CXF features using CLI-switches:\r\n   * SwaggerFeature\r\n   * WadlGenerator\r\n   * Multipart\r\n   * Gzip\r\n   * Logging\r\n   * automatic BeanValidation (JEE 7+ - BeanValidation 1.1)\r\n* support CXF features for Unittests using CLI switches:\r\n   * Gzip\r\n   * Logging\r\n   * automatic BeanValidation (BeanValidation 1.1)\r\n\r\n* support Spring Boot embedded server\r\n* support Spring Boot integration tests\r\n\r\n### Language jaxrs-cxf (new)\r\n* implement new language and reuse cxf templates (see #2017)\r\n* generate complete client including pom.xml\r\n* support CXF features for Unittests using CLI switches (see above)\r\n\r\nfor more details also see former PR #3281\r\n\r\n## ideas for further issues\r\n\r\n### CXF minor improvements\r\n* improve CXF QueryParam BeanValidation formatting (currently reused from beanValidation.mustache, but will add a newline after each beanvalidation annotation).\r\n* add separate flags for controlling junit test gzip/logging/... support (is currently generated automatically for server + junit-tests if switched on)* add option to generate Jboss files (jboss-web.xml etc.)\r\n* add a JbossFeature and flag to only generate jboss-specific files if requested\r\n* add flag for switching JAXB annotations on/off\r\n\r\n### Other languages\r\n* add BeanValidation annotation support to all Java languages\r\n* add JbossFeature to other languages generating jboss-web.xml\r\n* check JAXRS/CXF languages for consolidation of mustache templates\r\n* it would be great to have automatic contract tests for the different CLI options, pls let me know if I should supply ones (I'd prefer to have automatic unit tests for this, so the mvn build will fail if anything is changing).\r\n\r\n### Further CXF improvements\r\n* maybe add further CXF configuration scenarios (blueprint)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/255735159","html_url":"https://github.com/swagger-api/swagger-codegen/pull/4003#issuecomment-255735159","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4003","id":255735159,"user":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","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":"2016-10-24T13:07:52Z","updated_at":"2016-10-24T13:07:52Z","body":"> To assemble the implementation class correctly (without compile-errors) I need a flag to check if the returnType is void or not to generate correctly.\r\n\r\nI'll look into that after this PR is merged into master and add the flag if needed."}}
{"actor":{"display_login":"wing328"}}