Skip to content

Commit

Permalink
Fix name collisions causing incorrect code generation (Azure#9091)
Browse files Browse the repository at this point in the history
* Add tenent-level provider listing to SDK

* PR feedback: add tenant-level Provider_Get operation

* Make operation names more consistent.

* Update spec to match the provider API

* Add missing description

* Fix spelling typo

* Switch new enums to modelAsString

* Revert "Switch new enums to modelAsString"

This reverts commit 695b4a9.

* Fix name collisions causing incorrect code generation
  • Loading branch information
mentat9 authored Apr 22, 2020
1 parent 247c71a commit e61d6ea
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4414,7 +4414,7 @@
},
"description": "An error response for a resource management request."
},
"AliasPathType": {
"AliasPath": {
"properties": {
"path": {
"type": "string",
Expand All @@ -4428,13 +4428,13 @@
"description": "The API versions."
},
"pattern": {
"$ref": "#/definitions/AliasPatternType",
"$ref": "#/definitions/AliasPattern",
"description": "The pattern for an alias path."
}
},
"description": "The type of the paths for alias."
},
"AliasPatternType": {
"AliasPattern": {
"properties": {
"phrase": {
"type": "string",
Expand Down Expand Up @@ -4469,7 +4469,7 @@
},
"description": "The type of the pattern for an alias path."
},
"AliasType": {
"Alias": {
"properties": {
"name": {
"type": "string",
Expand All @@ -4478,7 +4478,7 @@
"paths": {
"type": "array",
"items": {
"$ref": "#/definitions/AliasPathType"
"$ref": "#/definitions/AliasPath"
},
"description": "The paths for an alias."
},
Expand Down Expand Up @@ -4514,7 +4514,7 @@
"description": "The default path for an alias."
},
"defaultPattern": {
"$ref": "#/definitions/AliasPatternType",
"$ref": "#/definitions/AliasPattern",
"description": "The default pattern for an alias."
}
},
Expand All @@ -4536,7 +4536,7 @@
"aliases": {
"type": "array",
"items": {
"$ref": "#/definitions/AliasType"
"$ref": "#/definitions/Alias"
},
"description": "The aliases that are supported by this resource type."
},
Expand Down

0 comments on commit e61d6ea

Please sign in to comment.