Skip to content

Commit f571bf5

Browse files
committed
.
1 parent 0fe6bc3 commit f571bf5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

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, string? metadataVersion = null, CancellationToken cancellationToken = default)
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! })

test/Microsoft.OpenApi.Readers.Tests/ParseNodeTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ParseNodeTests
1515
[Fact]
1616
public void BrokenSimpleList()
1717
{
18-
var input =
18+
var input =
1919
"""
2020
swagger: 2.0
2121
info:

test/Microsoft.OpenApi.Tests/Models/OpenApiComponentsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ public void SerializeAdvancedComponentsWithReferenceAsJsonV3Works()
396396
public void SerializeAdvancedComponentsAsYamlV3Works()
397397
{
398398
// Arrange
399-
var expected =
399+
var expected =
400400
"""
401401
schemas:
402402
schema1:

test/Microsoft.OpenApi.Tests/Models/OpenApiOperationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ public void SerializeBasicOperationAsV2JsonWorks()
503503
public void SerializeOperationWithFormDataAsV3JsonWorks()
504504
{
505505
// Arrange
506-
var expected =
506+
var expected =
507507
"""
508508
{
509509
"summary": "Updates a pet in the store with form data",

test/Microsoft.OpenApi.Tests/Models/OpenApiReferenceTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void SerializeSchemaReferenceAsJsonV3Works()
8989
{
9090
// Arrange
9191
var reference = new OpenApiReference { Type = ReferenceType.Schema, Id = "Pet" };
92-
var expected =
92+
var expected =
9393
"""
9494
{
9595
"$ref": "#/components/schemas/Pet"
@@ -134,7 +134,7 @@ public void SerializeSchemaReferenceAsJsonV2Works()
134134
Id = "Pet"
135135
};
136136

137-
var expected =
137+
var expected =
138138
"""
139139
{
140140
"$ref": "#/definitions/Pet"

0 commit comments

Comments
 (0)