|
1342 | 1342 | "GatewayError": { |
1343 | 1343 | "description": "Detail of gateway errors.", |
1344 | 1344 | "type": "object", |
1345 | | - "properties": { |
1346 | | - "code": { |
1347 | | - "type": "string", |
1348 | | - "description": "Error code of list gateway." |
1349 | | - }, |
1350 | | - "message": { |
1351 | | - "type": "string", |
1352 | | - "description": "Error message of list gateway." |
1353 | | - }, |
1354 | | - "subCode": { |
1355 | | - "description": "The error sub code", |
1356 | | - "type": "integer", |
1357 | | - "format": "int32" |
1358 | | - }, |
1359 | | - "httpStatusCode": { |
1360 | | - "description": "The http status code", |
1361 | | - "type": "integer", |
1362 | | - "format": "int32" |
1363 | | - }, |
1364 | | - "timeStamp": { |
1365 | | - "description": "the timestamp for the error.", |
1366 | | - "type": "string", |
1367 | | - "readOnly": true |
1368 | | - } |
1369 | | - } |
| 1345 | + "$ref": "#/definitions/ErrorDetail" |
1370 | 1346 | }, |
1371 | 1347 | "CheckServerNameAvailabilityParameters": { |
1372 | 1348 | "description": "Details of server name request body.", |
|
1431 | 1407 | "error": { |
1432 | 1408 | "type": "object", |
1433 | 1409 | "description": "The error detail of the operation if any.", |
1434 | | - "$ref": "#/definitions/ErrorObject" |
| 1410 | + "$ref": "#/definitions/ErrorDetail" |
1435 | 1411 | } |
1436 | 1412 | } |
1437 | 1413 | }, |
|
1493 | 1469 | "type": "string", |
1494 | 1470 | "description": "The error target." |
1495 | 1471 | }, |
| 1472 | + "subCode": { |
| 1473 | + "readOnly": true, |
| 1474 | + "description": "The error sub code", |
| 1475 | + "type": "integer", |
| 1476 | + "format": "int32" |
| 1477 | + }, |
| 1478 | + "httpStatusCode": { |
| 1479 | + "readOnly": true, |
| 1480 | + "description": "The http status code", |
| 1481 | + "type": "integer", |
| 1482 | + "format": "int32" |
| 1483 | + }, |
| 1484 | + "timeStamp": { |
| 1485 | + "readOnly": true, |
| 1486 | + "description": "the timestamp for the error.", |
| 1487 | + "type": "string" |
| 1488 | + }, |
1496 | 1489 | "details": { |
1497 | 1490 | "readOnly": true, |
1498 | 1491 | "type": "array", |
|
1526 | 1519 | }, |
1527 | 1520 | "description": "The resource management error additional info." |
1528 | 1521 | }, |
1529 | | - "ErrorObject": { |
1530 | | - "type": "object", |
1531 | | - "description": "The error object", |
1532 | | - "properties": { |
1533 | | - "code": { |
1534 | | - "description": "Error code", |
1535 | | - "type": "string" |
1536 | | - }, |
1537 | | - "message": { |
1538 | | - "description": "Error message indicating why the operation failed.", |
1539 | | - "type": "string" |
1540 | | - }, |
1541 | | - "subCode": { |
1542 | | - "description": "The error sub code", |
1543 | | - "type": "integer", |
1544 | | - "format": "int32" |
1545 | | - }, |
1546 | | - "httpStatusCode": { |
1547 | | - "description": "The http status code", |
1548 | | - "type": "integer", |
1549 | | - "format": "int32" |
1550 | | - }, |
1551 | | - "timeStamp": { |
1552 | | - "description": "the timestamp for the error.", |
1553 | | - "type": "string", |
1554 | | - "readOnly": true |
1555 | | - }, |
1556 | | - "details": { |
1557 | | - "readOnly": true, |
1558 | | - "type": "array", |
1559 | | - "items": { |
1560 | | - "$ref": "#/definitions/ErrorDetail" |
1561 | | - }, |
1562 | | - "description": "The error details." |
1563 | | - } |
1564 | | - } |
1565 | | - }, |
1566 | 1522 | "ErrorResponse": { |
1567 | 1523 | "description": "Describes the format of Error response.", |
1568 | 1524 | "type": "object", |
1569 | 1525 | "properties": { |
1570 | 1526 | "error": { |
1571 | 1527 | "description": "The error object", |
1572 | | - "$ref": "#/definitions/ErrorObject" |
| 1528 | + "$ref": "#/definitions/ErrorDetail" |
1573 | 1529 | } |
1574 | 1530 | } |
1575 | 1531 | } |
|
0 commit comments