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/26 12:11:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16628670#comment-16628670 ] 

Claus Ibsen commented on CAMEL-12828:
-------------------------------------

Maven plugin at
https://github.com/swagger-api/swagger-codegen/tree/master/modules/swagger-codegen-maven-plugin

> 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
>            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)