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 2015/07/01 11:02:04 UTC

[jira] [Commented] (CAMEL-8915) rest-dsl - Add support for adding swagger docs to model classes

    [ https://issues.apache.org/jira/browse/CAMEL-8915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609786#comment-14609786 ] 

Claus Ibsen commented on CAMEL-8915:
------------------------------------

You can use the swagger annotations

> rest-dsl - Add support for adding swagger docs to model classes
> ---------------------------------------------------------------
>
>                 Key: CAMEL-8915
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8915
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-swagger
>            Reporter: Claus Ibsen
>             Fix For: 2.16.0
>
>
> See CAMEL-7936
> In the servlet-rest-tomcat example we should be able to document the User model class from the rest-dsl.
> Also maybe we should have a set of annotations that people can add to their model classes so they are done that automatic. But in the rest-dsl we should allow to do it as well.
> The goal would be for the example to have documentation about the id, name fields on the user etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)