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/24 10:38:00 UTC

[jira] [Created] (CAMEL-12828) camel-restdsl-swagger:generate - Add option to generate dto objects

Claus Ibsen created CAMEL-12828:
-----------------------------------

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