Swagger: little config cleanup (#1617)
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -41,13 +41,10 @@ spring.rabbitmq.port=5672
|
|||||||
#hawkbit.server.security.cors.allowedOrigins=http://localhost
|
#hawkbit.server.security.cors.allowedOrigins=http://localhost
|
||||||
|
|
||||||
# Swagger Configuration
|
# Swagger Configuration
|
||||||
#springdoc.swagger-ui.path=/update-server-documentation
|
|
||||||
#springdoc.api-docs.path=/update-server-api-docs
|
|
||||||
springdoc.show-oauth2-endpoints=true
|
|
||||||
springdoc.api-docs.version=openapi_3_0
|
springdoc.api-docs.version=openapi_3_0
|
||||||
|
springdoc.show-oauth2-endpoints=true
|
||||||
springdoc.show-login-endpoint=true
|
springdoc.show-login-endpoint=true
|
||||||
springdoc.packages-to-scan=org.eclipse.hawkbit.ddi
|
springdoc.packages-to-scan=org.eclipse.hawkbit.ddi
|
||||||
springdoc.swagger-ui.oauth2RedirectUrl=/login/oauth2/code/suite
|
|
||||||
springdoc.paths-to-exclude=/system/**
|
springdoc.paths-to-exclude=/system/**
|
||||||
|
|
||||||
# Flyway disabled - US only
|
# Flyway disabled - US only
|
||||||
|
|||||||
@@ -49,13 +49,10 @@ hawkbit.server.swagger.mgmt.api.group.enabled=true
|
|||||||
hawkbit.server.swagger.ddi.api.group.enabled=false
|
hawkbit.server.swagger.ddi.api.group.enabled=false
|
||||||
|
|
||||||
# Swagger Configuration
|
# Swagger Configuration
|
||||||
#springdoc.swagger-ui.path=/update-server-documentation
|
|
||||||
#springdoc.api-docs.path=/update-server-api-docs
|
|
||||||
springdoc.show-oauth2-endpoints=true
|
|
||||||
springdoc.api-docs.version=openapi_3_0
|
springdoc.api-docs.version=openapi_3_0
|
||||||
|
springdoc.show-oauth2-endpoints=true
|
||||||
springdoc.show-login-endpoint=true
|
springdoc.show-login-endpoint=true
|
||||||
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt
|
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt
|
||||||
springdoc.swagger-ui.oauth2RedirectUrl=/login/oauth2/code/suite
|
|
||||||
springdoc.paths-to-exclude=/system/**
|
springdoc.paths-to-exclude=/system/**
|
||||||
|
|
||||||
# Disable discovery client of spring-cloud-commons
|
# Disable discovery client of spring-cloud-commons
|
||||||
|
|||||||
@@ -47,11 +47,8 @@ spring.rabbitmq.port=5672
|
|||||||
#hawkbit.server.security.cors.allowedOrigins=http://localhost
|
#hawkbit.server.security.cors.allowedOrigins=http://localhost
|
||||||
|
|
||||||
# Swagger Configuration
|
# Swagger Configuration
|
||||||
#springdoc.swagger-ui.path=/update-server-documentation
|
|
||||||
#springdoc.api-docs.path=/update-server-api-docs
|
|
||||||
springdoc.show-oauth2-endpoints=true
|
|
||||||
springdoc.api-docs.version=openapi_3_0
|
springdoc.api-docs.version=openapi_3_0
|
||||||
|
springdoc.show-oauth2-endpoints=true
|
||||||
springdoc.show-login-endpoint=true
|
springdoc.show-login-endpoint=true
|
||||||
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt,org.eclipse.hawkbit.ddi
|
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt,org.eclipse.hawkbit.ddi
|
||||||
springdoc.swagger-ui.oauth2RedirectUrl=/login/oauth2/code/suite
|
|
||||||
springdoc.paths-to-exclude=/system/**
|
springdoc.paths-to-exclude=/system/**
|
||||||
@@ -30,12 +30,8 @@ hawkbit.server.repository.publish-target-poll-event=false
|
|||||||
hawkbit.dmf.rabbitmq.enabled=false
|
hawkbit.dmf.rabbitmq.enabled=false
|
||||||
|
|
||||||
# Swagger Configuration
|
# Swagger Configuration
|
||||||
|
|
||||||
#springdoc.swagger-ui.path=/update-server-documentation
|
|
||||||
#springdoc.api-docs.path=/update-server-api-docs
|
|
||||||
springdoc.show-oauth2-endpoints=true
|
|
||||||
springdoc.api-docs.version=openapi_3_0
|
springdoc.api-docs.version=openapi_3_0
|
||||||
|
springdoc.show-oauth2-endpoints=true
|
||||||
springdoc.show-login-endpoint=true
|
springdoc.show-login-endpoint=true
|
||||||
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt,org.eclipse.hawkbit.ddi
|
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt,org.eclipse.hawkbit.ddi
|
||||||
springdoc.swagger-ui.oauth2RedirectUrl=/login/oauth2/code/suite
|
|
||||||
springdoc.paths-to-exclude=/system/**
|
springdoc.paths-to-exclude=/system/**
|
||||||
Reference in New Issue
Block a user