Forum Discussion

delucaezequiel's avatar
delucaezequiel
New Contributor
4 years ago

Swagger set Errors links C# and remove Problem Details

Hi:

 

I am trying to achieve the following configuration on my OpenApi.

1) Remove ProblemDetails from Schema

2) Add Error Links

I am using Visual Studio 2019 and C# on a WebAPI Project. It looks like the xml tags doesn't work on the same way that yaml ones, unluckily on Visual Studio yaml configuration can not be set as far as I know.

Do you know if there is a way to do what I am attempting? Do you know where can I find the related documentation? All the documents that I found only shows yaml examples that do not apply to Visual Studio