.net - How to set Multiple return types with same status code in swagger swash buckle -
i working on swagger , want make multiple return types known swagger single function same status code.
i have been using these tags on functions:
[swaggerresponse(httpstatuscode.ok, type = typeof(pagedresult<getincidentsreportresponse>))] [swaggerresponse(httpstatuscode.ok, type = typeof(ienumerable<getcountresponse>))]
Comments
Post a Comment