Skip to content

Commit cf59c6c

Browse files
wangbwnBoWangzi1
authored andcommitted
Fix synapse swagger bug. (#27197)
Co-authored-by: Bo Wang <v-bw@microsoft.com>
1 parent 6c2875e commit cf59c6c

File tree

3 files changed

+2
-33
lines changed

3 files changed

+2
-33
lines changed

specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Dataset.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3483,12 +3483,10 @@
34833483
"properties": {
34843484
"objectApiName": {
34853485
"type": "object",
3486-
"x-ms-format": "dfe-string",
34873486
"description": "The Salesforce V2 object API name. Type: string (or Expression with resultType string)."
34883487
},
34893488
"reportId": {
34903489
"type": "object",
3491-
"x-ms-format": "dfe-string",
34923490
"description": "The Salesforce V2 report Id. Type: string (or Expression with resultType string)."
34933491
}
34943492
}
@@ -3516,12 +3514,10 @@
35163514
"properties": {
35173515
"objectApiName": {
35183516
"type": "object",
3519-
"x-ms-format": "dfe-string",
35203517
"description": "The Salesforce Service Cloud V2 object API name. Type: string (or Expression with resultType string)."
35213518
},
35223519
"reportId": {
35233520
"type": "object",
3524-
"x-ms-format": "dfe-string",
35253521
"description": "The Salesforce Service Cloud V2 reportId. Type: string (or Expression with resultType string)."
35263522
}
35273523
}

specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,6 @@
13121312
"properties": {
13131313
"driverVersion": {
13141314
"type": "object",
1315-
"x-ms-format": "dfe-string",
13161315
"description": "The version of the MySQL driver. Type: string. V1 or empty for legacy driver, V2 for new driver. V1 can support connection string and property bag, V2 can only support connection string."
13171316
},
13181317
"connectionString": {
@@ -1321,32 +1320,26 @@
13211320
},
13221321
"server": {
13231322
"type": "object",
1324-
"x-ms-format": "dfe-string",
13251323
"description": "Server name for connection. Type: string."
13261324
},
13271325
"port": {
13281326
"type": "object",
1329-
"x-ms-format": "dfe-int",
13301327
"description": "The port for the connection. Type: integer."
13311328
},
13321329
"username": {
13331330
"type": "object",
1334-
"x-ms-format": "dfe-string",
13351331
"description": "Username for authentication. Type: string."
13361332
},
13371333
"database": {
13381334
"type": "object",
1339-
"x-ms-format": "dfe-string",
13401335
"description": "Database name for connection. Type: string."
13411336
},
13421337
"sslMode": {
13431338
"type": "object",
1344-
"x-ms-format": "dfe-int",
13451339
"description": "SSL mode for connection. Type: integer. 0: disable, 1: prefer, 2: require, 3: verify-ca, 4: verify-full."
13461340
},
13471341
"useSystemTrustStore": {
13481342
"type": "object",
1349-
"x-ms-format": "dfe-int",
13501343
"description": "Use system trust store for connection. Type: integer. 0: enable, 1: disable."
13511344
},
13521345
"password": {
@@ -4880,7 +4873,6 @@
48804873
"properties": {
48814874
"driverVersion": {
48824875
"type": "object",
4883-
"x-ms-format": "dfe-string",
48844876
"description": "The version of the MariaDB driver. Type: string. V1 or empty for legacy driver, V2 for new driver. V1 can support connection string and property bag, V2 can only support connection string."
48854877
},
48864878
"connectionString": {
@@ -4889,22 +4881,18 @@
48894881
},
48904882
"server": {
48914883
"type": "object",
4892-
"x-ms-format": "dfe-string",
48934884
"description": "Server name for connection. Type: string."
48944885
},
48954886
"port": {
48964887
"type": "object",
4897-
"x-ms-format": "dfe-int",
48984888
"description": "The port for the connection. Type: integer."
48994889
},
49004890
"username": {
49014891
"type": "object",
4902-
"x-ms-format": "dfe-string",
49034892
"description": "Username for authentication. Type: string."
49044893
},
49054894
"database": {
49064895
"type": "object",
4907-
"x-ms-format": "dfe-string",
49084896
"description": "Database name for connection. Type: string."
49094897
},
49104898
"password": {
@@ -7059,12 +7047,10 @@
70597047
"properties": {
70607048
"environmentUrl": {
70617049
"type": "object",
7062-
"x-ms-format": "dfe-string",
70637050
"description": "The URL of Salesforce instance. For example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string)."
70647051
},
70657052
"clientId": {
70667053
"type": "object",
7067-
"x-ms-format": "dfe-string",
70687054
"description": "The client Id for OAuth 2.0 Client Credentials Flow authentication of the Salesforce instance. Type: string (or Expression with resultType string)."
70697055
},
70707056
"clientSecret": {
@@ -7073,7 +7059,6 @@
70737059
},
70747060
"apiVersion": {
70757061
"type": "object",
7076-
"x-ms-format": "dfe-string",
70777062
"description": "The Salesforce API version used in ADF. The version must be larger than or equal to 47.0 which is required by Salesforce BULK API 2.0. Type: string (or Expression with resultType string)."
70787063
},
70797064
"encryptedCredential": {
@@ -7108,12 +7093,10 @@
71087093
"properties": {
71097094
"environmentUrl": {
71107095
"type": "object",
7111-
"x-ms-format": "dfe-string",
71127096
"description": "The URL of Salesforce Service Cloud instance. For example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string)."
71137097
},
71147098
"clientId": {
71157099
"type": "object",
7116-
"x-ms-format": "dfe-string",
71177100
"description": "The client Id for OAuth 2.0 Client Credentials Flow authentication of the Salesforce instance. Type: string (or Expression with resultType string)."
71187101
},
71197102
"clientSecret": {
@@ -7122,7 +7105,6 @@
71227105
},
71237106
"apiVersion": {
71247107
"type": "object",
7125-
"x-ms-format": "dfe-string",
71267108
"description": "The Salesforce API version used in ADF. The version must be larger than or equal to 47.0 which is required by Salesforce BULK API 2.0. Type: string (or Expression with resultType string)."
71277109
},
71287110
"encryptedCredential": {

specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/Pipeline.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7658,7 +7658,6 @@
76587658
"type": "object",
76597659
"additionalProperties": {
76607660
"type": "object",
7661-
"x-ms-format": "dfe-string",
76627661
"description": "Type: string (or Expression with resultType string)."
76637662
}
76647663
}
@@ -7871,13 +7870,11 @@
78717870
"properties": {
78727871
"SOQLQuery": {
78737872
"type": "object",
7874-
"x-ms-format": "dfe-string",
78757873
"description": "Database query. Type: string (or Expression with resultType string)."
78767874
},
78777875
"readBehavior": {
78787876
"description": "The read behavior for the operation. Default is query. Allowed values: query/queryAll. Type: string (or Expression with resultType string).",
7879-
"type": "object",
7880-
"x-ms-format": "dfe-string"
7877+
"type": "object"
78817878
}
78827879
}
78837880
},
@@ -7892,13 +7889,11 @@
78927889
"properties": {
78937890
"SOQLQuery": {
78947891
"type": "object",
7895-
"x-ms-format": "dfe-string",
78967892
"description": "Database query. Type: string (or Expression with resultType string)."
78977893
},
78987894
"readBehavior": {
78997895
"description": "The read behavior for the operation. Default is query. Allowed values: query/queryAll. Type: string (or Expression with resultType string).",
7900-
"type": "object",
7901-
"x-ms-format": "dfe-string"
7896+
"type": "object"
79027897
},
79037898
"additionalColumns": {
79047899
"type": "object",
@@ -7941,12 +7936,10 @@
79417936
},
79427937
"externalIdFieldName": {
79437938
"type": "object",
7944-
"x-ms-format": "dfe-string",
79457939
"description": "The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string)."
79467940
},
79477941
"ignoreNullValues": {
79487942
"type": "object",
7949-
"x-ms-format": "dfe-bool",
79507943
"description": "The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean)."
79517944
}
79527945
}
@@ -7974,12 +7967,10 @@
79747967
},
79757968
"externalIdFieldName": {
79767969
"type": "object",
7977-
"x-ms-format": "dfe-string",
79787970
"description": "The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string)."
79797971
},
79807972
"ignoreNullValues": {
79817973
"type": "object",
7982-
"x-ms-format": "dfe-bool",
79837974
"description": "The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean)."
79847975
}
79857976
}

0 commit comments

Comments
 (0)