Skip to content

Commit 331b3fd

Browse files
Fix Swagger correctness bug #10656759 (#15793)
* Fix Swagger correctness bug #10656759 * Fix model validation error.
1 parent 59303d7 commit 331b3fd

File tree

5 files changed

+2
-34
lines changed

5 files changed

+2
-34
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/SourceControls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
"Repo": {
308308
"description": "Represents a repository.",
309309
"properties": {
310-
"repoUrl": {
310+
"url": {
311311
"description": "The url to access the repository.",
312312
"type": "string"
313313
},

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/repositories/GetRepositories.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"body": {
1313
"value": [
1414
{
15-
"repoUrl": "https://api.github.com/repos/user/reponame",
15+
"url": "https://api.github.com/repos/user/reponame",
1616
"fullName": "reponame",
1717
"branches": [
1818
"master",

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/sourcecontrols/CreateSourceControl.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@
6363
}
6464
]
6565
}
66-
},
67-
"systemData": {
68-
"createdBy": "string",
69-
"createdByType": "User",
70-
"createdAt": "2020-04-27T21:53:29.0928001Z",
71-
"lastModifiedBy": "string",
72-
"lastModifiedByType": "User",
73-
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
7466
}
7567
}
7668
},
@@ -103,14 +95,6 @@
10395
}
10496
]
10597
}
106-
},
107-
"systemData": {
108-
"createdBy": "string",
109-
"createdByType": "User",
110-
"createdAt": "2020-04-27T21:53:29.0928001Z",
111-
"lastModifiedBy": "string",
112-
"lastModifiedByType": "User",
113-
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
11498
}
11599
}
116100
}

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/sourcecontrols/GetSourceControlById.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@
3737
}
3838
]
3939
}
40-
},
41-
"systemData": {
42-
"createdBy": "string",
43-
"createdByType": "User",
44-
"createdAt": "2020-04-27T21:53:29.0928001Z",
45-
"lastModifiedBy": "string",
46-
"lastModifiedByType": "User",
47-
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
4840
}
4941
}
5042
}

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/sourcecontrols/GetSourceControls.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@
3838
}
3939
]
4040
}
41-
},
42-
"systemData": {
43-
"createdBy": "string",
44-
"createdByType": "User",
45-
"createdAt": "2020-04-27T21:53:29.0928001Z",
46-
"lastModifiedBy": "string",
47-
"lastModifiedByType": "User",
48-
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
4941
}
5042
}
5143
]

0 commit comments

Comments
 (0)