Add API Documentation properties. Remove swagger profile
parent
16ff047f4a
commit
6d79bf210f
@ -0,0 +1,38 @@
|
||||
package eu.dnetlib.dnetrolemanagement.config.properties;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
@ConfigurationProperties("api")
|
||||
public class APIProperties {
|
||||
|
||||
private String title;
|
||||
private String description;
|
||||
private String version;
|
||||
|
||||
public APIProperties() {
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(String version) {
|
||||
this.version = version;
|
||||
}
|
||||
}
|
@ -1,10 +1,15 @@
|
||||
## Registry Properties
|
||||
registry.coid=2
|
||||
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
|
||||
redis.password =
|
||||
webbapp.front.domain=.di.uoa.gr
|
||||
## API Documentation Properties
|
||||
api.title = DNET Role Management Documentation
|
||||
api.description = DNET Role Management is a service which is communicating with AAI Registry service and provides methods to retrieve users information, assign roles to users or revoke roles from them.
|
||||
api.version = ${project.version}
|
Loading…
Reference in New Issue