mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 18:56:49 +00:00
improvement/Partial Functions page returns operation_ids instead of unqualified partial function
This commit is contained in:
parent
93d9c35a7c
commit
8df45b480b
@ -422,7 +422,7 @@ WIP to add comments on resource docs. This code copied from Sofit.
|
||||
rs <- getResourceDocsJson(apiVersion)
|
||||
} yield rs
|
||||
// The list generated here might be used by an administrator as a white or black list of API calls for the API itself.
|
||||
val commaSeparatedListOfResources = allResources.map(_.implemented_by.function).mkString("[", ", ", "]")
|
||||
val commaSeparatedListOfResources = allResources.map(_.operation_id).mkString("[", ", ", "]")
|
||||
|
||||
"#all-partial-functions" #> commaSeparatedListOfResources
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
<div data-lift="ApiExplorer.showPartialFunctions">
|
||||
<div data-lift="ApiExplorer.showPartialFunctions">
|
||||
<div id="all-partial-functions"></div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user