You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/09/27 10:36:00 UTC
[jira] [Resolved] (CAMEL-12828) camel-restdsl-swagger:generate -
Add option to generate dto objects
[ https://issues.apache.org/jira/browse/CAMEL-12828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-12828.
---------------------------------
Resolution: Fixed
There is now support for generating dtos, if you use the -with-dto goals of the plugin. See the plugin docs for more details.
> camel-restdsl-swagger:generate - Add option to generate dto objects
> -------------------------------------------------------------------
>
> Key: CAMEL-12828
> URL: https://issues.apache.org/jira/browse/CAMEL-12828
> Project: Camel
> Issue Type: New Feature
> Components: tooling
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 2.23.0
>
>
> We should add an option to generete DTO objects defined in the swagger json file. But we should not create our own logic that does that, but execute the existing swagger-codegen maven plugin and then have some default convention. And make this useable for 90% of the use-cases, and if people need more advanced dto generation then they can use the swagger-codegen maven plugin as-is.
> We should add some documentation on both situations and maybe a little example as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)