Skip to content

Commit e3310f5

Browse files
committed
Rename method
1 parent 07237af commit e3310f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.OpenApi/Models/OpenApiSchema.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

44
using System;
@@ -436,7 +436,7 @@ public void SerializeInternal(IOpenApiWriter writer, OpenApiSpecVersion version,
436436

437437
if (version == OpenApiSpecVersion.OpenApi3_1)
438438
{
439-
WriteV31Properties(writer);
439+
WriteJsonSchemaKeywords(writer);
440440
}
441441

442442
// title
@@ -576,7 +576,7 @@ public virtual void SerializeAsV2(IOpenApiWriter writer)
576576
SerializeAsV2(writer: writer, parentRequiredProperties: new HashSet<string>(), propertyName: null);
577577
}
578578

579-
internal void WriteV31Properties(IOpenApiWriter writer)
579+
internal void WriteJsonSchemaKeywords(IOpenApiWriter writer)
580580
{
581581
writer.WriteProperty(OpenApiConstants.Id, Id);
582582
writer.WriteProperty(OpenApiConstants.DollarSchema, Schema);

0 commit comments

Comments
 (0)