- Create an XML Comment for All Public Members
- Disable Warning by Decorating Each Public Member
- Disable all warnings at the project level. (Recommended)
Define XML Comment for All Public Members
Suppress Warning by Decorating each Public Member
Suppress all Warnings at Project Level
Now check any class file. You will not see any warnings related to the swagger XML comment.