Open HayeLoic opened 1 year ago
I also have this configuration for Swagger:
builder.Services.AddSwaggerGen(opts =>
{
var xmlFilename = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
opts.IncludeXmlComments(Path.Combine(AppContext.BaseDirectory, xmlFilename));
});
I have that C# code
And I use it in my controller like this:
[ClientNaming("MyCustomMethodName")]
With this, Nswag generate methods with the expected custom name.
But I needed to have my summaries in the client, so I add in my csproj:
And beacause of that, my ClientNamingAttribute is ignored. And also, my decimal parameter are now double. How could I fix this ?