camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11006) Auto generate REST DSL for Camel from Swagger2.0/OAI specification
Date Mon, 13 Mar 2017 15:25:42 GMT

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

Claus Ibsen commented on CAMEL-11006:
-------------------------------------

Will the swagger spec/json file be available at runtime? 

Or should the tool generate the full api docs in the rest dsl, with description et all - like
this example
https://github.com/apache/camel/blob/master/examples/camel-example-swagger-cdi/src/main/java/org/apache/camel/example/cdi/UserRouteBuilder.java#L59

My thought would be that if we have the swagger json at runtime then the rest-dsl would not
need all that extra stuff, but just be about the verbs and context-path.



> Auto generate REST DSL for Camel from Swagger2.0/OAI specification
> ------------------------------------------------------------------
>
>                 Key: CAMEL-11006
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11006
>             Project: Camel
>          Issue Type: New Feature
>          Components: tooling
>            Reporter: Christian Posta
>
> Would be awesome if we can generate a stub server project that has all dependencies in
the pom.xml and implement the OAI spec with Camel REST DSL + swagger documentation annotations.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message