Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit 8ad6bfa

Browse files
authored
Update default OpenApiVersion to 3_2
1 parent e992717 commit 8ad6bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.Hidi/OpenApiService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static async Task TransformOpenApiDocumentAsync(HidiOptions options, ILog
6767
throw new IOException($"The file {options.Output} already exists. Please input a new file path.");
6868
}
6969

70-
// Default to yaml and OpenApiVersion 3_1 during csdl to OpenApi conversion
70+
// Default to yaml and OpenApiVersion 3_2 during csdl to OpenApi conversion
7171
var openApiFormat = options.OpenApiFormat ?? (!string.IsNullOrEmpty(options.OpenApi) ? GetOpenApiFormat(options.OpenApi, logger) : OpenApiConstants.Yaml);
7272
var openApiVersion = options.Version != null ? TryParseOpenApiSpecVersion(options.Version) : OpenApiSpecVersion.OpenApi3_2;
7373

0 commit comments

Comments
 (0)