Coverage Summary for Class: OmdbApiProperties (concept.stc.config)
Class |
Class, %
|
Method, %
|
Line, %
|
OmdbApiProperties |
100%
(1/1)
|
100%
(1/1)
|
100%
(3/3)
|
package concept.stc.config
import org.springframework.boot.context.properties.ConfigurationProperties
/**
* Config properties for OMDB (Open Movie Database) API.
*
* @property baseUrl the api base url.
* @property apiKey the api key.
*/
@ConfigurationProperties(prefix = "omdb")
data class OmdbApiProperties(
val baseUrl: String,
val apiKey: String = "" // be sure that "secrets.properties" contains the api key
)