I'm trying to get the format identifier printed on the Swagger UI which is stated on their homepage. In the auto-generated json file it should look like in this example:
The way of how I'd like to achieve that is via xml comments in my view model class. This works well for tags like example
, summary
etc., but there is no tag like format
. It would be important for me to state that the string we are awaiting here in the API must be in a certain format.