Add swagger profile to enable swagger
This commit is contained in:
parent
a48124790d
commit
d00c52ba3e
|
@ -27,6 +27,7 @@ import java.util.List;
|
||||||
* Swagger configuration class
|
* Swagger configuration class
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
|
@Profile({"swagger"})
|
||||||
@EnableSwagger2
|
@EnableSwagger2
|
||||||
public class SwaggerConfig {
|
public class SwaggerConfig {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ registry.issuer=https://openaire-dev.aai-dev.grnet.gr/registry/
|
||||||
registry.user=user
|
registry.user=user
|
||||||
registry.password=pass
|
registry.password=pass
|
||||||
registry.version=1.0
|
registry.version=1.0
|
||||||
server.port=8090
|
|
||||||
## Redis Properties
|
## Redis Properties
|
||||||
redis.host = localhost
|
redis.host = localhost
|
||||||
redis.port = 6379
|
redis.port = 6379
|
||||||
|
|
Loading…
Reference in New Issue