Does Swagger 3.x work with .net 4.7?

1

I'm trying to create Swagger Answer and Entry examples but I'm not succeeding.

So far, the most I've been able to do is to create the MOCK of the request input, the output I'm not getting.

Follow the code below:

[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

    
asked by anonymous 18.07.2018 / 23:01

0 answers