Skip to content

Commit 7c46deb

Browse files
authored
Merge branch 'vnext' into literal-style
2 parents 83fd6df + f8e4201 commit 7c46deb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
The **OpenAPI.NET** SDK contains a useful object model for OpenAPI documents in .NET along with common serializers to extract raw OpenAPI JSON and YAML documents from the model.
1212

13-
**See more information on the OpenAPI specification and its history here: <a href="https://www.openapis.org">Open API Initiative</a>**
13+
**See more information on the OpenAPI specification and its history here: <a href="https://www.openapis.org">OpenAPI Initiative</a>**
1414

1515
Project Objectives
1616

src/Microsoft.OpenApi/Models/OpenApiOperation.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ public void SerializeAsV2(IOpenApiWriter writer)
248248
// Our library does not support this at the moment.
249249
Name = "body",
250250
Schema = content?.Schema ?? new OpenApiSchema(),
251-
Required = RequestBody.Required
251+
Required = RequestBody.Required,
252+
Extensions = RequestBody.Extensions
252253
};
253254

254255
parameters.Add(bodyParameter);

0 commit comments

Comments
 (0)