forked from instill-ai/component
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update GetOperatorDefinition functions to support dynamic defin…
…ition (instill-ai#47) Because Originally, our connector definitions are fixed. However, in some scenarios, the definition will be dynamic. The component JSON schema can be influenced by connector configuration. For example, the Instill Model Connector can retrieve the model list and incorporate it into the component JSON schema as an enumeration. The OpenAPI schema can be influenced by both connector and component configuration. For example, we can let user define the JSON schema of the output body in the RestAPI connector and utilize it to generate the OpenAPI schema of the RestAPI connector. Therefore, we would like to make these connector definitions dynamically generated. This commit - update GetOperatorDefinition functions to support dynamic definition
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters