Skip to content

Commit a1d8cd9

Browse files
authored
WN .NET 10 Prev 2: OpenAPI.NET update: Include (#34985)
* WN .NET 10 Prev 2: OpenAPI.NET update
1 parent 53ffcbb commit a1d8cd9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

aspnetcore/release-notes/aspnetcore-10.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ This section describes new features for OpenAPI.
4343

4444
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/responseDescProducesResponseType.md)]
4545

46+
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/OpenApiNetV2Prev7.md)]
47+
4648
## Authentication and authorization
4749

4850
This section describes new features for authentication and authorization.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Upgrade to OpenAPI.NET v2.0.0-preview7
22

3-
The OpenAPI.NET library used in ASP.NET Core OpenAPI document generation has been upgraded to v2.0.0-preview7. This version includes a number of bug fixes and improvements and also introduces some breaking changes. The breaking changes should only impact users that use document, operation, or schema transformers. Breaking changes in this iteration include the following:
3+
The [OpenAPI.NET](https://github.com/microsoft/OpenAPI.NET) library used in ASP.NET Core OpenAPI document generation has been upgraded to v2.0.0-preview7. This version includes various bug fixes and improvements while also introducing some breaking changes. The breaking changes should only impact users that use document, operation, or schema transformers. Breaking changes in this iteration include the following:
44

5-
- Entities within the OpenAPI document, like operations and parameters, are typed as interfaces. Concrete implementations exist for the inlined and referenced variants of an entity. For example, an `IOpenApiSchema` can be an inlined `OpenApiSchema` or an `OpenApiSchemaReference` that points to a schema defined elsewhere in the document.
5+
- Entities within the OpenAPI document, like operations and parameters, are typed as interfaces. Concrete implementations exist for the inlined and referenced variants of an entity. For example, an `IOpenApiSchema` can either be an inlined `OpenApiSchema` or an `OpenApiSchemaReference` that points to a schema defined elsewhere in the document.
66
- The `Nullable` property has been removed from the `OpenApiSchema` type. To determine if a type is nullable, evaluate if the `OpenApiSchema.Type` property sets `JsonSchemaType.Null`.

0 commit comments

Comments
 (0)