mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
doc model param
This commit is contained in:
parent
42b104bc8f
commit
3c9c1a2ab7
@ -73,6 +73,7 @@ namespace Bit.Api.Public.Controllers
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// Creates a new group object.
|
/// Creates a new group object.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
|
/// <param name="model">The request model.</param>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[ProducesResponseType(typeof(GroupResponseModel), (int)HttpStatusCode.OK)]
|
[ProducesResponseType(typeof(GroupResponseModel), (int)HttpStatusCode.OK)]
|
||||||
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
||||||
@ -93,6 +94,7 @@ namespace Bit.Api.Public.Controllers
|
|||||||
/// the value of the existing property will be reset.
|
/// the value of the existing property will be reset.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <param name="id">The identifier of the group to be updated.</param>
|
/// <param name="id">The identifier of the group to be updated.</param>
|
||||||
|
/// <param name="model">The request model.</param>
|
||||||
[HttpPut("{id}")]
|
[HttpPut("{id}")]
|
||||||
[ProducesResponseType(typeof(GroupResponseModel), (int)HttpStatusCode.OK)]
|
[ProducesResponseType(typeof(GroupResponseModel), (int)HttpStatusCode.OK)]
|
||||||
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.BadRequest)]
|
||||||
|
Loading…
Reference in New Issue
Block a user