Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.MixedReality to add vers…
Browse files Browse the repository at this point in the history
…ion preview/2019-12-02-preview (#11769)

* fix for swagger completeness

* forgot curly brace

* fix example
  • Loading branch information
roytan-microsoft authored Dec 30, 2020
1 parent 19bb280 commit 4844fe0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"responses": {
"200": {
"body": {
"nameAvailable": "false",
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "..."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"properties": {
"nameAvailable": {
"description": "if name Available",
"$ref": "#/definitions/NameAvailability"
"type": "boolean"
},
"reason": {
"description": "Resource Name To Verify",
Expand All @@ -164,6 +164,10 @@
"display": {
"description": "The object that represents the operation.",
"$ref": "#/definitions/OperationDisplay"
},
"isDataAction": {
"description": "Whether or not this is a data plane operation",
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -195,18 +199,6 @@
}
}
},
"NameAvailability": {
"description": "Whether or not the name is available.",
"type": "string",
"enum": [
"true",
"false"
],
"x-ms-enum": {
"name": "NameAvailability",
"modelAsString": true
}
},
"NameUnavailableReason": {
"description": "reason of name unavailable.",
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,10 @@
"x-ms-client-flatten": true,
"description": "Property bag.",
"$ref": "./common.json#/definitions/MixedRealityAccountProperties"
},
"identity": {
"description": "The identity associated with this account",
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,10 @@
"x-ms-client-flatten": true,
"description": "Property bag.",
"$ref": "./common.json#/definitions/MixedRealityAccountProperties"
},
"identity": {
"description": "The identity associated with this account",
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Identity"
}
}
},
Expand Down

0 comments on commit 4844fe0

Please sign in to comment.