1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-28 13:15:12 +01:00

doc model param

This commit is contained in:
Kyle Spearrin 2019-03-04 21:06:41 -05:00
parent 42b104bc8f
commit 3c9c1a2ab7

View File

@ -73,6 +73,7 @@ namespace Bit.Api.Public.Controllers
/// <remarks>
/// Creates a new group object.
/// </remarks>
/// <param name="model">The request model.</param>
[HttpPost]
[ProducesResponseType(typeof(GroupResponseModel), (int)HttpStatusCode.OK)]
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
@ -93,6 +94,7 @@ namespace Bit.Api.Public.Controllers
/// the value of the existing property will be reset.
/// </remarks>
/// <param name="id">The identifier of the group to be updated.</param>
/// <param name="model">The request model.</param>
[HttpPut("{id}")]
[ProducesResponseType(typeof(GroupResponseModel), (int)HttpStatusCode.OK)]
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]