Skip to content

Commit

Permalink
Add missing fields to Action Group resource spec (#12736)
Browse files Browse the repository at this point in the history
* Updated error response for Action Groups API

* spacing

* added missing fields to Action Group Resource spec

* Added missing fields for action group resource in older version

* Updated "resource" name

* Removed changes to errorResponse

* Removed errorObject

* format

Co-authored-by: Ritwik Rajendra <[email protected]>
  • Loading branch information
ritwik8119 and Ritwik Rajendra authored Feb 26, 2021
1 parent 3db787e commit fc7b952
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
}
},
"definitions": {
"Resource": {
"AzureResource": {
"properties": {
"id": {
"type": "string",
Expand All @@ -352,6 +352,16 @@
"readOnly": true,
"description": "Azure resource type"
},
"kind": {
"type": "string",
"readOnly": true,
"description": "Azure resource kind"
},
"identity": {
"type": "string",
"readOnly": true,
"description": "Azure resource identity"
},
"location": {
"type": "string",
"description": "Resource location",
Expand All @@ -377,7 +387,7 @@
"description": "An action group resource.",
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/AzureResource"
}
],
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
}
},
"definitions": {
"Resource": {
"AzureResource": {
"properties": {
"id": {
"type": "string",
Expand All @@ -352,6 +352,16 @@
"readOnly": true,
"description": "Azure resource type"
},
"kind": {
"type": "string",
"readOnly": true,
"description": "Azure resource kind"
},
"identity": {
"type": "string",
"readOnly": true,
"description": "Azure resource identity"
},
"location": {
"type": "string",
"description": "Resource location",
Expand All @@ -377,7 +387,7 @@
"description": "An action group resource.",
"allOf": [
{
"$ref": "#/definitions/Resource"
"$ref": "#/definitions/AzureResource"
}
],
"properties": {
Expand Down

0 comments on commit fc7b952

Please sign in to comment.