Add swagger profile to enable swagger

This commit is contained in:
Konstantinos Triantafyllou 2021-10-07 18:32:38 +03:00
parent a48124790d
commit d00c52ba3e
2 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,7 @@ import java.util.List;
* Swagger configuration class
*/
@Configuration
@Profile({"swagger"})
@EnableSwagger2
public class SwaggerConfig {

View File

@ -4,7 +4,6 @@ registry.issuer=https://openaire-dev.aai-dev.grnet.gr/registry/
registry.user=user
registry.password=pass
registry.version=1.0
server.port=8090
## Redis Properties
redis.host = localhost
redis.port = 6379