Как работает SwaggerResponseExample в HTTP 400 - PullRequest
0 голосов
/ 23 апреля 2020

SwaggerResponseExample HTTP 400 не работает HTTP 200 может отображаться нормально, но HTTP400 не может Но оба пути одинаковы

В чем может быть проблема?

[SwaggerResponse (HttpStatusCode.OK, " OK ", typeof (ApiRespond))] [SwaggerResponseExample (HttpStatusCode.OK, typeof (UserRegisterRespondExample))] [SwaggerResponse (HttpStatusCode.BadRequest,« BadRequest », typeof (ApiResponseRegestReGestReGestReGestReQDExDBD)) )]

введите описание изображения здесь

...