From 506a924b3161a3eb61a46c84a1bf26b9c19b75f1 Mon Sep 17 00:00:00 2001 From: hongwei Date: Fri, 27 Oct 2023 12:21:20 +0200 Subject: [PATCH] refactor/remove cache-modifier --- .../ResourceDocsAPIMethods.scala | 39 +++++++------------ .../scala/code/api/v3_1_0/APIMethods310.scala | 2 +- 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/obp-api/src/main/scala/code/api/ResourceDocs1_4_0/ResourceDocsAPIMethods.scala b/obp-api/src/main/scala/code/api/ResourceDocs1_4_0/ResourceDocsAPIMethods.scala index 1743b6c29..79e800d09 100644 --- a/obp-api/src/main/scala/code/api/ResourceDocs1_4_0/ResourceDocsAPIMethods.scala +++ b/obp-api/src/main/scala/code/api/ResourceDocs1_4_0/ResourceDocsAPIMethods.scala @@ -240,7 +240,6 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth partialFunctionNames: Option[List[String]], locale: Option[String], contentParam: Option[ContentParam], - cacheModifierParam: Option[String], isVersion4OrHigher:Boolean ) : Box[JValue] = { /** @@ -274,7 +273,6 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth partialFunctionNames: Option[List[String]], locale: Option[String], contentParam: Option[ContentParam], - cacheModifierParam: Option[String], isVersion4OrHigher:Boolean ) : Box[JValue] = { /** @@ -330,7 +328,6 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth partialFunctionNames: Option[List[String]], locale: Option[String], contentParam: Option[ContentParam], - cacheModifierParam: Option[String], bankId:Option[String], isVersion4OrHigher:Boolean ): Option[JValue] = { @@ -450,8 +447,6 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth | | You can filter with api-collection-id, but api-collection-id can not be used with others together. If api-collection-id is used in URL, it will ignore all other parameters. | - | You can easily pass the cache, use different value for cache-modifier, eg: ?cache-modifier= 123 - | |See the Resource Doc endpoint for more information. | |Following are more examples: @@ -461,7 +456,6 @@ trait ResourceDocsAPIMethods extends MdcLoggable with APIMethods220 with APIMeth |${getObpApiRoot}/v4.0.0$endpointBankIdPath/resource-docs/v4.0.0/obp?locale=zh_CN |${getObpApiRoot}/v4.0.0$endpointBankIdPath/resource-docs/v4.0.0/obp?content=static,dynamic,all |${getObpApiRoot}/v4.0.0$endpointBankIdPath/resource-docs/v4.0.0/obp?api-collection-id=4e866c86-60c3-4268-a221-cb0bbf1ad221 - |${getObpApiRoot}/v4.0.0$endpointBankIdPath/resource-docs/v4.0.0/obp?cache-modifier=3141592653 | |