mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05: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 System.Net;
|
||||||
using Bit.Api.AdminConsole.Public.Models.Request;
|
using Bit.Api.AdminConsole.Public.Models.Request;
|
||||||
using Bit.Api.AdminConsole.Public.Models.Response;
|
|
||||||
using Bit.Api.Models.Public.Response;
|
using Bit.Api.Models.Public.Response;
|
||||||
using Bit.Core.Context;
|
using Bit.Core.Context;
|
||||||
using Bit.Core.Enums;
|
using Bit.Core.Enums;
|
||||||
@ -38,7 +37,7 @@ public class OrganizationController : Controller
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <param name="model">The request model.</param>
|
/// <param name="model">The request model.</param>
|
||||||
[HttpPost("import")]
|
[HttpPost("import")]
|
||||||
[ProducesResponseType(typeof(MemberResponseModel), (int)HttpStatusCode.OK)]
|
[ProducesResponseType(typeof(OkResult), (int)HttpStatusCode.OK)]
|
||||||
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
||||||
public async Task<IActionResult> Import([FromBody] OrganizationImportRequestModel model)
|
public async Task<IActionResult> Import([FromBody] OrganizationImportRequestModel model)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user