Swashbuckle polymorphism support issue
问题 I am using Swashbuckle v3.0. I am not sure weather this is a bug or not, but polymorphism is not working as it should. I have the following classes: BasePersonDocumentDto { Id, Number } IdentityDto: BasePersonDocumentDto { } PassportDto: BasePersonDocumentDto { VisaNumber } To apply Inheritance & Polymorphism, i have created a schema and document filters. I followed this answer Below are the code i used. public class PolymorphismSchemaFilter<T> : ISchemaFilter { private List<Type>