|
8696 | 8696 | "required" : [ "role_arn" ]
|
8697 | 8697 | },
|
8698 | 8698 | "ConnectorAuthRequestOAuth" : {
|
8699 |
| - "additionalProperties" : false, |
| 8699 | + "additionalProperties" : { }, |
8700 | 8700 | "description" : "OAuth connector authentication request to start the authentication process",
|
8701 | 8701 | "properties" : {
|
8702 | 8702 | "plugin_team" : {
|
8703 | 8703 | "description" : "Team that owns the plugin we are authenticating the connector for",
|
8704 |
| - "example" : "cloudquery", |
8705 |
| - "type" : "string" |
| 8704 | + "example" : "cloudquery" |
8706 | 8705 | },
|
8707 | 8706 | "plugin_kind" : {
|
8708 | 8707 | "description" : "Kind of the plugin",
|
8709 |
| - "example" : "source", |
8710 |
| - "type" : "string" |
| 8708 | + "example" : "source" |
8711 | 8709 | },
|
8712 | 8710 | "plugin_name" : {
|
8713 | 8711 | "description" : "Name of the plugin",
|
8714 |
| - "example" : "googleanalytics", |
8715 |
| - "type" : "string" |
| 8712 | + "example" : "googleanalytics" |
8716 | 8713 | },
|
8717 | 8714 | "base_url" : {
|
8718 | 8715 | "description" : "Base of the URL the callback url will be constructed from",
|
8719 | 8716 | "example" : "https://cloud.cloudquery.io/oauth",
|
8720 |
| - "type" : "string", |
8721 | 8717 | "x-go-name" : "BaseURL"
|
| 8718 | + }, |
| 8719 | + "spec" : { |
| 8720 | + "additionalProperties" : false, |
| 8721 | + "format" : "Plugin parameters, specific to each plugin", |
| 8722 | + "type" : "object" |
8722 | 8723 | }
|
8723 | 8724 | },
|
8724 | 8725 | "required" : [ "base_url", "plugin_kind", "plugin_name", "plugin_team" ]
|
|
8736 | 8737 | "required" : [ "redirect_url" ]
|
8737 | 8738 | },
|
8738 | 8739 | "ConnectorAuthFinishRequestOAuth" : {
|
8739 |
| - "additionalProperties" : false, |
| 8740 | + "additionalProperties" : { }, |
8740 | 8741 | "description" : "OAuth connector authentication request, filled in after the user has authenticated through OAuth",
|
8741 | 8742 | "properties" : {
|
8742 | 8743 | "auth_code" : {
|
8743 |
| - "description" : "Auth code received from the OAuth provider", |
8744 |
| - "type" : "string" |
| 8744 | + "description" : "Auth code received from the OAuth provider" |
8745 | 8745 | },
|
8746 | 8746 | "base_url" : {
|
8747 | 8747 | "description" : "Base of the URL the callback url was constructed from",
|
8748 | 8748 | "example" : "https://cloud.cloudquery.io/oauth",
|
8749 |
| - "type" : "string", |
8750 | 8749 | "x-go-name" : "BaseURL"
|
8751 | 8750 | },
|
8752 | 8751 | "state" : {
|
8753 |
| - "description" : "State value received from the OAuth provider", |
8754 |
| - "type" : "string" |
| 8752 | + "description" : "State value received from the OAuth provider" |
| 8753 | + }, |
| 8754 | + "spec" : { |
| 8755 | + "additionalProperties" : false, |
| 8756 | + "format" : "Plugin parameters, specific to each plugin", |
| 8757 | + "type" : "object" |
8755 | 8758 | }
|
8756 | 8759 | },
|
8757 | 8760 | "required" : [ "auth_code", "base_url" ]
|
|
0 commit comments