Azure Orbital - swagger fix for api-version 2022-11-01 (#23441)

* added example for the new field

* updated the double ref that was causing build failure
This commit is contained in:
Stuti Kumar 2023-04-05 18:40:55 -07:00 коммит произвёл GitHub
Родитель 7ef6c7036b
Коммит 8725e07009
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 38 добавлений и 6 удалений

Просмотреть файл

@ -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",

Просмотреть файл

@ -1239,12 +1239,7 @@
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/SpacecraftsProperties",
"description": "Spacecraft Properties",
"allOf": [
{
"$ref": "#/definitions/SpacecraftsProperties"
}
]
"description": "Spacecraft Properties"
}
},
"allOf": [