chore: keep swagger on api apps only
This commit is contained in:
@@ -45,10 +45,6 @@
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
||||
@@ -21,12 +21,6 @@ spring:
|
||||
server:
|
||||
port: ${HTTP_PORT:20500}
|
||||
|
||||
springdoc:
|
||||
swagger-ui:
|
||||
path: /swagger-ui.html
|
||||
api-docs:
|
||||
path: /v3/api-docs
|
||||
|
||||
lingniu:
|
||||
ingest:
|
||||
mqtt:
|
||||
|
||||
@@ -49,6 +49,7 @@ class YutongMqttAppDefaultsTest {
|
||||
.doesNotContain("event-file-store:")
|
||||
.doesNotContain("vehicle-state:")
|
||||
.doesNotContain("vehicle-stat:")
|
||||
.doesNotContain("springdoc:")
|
||||
.doesNotContain("VEHICLE_IDENTITY_STORE")
|
||||
.doesNotContain("KAFKA_ENABLED");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user