From 117651f0c6ce786142b9eb9fed33496982baf2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Mili=C4=87?= Date: Wed, 10 Apr 2024 14:59:43 +0200 Subject: [PATCH] docfix/Add Available FAPI profiles to the glossary item --- .../src/main/scala/code/api/util/Glossary.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/obp-api/src/main/scala/code/api/util/Glossary.scala b/obp-api/src/main/scala/code/api/util/Glossary.scala index 0f08f8bc07..323eb4584b 100644 --- a/obp-api/src/main/scala/code/api/util/Glossary.scala +++ b/obp-api/src/main/scala/code/api/util/Glossary.scala @@ -3302,6 +3302,20 @@ object Glossary extends MdcLoggable { |Please note that FAPI 2.0 is still in draft.""".stripMargin) + glossaryItems += GlossaryItem( + title = "Available FAPI profiles", + description = + s"""The following are the FAPI profiles which are either in use by multiple implementers or which are being actively developed by the OpenID Foundation’s FAPI working group: + | + |* FAPI 1 Implementers Draft 6 (OBIE Profile) + |* FAPI 1 Baseline + |* FAPI 1 Advanced + |* Brazil Security Standard + |* FAPI 2 + |* FAPI 2 Message Signing: + |""".stripMargin) + + private def getContentFromMarkdownFile(path: String): String = { val source = scala.io.Source.fromFile(path) val lines: String = try source.mkString finally source.close()