Add new properties file for swagger

This commit is contained in:
Konstantinos Triantafyllou 2023-06-30 12:17:25 +03:00
parent 8ed68bccf6
commit 1b5c5b84f2
3 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<dependency>
<groupId>eu.dnetlib</groupId>
<artifactId>uoa-login-core</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
</dependency>
<!--swagger-->
<dependency>

View File

@ -10,6 +10,7 @@ import org.springframework.context.annotation.PropertySources;
@SpringBootApplication(scanBasePackages = {"eu.dnetlib.loginservice"})
@PropertySources({
@PropertySource("classpath:authentication.properties"),
@PropertySource("classpath:login-service.properties"),
@PropertySource(value = "classpath:dnet-override.properties", ignoreResourceNotFound = true)
})
@Import({AuthenticationConfiguration.class})

View File

@ -0,0 +1,4 @@
## API Documentation Properties
api.title = Login Service
api.description = Login service provides methods to authenticate users through AAI provider and retrieve information of authenticated user.
api.version = ${project.version}