зеркало из https://github.com/Azure/autorest.git
Fix regression introduce when not checking for x-ms-examples (#3748)
This commit is contained in:
Родитель
760a2b24b3
Коммит
334b242cb9
|
@ -160,7 +160,7 @@ Backup*/
|
|||
UpgradeLog*.XML
|
||||
|
||||
# NuGet
|
||||
packages
|
||||
# packages
|
||||
|
||||
# Mac OS #
|
||||
.DS_Store
|
||||
|
@ -292,4 +292,5 @@ package-deps.json
|
|||
common/config/rush/shrinkwrap.yaml
|
||||
|
||||
# Code generation output for regression tests
|
||||
core/test/regression
|
||||
core/test/regression
|
||||
|
||||
|
|
|
@ -281,7 +281,7 @@ export class MultiAPIMerger extends Transformer<any, oai.Model> {
|
|||
if (newRef) {
|
||||
if (value.__rewrite__) {
|
||||
// special case where the value was a proxy object
|
||||
value.__rewrite__("$ref", key, newRef);
|
||||
value.__rewrite__("$ref", newRef);
|
||||
} else {
|
||||
// most of the time it's not.
|
||||
value.$ref = newRef;
|
||||
|
|
Загрузка…
Ссылка в новой задаче