|
7688 | 7688 | "description": "Plugin path in CloudQuery registry",
|
7689 | 7689 | "pattern": "^cloudquery/[^/]+"
|
7690 | 7690 | },
|
7691 |
| - "SyncEnv": { |
| 7691 | + "SyncEnvCreate": { |
7692 | 7692 | "type": "object",
|
7693 | 7693 | "description": "Environment variable. Environment variables are assumed to be secret.",
|
7694 | 7694 | "required": [
|
|
7755 | 7755 | "description": "Environment variables for the plugin. All environment variables will be stored as secrets.",
|
7756 | 7756 | "type": "array",
|
7757 | 7757 | "items": {
|
7758 |
| - "$ref": "#/components/schemas/SyncEnv" |
| 7758 | + "$ref": "#/components/schemas/SyncEnvCreate" |
7759 | 7759 | }
|
7760 | 7760 | }
|
7761 | 7761 | }
|
7762 | 7762 | },
|
| 7763 | + "SyncEnv": { |
| 7764 | + "type": "object", |
| 7765 | + "description": "Environment variable. Environment variables are assumed to be secret.", |
| 7766 | + "required": [ |
| 7767 | + "name" |
| 7768 | + ], |
| 7769 | + "properties": { |
| 7770 | + "name": { |
| 7771 | + "type": "string", |
| 7772 | + "description": "Name of the environment variable" |
| 7773 | + } |
| 7774 | + } |
| 7775 | + }, |
7763 | 7776 | "SyncSource": {
|
7764 | 7777 | "allOf": [
|
7765 | 7778 | {
|
|
7790 | 7803 | "format": "date-time",
|
7791 | 7804 | "example": "2023-07-14T16:53:42Z",
|
7792 | 7805 | "description": "Time when the source was last updated"
|
| 7806 | + }, |
| 7807 | + "env": { |
| 7808 | + "description": "Environment variables for the plugin.", |
| 7809 | + "type": "array", |
| 7810 | + "items": { |
| 7811 | + "$ref": "#/components/schemas/SyncEnv" |
| 7812 | + } |
7793 | 7813 | }
|
7794 | 7814 | }
|
7795 | 7815 | }
|
|
7832 | 7852 | "description": "Environment variables for the plugin. All environment variables will be stored as secrets.",
|
7833 | 7853 | "type": "array",
|
7834 | 7854 | "items": {
|
7835 |
| - "$ref": "#/components/schemas/SyncEnv" |
| 7855 | + "$ref": "#/components/schemas/SyncEnvCreate" |
7836 | 7856 | }
|
7837 | 7857 | }
|
7838 | 7858 | }
|
|
7890 | 7910 | "description": "Environment variables for the plugin. All environment variables will be stored as secrets.",
|
7891 | 7911 | "type": "array",
|
7892 | 7912 | "items": {
|
7893 |
| - "$ref": "#/components/schemas/SyncEnv" |
| 7913 | + "$ref": "#/components/schemas/SyncEnvCreate" |
7894 | 7914 | }
|
7895 | 7915 | }
|
7896 | 7916 | }
|
|
7925 | 7945 | "format": "date-time",
|
7926 | 7946 | "example": "2023-07-14T16:53:42Z",
|
7927 | 7947 | "description": "Time when the source was last updated"
|
| 7948 | + }, |
| 7949 | + "env": { |
| 7950 | + "description": "Environment variables for the plugin.", |
| 7951 | + "type": "array", |
| 7952 | + "items": { |
| 7953 | + "$ref": "#/components/schemas/SyncEnv" |
| 7954 | + } |
7928 | 7955 | }
|
7929 | 7956 | }
|
7930 | 7957 | }
|
|
7972 | 7999 | "description": "Environment variables for the plugin. All environment variables will be stored as secrets.",
|
7973 | 8000 | "type": "array",
|
7974 | 8001 | "items": {
|
7975 |
| - "$ref": "#/components/schemas/SyncEnv" |
| 8002 | + "$ref": "#/components/schemas/SyncEnvCreate" |
7976 | 8003 | }
|
7977 | 8004 | }
|
7978 | 8005 | }
|
|
0 commit comments