Skip to content

Commit c28e858

Browse files
kilifubaywet
andauthored
Update src/Microsoft.OpenApi/Models/OpenApiTag.cs
Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>
1 parent 6b99fc0 commit c28e858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Models/OpenApiTag.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ internal void SerializeInternal(IOpenApiWriter writer, OpenApiSpecVersion versio
129129
// kind - version specific handling
130130
if (Kind != null)
131131
{
132-
if (version == OpenApiSpecVersion.OpenApi3_2)
132+
if (version >= OpenApiSpecVersion.OpenApi3_2)
133133
{
134134
writer.WriteProperty("kind", Kind);
135135
}

0 commit comments

Comments
 (0)