Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine the client-namespace-conflict diagnostic #6161

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
regen
  • Loading branch information
ArcturusZhang committed Feb 27, 2025
commit 88e2180bb75edb2d2d7c2fea124464a18ebcd571
Original file line number Diff line number Diff line change
@@ -2,9 +2,7 @@
// Licensed under the MIT License.

using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.TypeSpec.Generator.Input;
using Microsoft.TypeSpec.Generator.Primitives;
using Microsoft.TypeSpec.Generator.Providers;
using Microsoft.TypeSpec.Generator.Snippets;
Original file line number Diff line number Diff line change
@@ -170,7 +170,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Authentication.ApiKey"
}
],
"Auth": {
Original file line number Diff line number Diff line change
@@ -170,7 +170,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Authentication.Http.Custom"
}
],
"Auth": {
Original file line number Diff line number Diff line change
@@ -170,7 +170,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Authentication.OAuth2"
}
],
"Auth": {
Original file line number Diff line number Diff line change
@@ -104,7 +104,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Authentication.Union"
}
],
"Auth": {
Original file line number Diff line number Diff line change
@@ -188,7 +188,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.ClientOperationGroup"
},
{
"$id": "21",
@@ -295,7 +296,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group3"
},
{
"$id": "30",
@@ -375,7 +377,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group4"
},
{
"$id": "37",
@@ -454,7 +457,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup"
},
{
"$id": "44",
@@ -534,7 +538,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.Group5"
}
]
}
Original file line number Diff line number Diff line change
@@ -242,7 +242,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.MultiClient.ClientA"
},
{
"$id": "25",
@@ -375,7 +376,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.MultiClient.ClientB"
}
]
}
Original file line number Diff line number Diff line change
@@ -242,7 +242,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.RenamedOperation"
},
{
"$id": "25",
@@ -376,7 +377,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.RenamedOperation.Group"
}
]
}
Original file line number Diff line number Diff line change
@@ -160,7 +160,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.TwoOperationGroup"
},
{
"$id": "19",
@@ -294,7 +295,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group1"
},
{
"$id": "30",
@@ -428,7 +430,8 @@
"Kind": "Client"
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group2"
}
]
}
Original file line number Diff line number Diff line change
@@ -215,7 +215,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Bytes"
},
{
"$id": "30",
@@ -476,7 +477,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Bytes.Query"
},
{
"$id": "54",
@@ -957,7 +959,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Bytes.Property"
},
{
"$id": "96",
@@ -1218,7 +1221,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Bytes.Header"
},
{
"$id": "120",
@@ -1664,7 +1668,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Bytes.RequestBody"
},
{
"$id": "161",
@@ -2083,7 +2088,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Bytes.ResponseBody"
}
]
}
Original file line number Diff line number Diff line change
@@ -295,7 +295,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Datetime"
},
{
"$id": "41",
@@ -648,7 +649,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Datetime.Query"
},
{
"$id": "75",
@@ -1238,7 +1240,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Datetime.Property"
},
{
"$id": "126",
@@ -1591,7 +1594,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Datetime.Header"
},
{
"$id": "160",
@@ -1828,7 +1832,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Datetime.ResponseHeader"
}
]
}
Original file line number Diff line number Diff line change
@@ -340,7 +340,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Duration"
},
{
"$id": "47",
@@ -750,7 +751,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Duration.Query"
},
{
"$id": "86",
@@ -1449,7 +1451,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Duration.Property"
},
{
"$id": "146",
@@ -1859,7 +1862,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Duration.Header"
}
]
}
Original file line number Diff line number Diff line change
@@ -162,7 +162,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Numeric"
},
{
"$id": "23",
@@ -534,7 +535,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Encode.Numeric.Property"
}
]
}
Original file line number Diff line number Diff line change
@@ -123,7 +123,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Parameters.Basic"
},
{
"$id": "18",
@@ -244,7 +245,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Parameters.Basic.ExplicitBody"
},
{
"$id": "30",
@@ -365,7 +367,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Parameters.Basic.ImplicitBody"
}
]
}
Original file line number Diff line number Diff line change
@@ -238,7 +238,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Parameters.BodyOptionality"
},
{
"$id": "25",
@@ -435,7 +436,8 @@
}
}
],
"Decorators": []
"Decorators": [],
"CrossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit"
}
]
}
Loading
Oops, something went wrong.
Loading
Oops, something went wrong.