1
0
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:
Daniel García
2024-02-12 11:04:00 +01:00
committed by GitHub
parent 1d9fe79ef6
commit fd3f05da47
2 changed files with 5 additions and 19 deletions

View File

@ -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; }
}