[
https://issues.apache.org/jira/browse/CAMEL-11087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955504#comment-15955504
]
Zoran Regvart commented on CAMEL-11087:
---------------------------------------
Mind you, you could place this annotation on any type, but yes, a class that
contributes to CamelContext configuration would be the best place, for instance
a RouteBuilder that defines all the direct routes. I don't think that field or
method would make sense.
I'm just about to create a PR with annotation processor, there are a few dark
corners in it, and it's sprinkled with black magic, so I would appreciate
anyone joining in the review.
> Create a Annotation processor that creates REST DSL source code from Swagger
> specification
> ------------------------------------------------------------------------------------------
>
> Key: CAMEL-11087
> URL: https://issues.apache.org/jira/browse/CAMEL-11087
> Project: Camel
> Issue Type: Sub-task
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Minor
>
> With the generator implemented in CAMEL-11006 an annotation processor can be
> built that takes the Swagger specification and generates the REST DSL source
> code.
> I'm thinking of one annotation, something like:
> {code:java}
> @RestDsl(specification="petstore.json", package="com.example",
> name="MyPetstore")
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)