mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
[PM-2196] Improvements to the Swagger generator (#2914)
* Swagger fixes Co-Authored-By: Oscar Hinton <Hinton@users.noreply.github.com> * Make Response Models return Guids instead of strings * Change strings into guids in ScimApplicationFactory --------- Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
This commit is contained in:
@ -13,8 +13,8 @@ public class OrganizationDomainResponseModel : ResponseModel
|
||||
throw new ArgumentNullException(nameof(organizationDomain));
|
||||
}
|
||||
|
||||
Id = organizationDomain.Id.ToString();
|
||||
OrganizationId = organizationDomain.OrganizationId.ToString();
|
||||
Id = organizationDomain.Id;
|
||||
OrganizationId = organizationDomain.OrganizationId;
|
||||
Txt = organizationDomain.Txt;
|
||||
DomainName = organizationDomain.DomainName;
|
||||
CreationDate = organizationDomain.CreationDate;
|
||||
@ -24,8 +24,8 @@ public class OrganizationDomainResponseModel : ResponseModel
|
||||
LastCheckedDate = organizationDomain.LastCheckedDate;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
public string OrganizationId { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
public Guid OrganizationId { get; set; }
|
||||
public string Txt { get; set; }
|
||||
public string DomainName { get; set; }
|
||||
public DateTime CreationDate { get; set; }
|
||||
|
Reference in New Issue
Block a user