From 0ca3ecafe62a15a3cb95e4db567d019853aa20b1 Mon Sep 17 00:00:00 2001 From: Stuart Turner Date: Wed, 9 Oct 2024 15:10:56 -0500 Subject: [PATCH] Update dependencies --- Directory.Packages.props | 28 ++++++++++++++-------------- src/Plaid.OpenApiParser/Program.cs | 10 +++++----- tests/Plaid.Tests/PlaidClientTest.cs | 6 ++++-- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 0811193a..e7f703cf 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,7 +5,7 @@ - + @@ -13,24 +13,24 @@ - - - + + + - + - + - + - - - - + + + + @@ -39,7 +39,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -57,6 +57,6 @@ - + diff --git a/src/Plaid.OpenApiParser/Program.cs b/src/Plaid.OpenApiParser/Program.cs index 6a8f168c..b349293c 100644 --- a/src/Plaid.OpenApiParser/Program.cs +++ b/src/Plaid.OpenApiParser/Program.cs @@ -697,7 +697,7 @@ private static string GetTemplate(string templateName) } } -public enum SchemaType +internal enum SchemaType { None, Class, @@ -705,7 +705,7 @@ public enum SchemaType Enum, } -public enum BaseType +internal enum BaseType { None, Request, @@ -714,10 +714,10 @@ public enum BaseType ProcessorWebhook, } -public record struct ApiCall(string Uri, string BasePath, string MethodName, string Description, string ExternalUrl, string RequestType, string ResponseType); -public record struct Property(string JsonName, string Type, string Name, string? Description); +internal record struct ApiCall(string Uri, string BasePath, string MethodName, string Description, string ExternalUrl, string RequestType, string ResponseType); +internal record struct Property(string JsonName, string Type, string Name, string? Description); -public class SchemaEntity +internal sealed class SchemaEntity { public SchemaType SchemaType { get; set; } public string BasePath { get; init; } = default!; diff --git a/tests/Plaid.Tests/PlaidClientTest.cs b/tests/Plaid.Tests/PlaidClientTest.cs index 8f0f2f88..52433e31 100644 --- a/tests/Plaid.Tests/PlaidClientTest.cs +++ b/tests/Plaid.Tests/PlaidClientTest.cs @@ -1,4 +1,5 @@ -using Going.Plaid.Entity; +using System.Diagnostics.CodeAnalysis; +using Going.Plaid.Entity; using Microsoft.Extensions.Configuration; using Xunit; @@ -8,7 +9,8 @@ namespace Going.Plaid.Tests; -public class PlaidFixture : IAsyncLifetime +[SuppressMessage("Maintainability", "CA1515:Consider making public types internal")] +public sealed class PlaidFixture : IAsyncLifetime { public PlaidClient PlaidClient { get; }