mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[PM-6137] Fix invalid Swagger generation in knowndevice (#3760)
* Fix invalid swagger generation in knowndevice * Format
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Api.Models.Request;
|
||||
|
||||
public class KnownDeviceRequestModel
|
||||
{
|
||||
[Required]
|
||||
[FromHeader(Name = "X-Request-Email")]
|
||||
public string Email { get; set; }
|
||||
|
||||
[Required]
|
||||
[FromHeader(Name = "X-Device-Identifier")]
|
||||
public string DeviceIdentifier { get; set; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user