Add new properties file for swagger
This commit is contained in:
parent
8ed68bccf6
commit
1b5c5b84f2
2
pom.xml
2
pom.xml
|
@ -19,7 +19,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>eu.dnetlib</groupId>
|
<groupId>eu.dnetlib</groupId>
|
||||||
<artifactId>uoa-login-core</artifactId>
|
<artifactId>uoa-login-core</artifactId>
|
||||||
<version>2.0.0</version>
|
<version>2.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!--swagger-->
|
<!--swagger-->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -10,6 +10,7 @@ import org.springframework.context.annotation.PropertySources;
|
||||||
@SpringBootApplication(scanBasePackages = {"eu.dnetlib.loginservice"})
|
@SpringBootApplication(scanBasePackages = {"eu.dnetlib.loginservice"})
|
||||||
@PropertySources({
|
@PropertySources({
|
||||||
@PropertySource("classpath:authentication.properties"),
|
@PropertySource("classpath:authentication.properties"),
|
||||||
|
@PropertySource("classpath:login-service.properties"),
|
||||||
@PropertySource(value = "classpath:dnet-override.properties", ignoreResourceNotFound = true)
|
@PropertySource(value = "classpath:dnet-override.properties", ignoreResourceNotFound = true)
|
||||||
})
|
})
|
||||||
@Import({AuthenticationConfiguration.class})
|
@Import({AuthenticationConfiguration.class})
|
||||||
|
|
|
@ -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}
|
Loading…
Reference in New Issue