|
7924 | 7924 | }
|
7925 | 7925 | }
|
7926 | 7926 | },
|
| 7927 | + "SyncDestinationWriteMode": { |
| 7928 | + "type": "string", |
| 7929 | + "description": "Write mode for the destination", |
| 7930 | + "enum": [ |
| 7931 | + "append", |
| 7932 | + "overwrite", |
| 7933 | + "overwrite-delete-stale" |
| 7934 | + ], |
| 7935 | + "default": "overwrite-delete-stale" |
| 7936 | + }, |
| 7937 | + "SyncDestinationMigrateMode": { |
| 7938 | + "type": "string", |
| 7939 | + "description": "Migrate mode for the destination", |
| 7940 | + "enum": [ |
| 7941 | + "safe", |
| 7942 | + "forced" |
| 7943 | + ], |
| 7944 | + "default": "safe" |
| 7945 | + }, |
7927 | 7946 | "SyncDestinationCreate": {
|
7928 | 7947 | "title": "Sync Destination definition for creating a new destination",
|
7929 | 7948 | "description": "Sync Destination Definition",
|
|
7950 | 7969 | "example": "v1.2.3"
|
7951 | 7970 | },
|
7952 | 7971 | "write_mode": {
|
7953 |
| - "type": "string", |
7954 |
| - "description": "Write mode for the destination", |
7955 |
| - "enum": [ |
7956 |
| - "append", |
7957 |
| - "overwrite", |
7958 |
| - "overwrite-delete-stale" |
7959 |
| - ], |
7960 |
| - "default": "overwrite-delete-stale" |
| 7972 | + "$ref": "#/components/schemas/SyncDestinationWriteMode" |
7961 | 7973 | },
|
7962 | 7974 | "migrate_mode": {
|
7963 |
| - "type": "string", |
7964 |
| - "description": "Migrate mode for the destination", |
7965 |
| - "enum": [ |
7966 |
| - "safe", |
7967 |
| - "forced" |
7968 |
| - ], |
7969 |
| - "default": "safe" |
| 7975 | + "$ref": "#/components/schemas/SyncDestinationMigrateMode" |
7970 | 7976 | },
|
7971 | 7977 | "spec": {
|
7972 | 7978 | "type": "object",
|
|
8039 | 8045 | "example": "v1.2.3"
|
8040 | 8046 | },
|
8041 | 8047 | "write_mode": {
|
8042 |
| - "type": "string", |
8043 |
| - "description": "Write mode for the destination", |
8044 |
| - "enum": [ |
8045 |
| - "append", |
8046 |
| - "overwrite", |
8047 |
| - "overwrite-delete-stale" |
8048 |
| - ], |
8049 |
| - "default": "overwrite-delete-stale" |
| 8048 | + "$ref": "#/components/schemas/SyncDestinationWriteMode" |
8050 | 8049 | },
|
8051 | 8050 | "migrate_mode": {
|
8052 |
| - "type": "string", |
8053 |
| - "description": "Migrate mode for the destination", |
8054 |
| - "enum": [ |
8055 |
| - "safe", |
8056 |
| - "forced" |
8057 |
| - ], |
8058 |
| - "default": "safe" |
| 8051 | + "$ref": "#/components/schemas/SyncDestinationMigrateMode" |
8059 | 8052 | },
|
8060 | 8053 | "spec": {
|
8061 | 8054 | "type": "object",
|
|
8277 | 8270 | "example": "2017-07-14T16:53:42Z",
|
8278 | 8271 | "format": "date-time",
|
8279 | 8272 | "type": "string",
|
8280 |
| - "description": "Whether the sync is disabled" |
| 8273 | + "description": "Time the sync run was created" |
8281 | 8274 | },
|
8282 | 8275 | "completed_at": {
|
8283 | 8276 | "example": "2017-07-14T16:53:42Z",
|
8284 | 8277 | "format": "date-time",
|
8285 | 8278 | "type": "string",
|
8286 |
| - "description": "Cron schedule for the sync" |
| 8279 | + "description": "Time the sync run was completed" |
8287 | 8280 | },
|
8288 | 8281 | "total_rows": {
|
8289 | 8282 | "type": "integer",
|
|
0 commit comments