We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c91327 commit e9ab441Copy full SHA for e9ab441
src/Microsoft.OpenApi.Hidi/OpenApiService.cs
@@ -77,7 +77,7 @@ public static async Task TransformOpenApiDocumentAsync(HidiOptions options, ILog
77
throw new IOException($"The file {options.Output} already exists. Please input a new file path.");
78
}
79
80
- // Default to yaml and OpenApiVersion 3 during csdl to OpenApi conversion
+ // Default to yaml and OpenApiVersion 3_1 during csdl to OpenApi conversion
81
var openApiFormat = options.OpenApiFormat ?? (!string.IsNullOrEmpty(options.OpenApi) ? GetOpenApiFormat(options.OpenApi, logger) : OpenApiFormat.Yaml);
82
var openApiVersion = options.Version != null ? TryParseOpenApiSpecVersion(options.Version) : OpenApiSpecVersion.OpenApi3_1;
83
0 commit comments