1
I am trying to create examples of Response and Input by Swagger but I am not succeeding.
So far, the most I could was creating the MOCK request entry, the output ones I’m not getting.
Follows code:
[SwaggerRequestExample(typeof(PessoaModel), typeof(EntradaExample))]
[SwaggerResponseExample(System.Net.HttpStatusCode.BadRequest, typeof(BadRequestResponseExample))]
[SwaggerResponseExample(System.Net.HttpStatusCode.InternalServerError, typeof(InternalServerErrorResponseExample))]
Another question I have is whether . Net 4.7 has support for Swagger-ui 3.x
Thank you