Skip to content

Commit

Permalink
Azure Orbital - swagger fix for api-version 2022-11-01 (#23441)
Browse files Browse the repository at this point in the history
* added example for the new field

* updated the double ref that was causing build failure
  • Loading branch information
stuti-1807 authored Apr 6, 2023
1 parent 7ef6c70 commit 8725e07
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,43 @@
"startTime": "2022-06-10T13:54:53.6554616Z",
"endTime": "2022-06-10T13:54:55.7025301Z",
"percentComplete": 1.0,
"value": [
{
"spacecraft": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
},
"groundStationName": "EASTUS2_0",
"properties": {
"maximumElevationDegrees": 26.617297,
"txStartTime": "2022-11-01T11:55:01Z",
"txEndTime": "2022-11-01T12:05:25Z",
"rxStartTime": "2022-11-01T11:55:01Z",
"rxEndTime": "2022-11-01T12:05:25Z",
"startAzimuthDegrees": 201.340472,
"endAzimuthDegrees": 330.489627,
"startElevationDegrees": 5.0,
"endElevationDegrees": 5.040625
}
},
{
"spacecraft": {
"id": "/subscriptions/c1be1141-a7c9-4aac-9608-3c2e2f1152c3/resourceGroups/contoso-Rgp/providers/Microsoft.Orbital/spacecrafts/CONTOSO_SAT"
},
"groundStationName": "EASTUS2_0",
"properties": {
"maximumElevationDegrees": 85.9796,
"txStartTime": "2022-11-02T10:58:30Z",
"txEndTime": "2022-11-02T11:10:45Z",
"rxStartTime": "2022-11-02T10:58:30Z",
"rxEndTime": "2022-11-02T11:10:45Z",
"startAzimuthDegrees": 165.758896,
"endAzimuthDegrees": 345.848482,
"startElevationDegrees": 5.0,
"endElevationDegrees": 5.048656
}
}
],
"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",
"properties": {},
"error": {
"code": "ReadOnlyPropertyError",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1239,12 +1239,7 @@
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/SpacecraftsProperties",
"description": "Spacecraft Properties",
"allOf": [
{
"$ref": "#/definitions/SpacecraftsProperties"
}
]
"description": "Spacecraft Properties"
}
},
"allOf": [
Expand Down

0 comments on commit 8725e07

Please sign in to comment.