|
50 | 50 | "200": { |
51 | 51 | "description": "OK", |
52 | 52 | "schema": { |
53 | | - "$ref": "#/definitions/OperationList" |
| 53 | + "$ref": "#/definitions/AvailableOperations" |
54 | 54 | } |
55 | 55 | }, |
56 | 56 | "default": { |
|
545 | 545 | } |
546 | 546 | } |
547 | 547 | }, |
548 | | - "OperationList": { |
549 | | - "description": "List of available operations.", |
| 548 | + "AvailableOperations": { |
| 549 | + "description": "Available operations of the service", |
550 | 550 | "type": "object", |
551 | 551 | "properties": { |
552 | 552 | "value": { |
553 | | - "description": "List of operations.", |
| 553 | + "description": "Collection of available operation details", |
| 554 | + "uniqueItems": false, |
554 | 555 | "type": "array", |
555 | 556 | "items": { |
556 | | - "$ref": "#/definitions/Operation" |
| 557 | + "$ref": "#/definitions/OperationDetail" |
557 | 558 | } |
558 | 559 | }, |
559 | 560 | "nextLink": { |
560 | | - "description": "Link to the next set of results.", |
561 | | - "type": "string", |
562 | | - "readOnly": true |
| 561 | + "description": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use.", |
| 562 | + "type": "string" |
563 | 563 | } |
564 | 564 | } |
565 | 565 | }, |
566 | | - "Operation": { |
567 | | - "description": "Operation details.", |
| 566 | + "OperationDetail": { |
| 567 | + "description": "Operation detail payload", |
568 | 568 | "type": "object", |
569 | 569 | "properties": { |
570 | 570 | "name": { |
571 | | - "description": "Name of the operation.", |
572 | | - "type": "string", |
573 | | - "readOnly": true |
| 571 | + "description": "Name of the operation", |
| 572 | + "type": "string" |
| 573 | + }, |
| 574 | + "isDataAction": { |
| 575 | + "description": "Indicates whether the operation is a data action", |
| 576 | + "type": "boolean" |
574 | 577 | }, |
575 | 578 | "display": { |
576 | 579 | "$ref": "#/definitions/OperationDisplay", |
577 | | - "description": "Operation properties." |
| 580 | + "description": "Display of the operation" |
| 581 | + }, |
| 582 | + "origin": { |
| 583 | + "description": "Origin of the operation", |
| 584 | + "type": "string" |
| 585 | + }, |
| 586 | + "properties": { |
| 587 | + "$ref": "#/definitions/OperationProperties", |
| 588 | + "description": "Properties of the operation" |
578 | 589 | } |
579 | 590 | } |
580 | 591 | }, |
581 | 592 | "OperationDisplay": { |
582 | | - "description": "Operation properties.", |
| 593 | + "description": "Operation display payload", |
583 | 594 | "type": "object", |
584 | 595 | "properties": { |
585 | 596 | "provider": { |
586 | | - "description": "Resource provider name.", |
| 597 | + "description": "Resource provider of the operation", |
587 | 598 | "type": "string" |
588 | 599 | }, |
589 | 600 | "resource": { |
590 | | - "description": "Resource type name.", |
| 601 | + "description": "Resource of the operation", |
591 | 602 | "type": "string" |
592 | 603 | }, |
593 | 604 | "operation": { |
594 | | - "description": "Operation name.", |
| 605 | + "description": "Localized friendly name for the operation", |
595 | 606 | "type": "string" |
596 | 607 | }, |
597 | 608 | "description": { |
598 | | - "description": "Operation description.", |
| 609 | + "description": "Localized friendly description for the operation", |
599 | 610 | "type": "string" |
600 | 611 | } |
601 | 612 | } |
| 613 | + }, |
| 614 | + "OperationProperties": { |
| 615 | + "description": "Operation properties.", |
| 616 | + "type": "object", |
| 617 | + "properties": {} |
602 | 618 | } |
603 | 619 | }, |
604 | 620 | "parameters": { |
|
0 commit comments