mirror of
https://github.com/bitwarden/server.git
synced 2025-01-15 20:41:35 +01:00
[PM-14862] Update documentation response type. (#5083)
Update documentation to align with the code's response type.
This commit is contained in:
parent
193f8d6612
commit
ac42b81f7c
@ -1,6 +1,5 @@
|
||||
using System.Net;
|
||||
using Bit.Api.AdminConsole.Public.Models.Request;
|
||||
using Bit.Api.AdminConsole.Public.Models.Response;
|
||||
using Bit.Api.Models.Public.Response;
|
||||
using Bit.Core.Context;
|
||||
using Bit.Core.Enums;
|
||||
@ -38,7 +37,7 @@ public class OrganizationController : Controller
|
||||
/// </remarks>
|
||||
/// <param name="model">The request model.</param>
|
||||
[HttpPost("import")]
|
||||
[ProducesResponseType(typeof(MemberResponseModel), (int)HttpStatusCode.OK)]
|
||||
[ProducesResponseType(typeof(OkResult), (int)HttpStatusCode.OK)]
|
||||
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
||||
public async Task<IActionResult> Import([FromBody] OrganizationImportRequestModel model)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user