Skip to content

Commit

Permalink
Change to system.text for c#
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Sep 8, 2023
1 parent 19d7f2f commit 9936eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bitwarden/src/client/client_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use serde::{Deserialize, Serialize};
///
/// Targets `localhost:8080` for debug builds.
#[derive(Serialize, Deserialize, Debug, JsonSchema)]
#[serde(rename_all = "camelCase", deny_unknown_fields)]
#[serde(default, rename_all = "camelCase", deny_unknown_fields)]
#[cfg_attr(feature = "mobile", derive(uniffi::Record))]
pub struct ClientSettings {
/// The identity url of the targeted Bitwarden instance. Defaults to `https://identity.bitwarden.com`
Expand Down
1 change: 1 addition & 0 deletions support/scripts/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ async function main() {
lang: "csharp",
rendererOptions: {
namespace: "Bit.Sdk",
framework: "SystemTextJson",
"csharp-version": "6",
},
});
Expand Down

0 comments on commit 9936eb2

Please sign in to comment.