❔ Swagger shows unwanted schemas when with minimal api
Hey. If I have an endpoint like this:
Where the method
Foo.Bar
looks like:
My swagger output includes a bunch of schemas. If I simply do the endpoint like this instead, they don't appear:
This is obviously not a problem with an endpoint like this, but as soon as the endpoint starts taking in stuff from DI it becomes a problem1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.