Skip to content

Commit dc5de44

Browse files
authored
Merge pull request #1894 from microsoft/feature/3.1.1
feature/3.1.1
2 parents 9af3731 + 9e8d8a4 commit dc5de44

19 files changed

+22
-22
lines changed

src/Microsoft.OpenApi.Workbench/MainWindow.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</StackPanel>
4141
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
4242
<Label>Version:</Label>
43-
<RadioButton GroupName="Format" Content="V3.1.0" Padding="5" Height="24" VerticalAlignment="Top" IsChecked="{Binding IsV3_1}" />
43+
<RadioButton GroupName="Format" Content="V3.1.1" Padding="5" Height="24" VerticalAlignment="Top" IsChecked="{Binding IsV3_1}" />
4444
<RadioButton GroupName="Format" Content="V3.0.4" Padding="5" Height="24" VerticalAlignment="Top" IsChecked="{Binding IsV3_0}" />
4545
<RadioButton GroupName="Format" Content="V2.0" Padding="5" Height="24" VerticalAlignment="Top" IsChecked="{Binding IsV2_0}" />
4646
</StackPanel>

src/Microsoft.OpenApi/Models/OpenApiDocument.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void SerializeAsV31(IOpenApiWriter writer)
138138
writer.WriteStartObject();
139139

140140
// openApi;
141-
writer.WriteProperty(OpenApiConstants.OpenApi, "3.1.0");
141+
writer.WriteProperty(OpenApiConstants.OpenApi, "3.1.1");
142142

143143
// jsonSchemaDialect
144144
writer.WriteProperty(OpenApiConstants.JsonSchemaDialect, JsonSchemaDialect);

test/Microsoft.OpenApi.Readers.Tests/V31Tests/OpenApiDocumentTests.ParseDocumentWith31PropertiesWorks.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: '3.1.0'
1+
openapi: '3.1.1'
22
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
33
info:
44
title: Sample OpenAPI 3.1 API

test/Microsoft.OpenApi.Readers.Tests/V31Tests/Samples/OpenApiDocument/docWithExample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0 # The version of the OpenAPI Specification
1+
openapi: 3.1.1 # The version of the OpenAPI Specification
22
info: # Metadata about the API
33
title: A simple OpenAPI 3.1 example
44
version: 1.0.0

test/Microsoft.OpenApi.Readers.Tests/V31Tests/Samples/OpenApiDocument/docWithPatternPropertiesInSchema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.1.1
22
info:
33
title: Example API
44
version: 1.0.0

test/Microsoft.OpenApi.Readers.Tests/V31Tests/Samples/OpenApiDocument/docWithReferenceById.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.1.1
22
info:
33
title: ReferenceById
44
version: 1.0.0

test/Microsoft.OpenApi.Readers.Tests/V31Tests/Samples/OpenApiDocument/documentWith31Properties.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.1.1
22
info:
33
title: Sample OpenAPI 3.1 API
44
description: A sample API demonstrating OpenAPI 3.1 features

test/Microsoft.OpenApi.Readers.Tests/V31Tests/Samples/OpenApiDocument/documentWithReusablePaths.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi : 3.1.0
1+
openapi : 3.1.1
22
info:
33
title: Webhook Example
44
version: 1.0.0

test/Microsoft.OpenApi.Readers.Tests/V31Tests/Samples/OpenApiDocument/documentWithSummaryAndDescriptionInReference.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: '3.1.0'
1+
openapi: '3.1.1'
22
info:
33
version: '1.0.0'
44
title: Swagger Petstore (Simple)

test/Microsoft.OpenApi.Readers.Tests/V31Tests/Samples/OpenApiDocument/documentWithWebhooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.1.0
1+
openapi: 3.1.1
22
info:
33
title: Webhook Example
44
version: 1.0.0

0 commit comments

Comments
 (0)