[ 
https://issues.apache.org/jira/browse/CAMEL-17061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-17061.
---------------------------------
    Resolution: Fixed

Thanks for the work Steve, its been merged.
I polished the readme of the example

> camel-openapi-java - Support springdoc when running on Spring Boot
> ------------------------------------------------------------------
>
>                 Key: CAMEL-17061
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17061
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-openapi-java, camel-spring-boot-starters
>            Reporter: Claus Ibsen
>            Assignee: Steve Storck
>            Priority: Major
>             Fix For: 3.13.0
>
>
> As a user of Camel and Spring Boot, I need a Spring starter library that 
> provides Springdoc integration so that I can use the Springdoc Swagger UI to 
> interact with the endpoints in my application created via the Camel REST DSL.
> More info, as discussed on the user forum:
> {quote}Yeah that is a good idea. However as springdoc is for spring boot
> only, then lets put it only into camel-spring-boot project.
> camel-springdoc-starter
> I have some prototype code I put into camel-openapi-java that can be
> moved into this new springdoc-starter and used as a starting point.
> Then you should be able to just add camel-springdoc-starter JAR as
> dependency to your project and then it comes with the UI included.
> I will put my work into a branch on camel-spring-boot upstream, then
> you are welcome to look at that and work on the
> camel-springdoc-starter.
> Documentation should be included in the
> src/main/docs/springdoc-starter.adoc file.
>  
> Btw you need to set context-path in your SB example, in the restConfiguration
>        .contextPath("/camel")
> It can also be done in yaml at
> +  # rest and servlet must have matching context-path
>   rest:
>     context-path: /camel
>     component: servlet
> And then make sure to use the default /camel/* servlet context path so
> Camel does not "interfere" with spring boot.{quote}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to