Skip to content

Commit a2f6198

Browse files
committed
remove some trailing whitespace
1 parent 170ee50 commit a2f6198

File tree

320 files changed

+415
-415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

320 files changed

+415
-415
lines changed

src/Microsoft.OpenApi.Hidi/Extensions/CommandExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT license.
2+
// Licensed under the MIT license.
33

44
using System.Collections.Generic;
55
using System.CommandLine;

src/Microsoft.OpenApi.Hidi/Formatters/PowerShellFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static PowerShellFormatter()
2424
{
2525
// Add singularization exclusions.
2626
// Enhancement: Read exclusions from a user provided file.
27-
Vocabularies.Default.AddSingular("(drive)s$", "$1"); // drives does not properly singularize to drive.
27+
Vocabularies.Default.AddSingular("(drive)s$", "$1"); // drives does not properly singularize to drive.
2828
Vocabularies.Default.AddSingular("(data)$", "$1"); // exclude the following from singularization.
2929
Vocabularies.Default.AddSingular("(delta)$", "$1");
3030
Vocabularies.Default.AddSingular("(quota)$", "$1");

src/Microsoft.OpenApi.Hidi/Logger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static ILoggerFactory ConfigureLogger(LogLevel logLevel)
2121
{
2222
c.IncludeScopes = true;
2323
})
24-
#if DEBUG
24+
#if DEBUG
2525
.AddDebug()
2626
#endif
2727
.SetMinimumLevel(logLevel);

src/Microsoft.OpenApi.Hidi/OpenApiService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private static OpenApiDocument ApplyFilters(HidiOptions options, ILogger logger,
154154
requestUrls = EnumerateJsonDocument(postmanCollection.RootElement, new());
155155
logger.LogTrace("Finished fetching the list of paths and Http methods defined in the Postman collection.");
156156
}
157-
else
157+
else
158158
{
159159
requestUrls = new();
160160
logger.LogTrace("No filter options provided.");
@@ -211,7 +211,7 @@ private static void WriteOpenApi(HidiOptions options, OpenApiFormat openApiForma
211211
}
212212
}
213213

214-
// Get OpenAPI document either from OpenAPI or CSDL
214+
// Get OpenAPI document either from OpenAPI or CSDL
215215
private static async Task<OpenApiDocument> GetOpenApi(HidiOptions options, ILogger logger, CancellationToken cancellationToken, string? metadataVersion = null)
216216
{
217217

@@ -285,7 +285,7 @@ private static async Task<OpenApiDocument> GetOpenApi(HidiOptions options, ILogg
285285

286286
private static Dictionary<string, List<string>> GetRequestUrlsFromManifest(ApiDependency apiDependency)
287287
{
288-
// Get the request URLs from the API Dependencies in the API manifest
288+
// Get the request URLs from the API Dependencies in the API manifest
289289
var requests = apiDependency
290290
.Requests.Where(static r => !r.Exclude && !string.IsNullOrEmpty(r.UriTemplate) && !string.IsNullOrEmpty(r.Method))
291291
.Select(static r => new { UriTemplate = r.UriTemplate!, Method = r.Method! })
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT license.
2+
// Licensed under the MIT license.
33

44
namespace Microsoft.OpenApi.Hidi.Options
55
{
@@ -8,6 +8,6 @@ internal class FilterOptions
88
public string? FilterByOperationIds { get; internal set; }
99
public string? FilterByTags { get; internal set; }
1010
public string? FilterByCollection { get; internal set; }
11-
public string? FilterByApiManifest { get; internal set; }
11+
public string? FilterByApiManifest { get; internal set; }
1212
}
1313
}

src/Microsoft.OpenApi.Hidi/Options/HidiOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT license.
2+
// Licensed under the MIT license.
33

44
using System.CommandLine.Parsing;
55
using System.IO;

src/Microsoft.OpenApi.Hidi/StatsVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT license.
2+
// Licensed under the MIT license.
33

44
using System;
55
using System.Collections.Generic;

src/Microsoft.OpenApi.Hidi/Utilities/SettingsUtilities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT license.
2+
// Licensed under the MIT license.
33

44
using Microsoft.Extensions.Configuration;
55
using Microsoft.OpenApi.OData;

src/Microsoft.OpenApi.Readers/Exceptions/OpenApiReaderException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT license.
2+
// Licensed under the MIT license.
33

44
using System;
55
using Microsoft.OpenApi.Exceptions;

src/Microsoft.OpenApi.Readers/Exceptions/OpenApiUnsupportedSpecVersionException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
2-
// Licensed under the MIT license.
2+
// Licensed under the MIT license.
33

44
using System;
55
using System.Globalization;

0 commit comments

Comments
 (0)