Swashbuckle Hide unreferenced model
问题 I'm having a problem with Swashbuckle when hiding a call the definition of the model linked to the call remains in the definition in the JSON generated. Using the Document filter, I'm able to remove the call from the interface. The calls remain in the JSON generated but are invisible in Swagger UI. We can also see the definition for the Model and Enum linked to theses calls. Theses are internal calls and need to be hidden from external eyes in the JSON. How can I hide all the calls and their