mirror of
https://github.com/bitwarden/server.git
synced 2026-02-10 19:03:18 +08: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:
@@ -8,12 +8,12 @@ public class InstallationResponseModel : ResponseModel
|
||||
public InstallationResponseModel(Installation installation, bool withKey)
|
||||
: base("installation")
|
||||
{
|
||||
Id = installation.Id.ToString();
|
||||
Id = installation.Id;
|
||||
Key = withKey ? installation.Key : null;
|
||||
Enabled = installation.Enabled;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
public string Key { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user