File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ object ObpAPI extends Loggable {
5050
5151 final val AccountUrlPath = " /accounts/"
5252 final val ApiCollectionId = " api-collection-id"
53+ final val CONNECTOR = " connector"
5354 final val CacheModifier = " cache-modifier"
5455 final val ContentEqualStatic = " content=static"
5556 final val ContentEqualDynamic = " content=dynamic"
Original file line number Diff line number Diff line change @@ -188,6 +188,10 @@ WIP to add comments on resource docs. This code copied from Sofit.
188188
189189 logger.info(s " apiCollectionIdParam is $apiCollectionIdParam" )
190190
191+ def connectorParam = S .param(CONNECTOR )
192+
193+ logger.info(s " connectorParam is $connectorParam" )
194+
191195 val rawTagsParam = S .param(" tags" )
192196
193197 logger.info(s " rawTagsParam is $rawTagsParam" )
@@ -1857,7 +1861,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
18571861 " @api_group_name *" #> s " ${i._1.replace(" -" ," " )}" &
18581862 // Within each group, and sort by suggested_order. List the message docs
18591863 " @api_list_item" #> i._2.sortBy(_.adapter_implementation.suggested_order).map { i =>
1860- " @api_list_item_link [href]" #> s " ?locale= ${S .locale.toString}# ${i.process}" &
1864+ " @api_list_item_link [href]" #> s " ?connector= ${connectorParam.getOrElse( " " )} & locale= ${S .locale.toString}# ${i.process}" &
18611865 " @api_list_item_link *" #> s " ${i.process}" & // ${i.adapter_implementation.suggested_order}" &
18621866 " @api_list_item_link [id]" #> s " index_of_ ${i.process}"
18631867 }
You can’t perform that action at this time.
0 commit comments