1 year ago

#361652

test-img

Nova1545

Swagger Show Obsolete Message

Take this for example:

[Obsolete("Please use /Auth/Register instead")]

Swaggers UI shows its Obsolte but doesnt show the message, so is it possible to have the message inside the attribute show in the Swagger UI? (Without having to change library like this post says) Im using Swashbuckle.AspNetCore (Default with ASP.NET) v6.3 (OpenAPI / Swagger v2.0, v3.0)

swagger

swagger-ui

swashbuckle

0 Answers

Your Answer

Accepted video resources