Skip to content

Commit e8e91ad

Browse files
stuti-1807JoshLove-msft
authored andcommitted
Azure Orbital - swagger fix for api-version 2022-11-01 (Azure#23441)
* added example for the new field * updated the double ref that was causing build failure
1 parent 2c0ac71 commit e8e91ad

File tree

2 files changed

+38
-6
lines changed

2 files changed

+38
-6
lines changed

specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/examples/OperationResultsGet.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,43 @@
1414
"startTime": "2022-06-10T13:54:53.6554616Z",
1515
"endTime": "2022-06-10T13:54:55.7025301Z",
1616
"percentComplete": 1.0,
17+
"value": [
18+
{
19+
"spacecraft": {
20+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
21+
},
22+
"groundStationName": "EASTUS2_0",
23+
"properties": {
24+
"maximumElevationDegrees": 26.617297,
25+
"txStartTime": "2022-11-01T11:55:01Z",
26+
"txEndTime": "2022-11-01T12:05:25Z",
27+
"rxStartTime": "2022-11-01T11:55:01Z",
28+
"rxEndTime": "2022-11-01T12:05:25Z",
29+
"startAzimuthDegrees": 201.340472,
30+
"endAzimuthDegrees": 330.489627,
31+
"startElevationDegrees": 5.0,
32+
"endElevationDegrees": 5.040625
33+
}
34+
},
35+
{
36+
"spacecraft": {
37+
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
38+
},
39+
"groundStationName": "EASTUS2_0",
40+
"properties": {
41+
"maximumElevationDegrees": 85.9796,
42+
"txStartTime": "2022-11-02T10:58:30Z",
43+
"txEndTime": "2022-11-02T11:10:45Z",
44+
"rxStartTime": "2022-11-02T10:58:30Z",
45+
"rxEndTime": "2022-11-02T11:10:45Z",
46+
"startAzimuthDegrees": 165.758896,
47+
"endAzimuthDegrees": 345.848482,
48+
"startElevationDegrees": 5.0,
49+
"endElevationDegrees": 5.048656
50+
}
51+
}
52+
],
53+
"nextLink": "https://management.azure.com/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT/listAvailableContacts?api-version=2022-11-01&$skiptoken=opaqueString",
1754
"properties": {},
1855
"error": {
1956
"code": "ReadOnlyPropertyError",

specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-11-01/orbital.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,12 +1239,7 @@
12391239
"properties": {
12401240
"x-ms-client-flatten": true,
12411241
"$ref": "#/definitions/SpacecraftsProperties",
1242-
"description": "Spacecraft Properties",
1243-
"allOf": [
1244-
{
1245-
"$ref": "#/definitions/SpacecraftsProperties"
1246-
}
1247-
]
1242+
"description": "Spacecraft Properties"
12481243
}
12491244
},
12501245
"allOf": [

0 commit comments

Comments
 (0)