diff --git a/src/Saunter/Generation/DocumentGenerator.cs b/src/Saunter/Generation/DocumentGenerator.cs index d19bfe8..92d8fd1 100644 --- a/src/Saunter/Generation/DocumentGenerator.cs +++ b/src/Saunter/Generation/DocumentGenerator.cs @@ -16,9 +16,6 @@ namespace Saunter.Generation { public class DocumentGenerator : IDocumentGenerator { - public DocumentGenerator() - { - } public AsyncApiSchema.v2.AsyncApiDocument GenerateDocument(TypeInfo[] asyncApiTypes, AsyncApiOptions options, AsyncApiDocument prototype, IServiceProvider serviceProvider) { diff --git a/test/Saunter.Tests/Generation/DocumentGeneratorTests/InterfaceAttributeTests.cs b/test/Saunter.Tests/Generation/DocumentGeneratorTests/InterfaceAttributeTests.cs index a518389..f86f232 100644 --- a/test/Saunter.Tests/Generation/DocumentGeneratorTests/InterfaceAttributeTests.cs +++ b/test/Saunter.Tests/Generation/DocumentGeneratorTests/InterfaceAttributeTests.cs @@ -1,15 +1,11 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; +using System; +using System.Linq; using System.Reflection; using Saunter.AsyncApiSchema.v2; using Saunter.Attributes; using Saunter.Generation; using Shouldly; using Xunit; -using System.Linq; namespace Saunter.Tests.Generation.DocumentGeneratorTests { diff --git a/test/Saunter.Tests/Generation/DocumentProviderTests/AsyncApiTypesTests.cs b/test/Saunter.Tests/Generation/DocumentProviderTests/AsyncApiTypesTests.cs index c369264..8f3b4de 100644 --- a/test/Saunter.Tests/Generation/DocumentProviderTests/AsyncApiTypesTests.cs +++ b/test/Saunter.Tests/Generation/DocumentProviderTests/AsyncApiTypesTests.cs @@ -32,7 +32,5 @@ public void GetDocument_GeneratesDocumentWithMultipleMessagesPerChannel() document.ShouldNotBeNull(); } } - - } } diff --git a/test/Saunter.Tests/Generation/OperationTraitsTests.cs b/test/Saunter.Tests/Generation/OperationTraitsTests.cs index 56ee526..8b4e60a 100644 --- a/test/Saunter.Tests/Generation/OperationTraitsTests.cs +++ b/test/Saunter.Tests/Generation/OperationTraitsTests.cs @@ -44,7 +44,6 @@ public void Example_OperationTraits() } } - private class TestOperationTraitsFilter : IOperationFilter { public void Apply(Operation publishOperation, OperationFilterContext context)