Skip to content

Commit 0a16ac1

Browse files
committed
test .diff file type
1 parent 88b9539 commit 0a16ac1

File tree

1 file changed

+1
-1
lines changed
  • aspnetcore/release-notes/aspnetcore-10/includes

1 file changed

+1
-1
lines changed

aspnetcore/release-notes/aspnetcore-10/includes/openApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Breaking changes in this iteration include the following:
4848

4949
One of the most significant changes is that the `OpenApiAny` class has been dropped in favor of using `JsonNode` directly. Transformers that use `OpenApiAny` need to be updated to use `JsonNode`. The following diff shows the changes in schema transformer from .NET 9 to .NET 10:
5050

51-
:::code language="csharp" source="~/release-notes/aspnetcore-10/samples/WebAppOpenAPI10/TransformerJsonNode.diff":::
51+
:::code language="diff" source="~/release-notes/aspnetcore-10/samples/WebAppOpenAPI10/TransformerJsonNode.diff":::
5252

5353
```diff
5454
options.AddSchemaTransformer((schema, context, cancellationToken) =>

0 commit comments

Comments
 (0)