Skip to content

Commit

Permalink
Resolve System.InvalidOperationException: Swagger document contains t…
Browse files Browse the repository at this point in the history
…wo or more x-ms-enum extensions with the same name 'ManagedServiceIdentityType' and different values: SystemAssigned,None vs. None,SystemAssigned,UserAssigned,SystemAssigned,UserAssigned
  • Loading branch information
dustinburson committed Dec 15, 2021
1 parent 73d8851 commit d44373c
Showing 1 changed file with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2570,32 +2570,7 @@
"type": "string"
},
"identity": {
"type": "object",
"description": "Setting indicating whether the service has a managed identity associated with it.",
"properties": {
"principalId": {
"readOnly": true,
"type": "string",
"description": "The principal ID of the resource identity."
},
"tenantId": {
"readOnly": true,
"type": "string",
"description": "The tenant ID of the resource."
},
"type": {
"description": "Type of identity being specified, currently SystemAssigned and None are allowed.",
"type": "string",
"enum": [
"SystemAssigned",
"None"
],
"x-ms-enum": {
"name": "ManagedServiceIdentityType",
"modelAsString": true
}
}
}
"$ref": "#/definitions/ServiceManagedIdentity"
}
},
"x-ms-azure-resource": true,
Expand Down

0 comments on commit d44373c

Please sign in to comment.