Skip to content

Commit

Permalink
Merge branch 'master' into owners
Browse files Browse the repository at this point in the history
  • Loading branch information
withinfocus authored Sep 8, 2023
2 parents bdee977 + 7196a66 commit 017120b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
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
2 changes: 1 addition & 1 deletion languages/csharp/BitwardenSdk.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.InteropServices;

namespace Bit.Sdk
namespace Bitwarden.Sdk
{
internal class BitwardenSdk : IDisposable
{
Expand Down
2 changes: 1 addition & 1 deletion languages/csharp/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Bit.Sdk;
using Bitwarden.Sdk;

var sdk = new BitwardenSdk();
sdk.PasswordLogin("[email protected]", "asdfasdf");
Expand Down
5 changes: 3 additions & 2 deletions languages/csharp/bitwardenSdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Bitwarden.Sdk</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Text.Json" Version="7.0.3" />
</ItemGroup>

<PropertyGroup >
<PropertyGroup>
<!--Debugonly-->
</PropertyGroup>

Expand Down
3 changes: 2 additions & 1 deletion support/scripts/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ async function main() {
inputData,
lang: "csharp",
rendererOptions: {
namespace: "Bit.Sdk",
namespace: "Bitwarden.Sdk",
framework: "SystemTextJson",
"csharp-version": "6",
},
});
Expand Down

0 comments on commit 017120b

Please sign in to comment.