What is the best way to exclude a property from showing up for a verb? For instance, if the property, “TeamOid” is only applicable for GET and not POST, what is the recommended approach for excluding it for POST in the Swagger documentation.
And at what point does it make sense to have separate models/types for different verbs? Or does it? And if so, what is the recommended naming convention?
If they have different implementations it’s usually always a good idea to have different Request DTOs for different verbs so you have control over their service contract independently, see this answer for an example: http://stackoverflow.com/a/15235822/85785