Check out example codes for "the same schemaid is already used for type swagger". It will help you in understanding the concepts better.

Code Example 1

services.ConfigureSwaggerGen(options =>
   {
       //your custom configuration goes here
       // UseFullTypeNameInSchemaIds replacement for .NET Core
       options.CustomSchemaIds(x => x.FullName);
   });

Learn ReactJs, React Native from akashmittal.com