#81 fixing api meta data

This commit is contained in:
Hamid Reza Mohammadi 2021-03-05 11:37:27 +03:30
parent 78cea13652
commit afaeee9e4c

View File

@ -474,7 +474,7 @@ namespace RMuseum.Controllers
[HttpGet]
[Route("comments/reported")]
[Authorize(Policy = RMuseumSecurableItem.GanjoorEntityShortName + ":" + RMuseumSecurableItem.ModerateOperationShortName)]
[ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(IEnumerable<GanjoorCommentFullViewModel>))]
[ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(IEnumerable<GanjoorCommentAbuseReportViewModel>))]
[ProducesResponseType((int)HttpStatusCode.BadRequest, Type = typeof(string))]
public async Task<IActionResult> GetReportedComments([FromQuery] PagingParameterModel paging)
{