Skip to content

Commit

Permalink
Update Blueprints swagger files for live validation linter errors (Az…
Browse files Browse the repository at this point in the history
  • Loading branch information
filizt authored and DeMale committed Dec 11, 2020
1 parent c0b05e6 commit 444a30f
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
"schema": {
"$ref": "#/definitions/AssignmentOperationList"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "blueprintDefinition.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -108,6 +114,12 @@
"schema": {
"$ref": "#/definitions/AssignmentOperation"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "blueprintDefinition.json#/definitions/CloudError"
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
"schema": {
"$ref": "#/definitions/Assignment"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "blueprintDefinition.json#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -115,6 +121,12 @@
"schema": {
"$ref": "#/definitions/Assignment"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "blueprintDefinition.json#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -173,11 +185,17 @@
},
"204": {
"description": "No Content"
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "blueprintDefinition.json#/definitions/CloudError"
}
}
}
}
},
"/{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/WhoIsBlueprint": {
"/{resourceScope}/providers/Microsoft.Blueprint/blueprintAssignments/{assignmentName}/whoIsBlueprint": {
"post": {
"operationId": "Assignments_WhoIsBlueprint",
"description": "Get Blueprints service SPN objectId",
Expand Down Expand Up @@ -206,6 +224,12 @@
"schema": {
"$ref": "#/definitions/WhoIsBlueprintContract"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "blueprintDefinition.json#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -239,6 +263,12 @@
"schema": {
"$ref": "#/definitions/AssignmentList"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "blueprintDefinition.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@
"schema": {
"$ref": "#/definitions/Blueprint"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -112,6 +118,12 @@
"schema": {
"$ref": "#/definitions/Blueprint"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -149,6 +161,12 @@
},
"204": {
"description": "No Content"
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -182,6 +200,12 @@
"schema": {
"$ref": "#/definitions/BlueprintList"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -245,6 +269,12 @@
"schema": {
"$ref": "#/definitions/Artifact"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -294,6 +324,12 @@
"schema": {
"$ref": "#/definitions/Artifact"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -346,6 +382,12 @@
},
"204": {
"description": "No Content"
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -382,6 +424,12 @@
"schema": {
"$ref": "#/definitions/ArtifactList"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -433,6 +481,12 @@
"schema": {
"$ref": "#/definitions/PublishedBlueprint"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -470,6 +524,12 @@
"schema": {
"$ref": "#/definitions/PublishedBlueprint"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
},
Expand Down Expand Up @@ -510,6 +570,12 @@
},
"204": {
"description": "No Content"
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -546,6 +612,12 @@
"schema": {
"$ref": "#/definitions/PublishedBlueprintList"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -603,6 +675,12 @@
"schema": {
"$ref": "#/definitions/Artifact"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -642,6 +720,12 @@
"schema": {
"$ref": "#/definitions/ArtifactList"
}
},
"default": {
"description": "Blueprints error response.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -1300,6 +1384,14 @@
"description": "Last modified time of this blueprint definition."
}
}
},
"CloudError": {
"x-ms-external": true,
"properties": {
"error": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
}
}
}
},
"parameters": {
Expand Down

0 comments on commit 444a30f

Please sign in to comment.