I have using embedded Camunda with spring boot and below are the details:
Camunda BPM: (v7.13.0)
Camunda BPM Spring Boot Starter: (v7.13.0)
How to enable OpenAPI for Camunda 7.13?
Can this be achieved just by adding the camunda-engine-rest-openapi dependency? I have tried that but does not work.
August 12, 2021, 8:38am
What exactly are you trying to enable? Are you trying to install the swaggerui?
How to get the swaggerui?
I can see that is available in camunda-bpm-run-7.15.0
I want to enable the similar one with Camunda 7.13 Spring boot application
August 12, 2021, 11:10am
SwaggerUI is itself a component you’d need to add to your spring boot project. Once you’ve added that you can give it Camunda’s OpenAPI documentation.
I haven’t done this myself, but i think
@davidgs was playing around with that.
You can also follow a tutorial: Setting Up Swagger 2 with a Spring REST API | Baeldung
I do have the exact requirement. Tried your suggestions, but the rest endpoints exposed by camunda-rest are not visible in the swagger-ui.
I can see the additional controllers which I manually defined though.
Thanks in advance !
I can’t enable swaggerui either in my springboot project. BTW I’m using:
Camunda Platform: (v7.16.0-alpha4)
Camunda Platform Spring Boot Starter: (v7.16.0-alpha4)
@Rogerio_Duarte, @mishrasovan and @Himanshu_Singh,
here is a new example how to use the Camunda OpenApi spec in your spring-boot application:
code/snippets/spring-boot-with-swagger at master · camunda-consulting/code · GitHub
Hope this helps, Ingo