add openapi/swagger
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -55,6 +55,10 @@
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-messaging-kafka</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.quarkus</groupId>
|
||||
<artifactId>quarkus-smallrye-openapi</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Test -->
|
||||
<dependency>
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
quarkus.http.port=7080
|
||||
quarkus.http.root-path=/api/
|
||||
|
||||
quarkus.swagger-ui.always-include=true
|
||||
quarkus.smallrye-openapi.path=${quarkus.http.root-path}openapi
|
||||
quarkus.swagger-ui.path=${quarkus.http.root-path}swagger
|
||||
|
||||
%dev.kafka.bootstrap.servers=localhost:19092
|
||||
kafka.bootstrap.servers=redpanda:9092
|
||||
|
||||
|
||||
Reference in New Issue
Block a user