swagger 2.0 spec response schema code example
Example: the same schemaid is already used for type swagger
services.ConfigureSwaggerGen(options =>
{
//your custom configuration goes here
// UseFullTypeNameInSchemaIds replacement for .NET Core
options.CustomSchemaIds(x => x.FullName);
});