mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 15:27:01 +00:00
feature/Tweak json response field names
This commit is contained in:
parent
7b15680076
commit
579ea79738
@ -4157,8 +4157,8 @@ object SwaggerDefinitionsJSON {
|
||||
val oAuth2ServerJwksUrisJson = OAuth2ServerJwksUrisJson(List(oAuth2ServerJWKURIJson))
|
||||
|
||||
val certificateInfoJsonV510 = CertificateInfoJsonV510(
|
||||
subject_dn = "OID.2.5.4.41=VPN, EMAILADDRESS=admin@tesobe.com, CN=TESOBE CA, OU=TESOBE Operations, O=TESOBE, L=Berlin, ST=Berlin, C=DE",
|
||||
issuer_dn = "CN=localhost, O=TESOBE GmbH, ST=Berlin, C=DE",
|
||||
subject_domain_name = "OID.2.5.4.41=VPN, EMAILADDRESS=admin@tesobe.com, CN=TESOBE CA, OU=TESOBE Operations, O=TESOBE, L=Berlin, ST=Berlin, C=DE",
|
||||
issuer_domain_name = "CN=localhost, O=TESOBE GmbH, ST=Berlin, C=DE",
|
||||
not_before = "2022-04-01T10:13:00.000Z",
|
||||
not_after = "2032-04-01T10:13:00.000Z",
|
||||
roles = None,
|
||||
|
||||
@ -229,8 +229,8 @@ object X509 extends MdcLoggable {
|
||||
rolesInfo = Some("PEM Encoded Certificate does not contain PSD2 roles.")
|
||||
}
|
||||
val result = CertificateInfoJsonV510(
|
||||
subject_dn = subjectDN,
|
||||
issuer_dn = issuerDN,
|
||||
subject_domain_name = subjectDN,
|
||||
issuer_domain_name = issuerDN,
|
||||
not_before = APIUtil.formatDate(notBefore),
|
||||
not_after = APIUtil.formatDate(notAfter),
|
||||
roles = roles,
|
||||
|
||||
@ -48,8 +48,8 @@ case class APIInfoJsonV510(
|
||||
)
|
||||
|
||||
case class CertificateInfoJsonV510(
|
||||
subject_dn: String,
|
||||
issuer_dn: String,
|
||||
subject_domain_name: String,
|
||||
issuer_domain_name: String,
|
||||
not_before: String,
|
||||
not_after: String,
|
||||
roles: Option[List[String]],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user