Swagger Parameters

This library describes all AutoFilterer parameter into swagger.json and makes visible at Swashbuckle or any other swagger documentation tool.


  • Install AutoFilterer.Swagger package from NuGet
  • Go your Startup and add following namespace using:
using AutoFilterer.Swagger;
  • Find AddSwaggerGen in your Startup and add UseAutoFiltererParameters() method like following:
services.AddSwaggerGen(c =>
    c.UseAutoFiltererParameters(); // <-- Add this here.

    // ...


After you set-up successfully, just launch the swagger and see parameters, they are shown as dropdown now 🚀


In this document