I do not know how to add the example models with the latest swagger (swashbuckle.aspnetcore4.0.1) NuGet package.
earlier I used to do with this, but i donot get argument with the latest interface
public class SwaggerExamplesSchemaFilter : ISchemaFilter
{
public void Apply(Schema schema, SchemaRegistry schemaRegistry, Type type)
{}
}
I need the latest usage to create the example model