improvement/Partial Functions page returns operation_ids instead of unqualified partial function

This commit is contained in:
Simon Redfern 2021-04-16 13:49:59 +02:00
parent 93d9c35a7c
commit 8df45b480b
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -1,3 +1,3 @@
<div data-lift="ApiExplorer.showPartialFunctions">
<div data-lift="ApiExplorer.showPartialFunctions">
<div id="all-partial-functions"></div>
</div>