docs-util: fix update OAS schema (#8556)

* docs-util: fix update OAS schema

* fix to updating

* fix condition
This commit is contained in:
Shahed Nasser
2024-08-16 12:37:03 +03:00
committed by GitHub
parent adcd25650c
commit f0f83afdd9
2 changed files with 68 additions and 16 deletions

View File

@@ -518,6 +518,11 @@ class KnowledgeBaseFactory {
},
]
private oasDescriptionKnowledgeBase: KnowledgeBase[] = [
{
exact: "additional_data",
template:
"Pass additional custom data to the API route. This data is passed to the underlying workflow under the `additional_data` parameter.",
},
{
pattern: /.*/,
template(str, options) {