Skip to content

Commit 22eb88d

Browse files
committed
Update 2025-12-03_openapi-net10.md
1 parent 00e328a commit 22eb88d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

MyApp/_posts/2025-12-03_openapi-net10.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Depends on:
3636

3737
Which can be added to .NET 10 Project with:
3838

39-
:::copy
39+
:::sh
4040
npx add-in openapi-swagger
4141
:::
4242

@@ -62,7 +62,7 @@ Depends on:
6262

6363
Which can be added to .NET 10 Project with:
6464

65-
:::copy
65+
:::sh
6666
npx add-in openapi-scalar
6767
:::
6868

@@ -98,7 +98,7 @@ dotnet tool install --global x # install
9898
dotnet tool update -g x # update
9999
```
100100

101-
Although this is likely the last .NET runtime that will be supported as the `x` dotnet tool is being phased out in favor of use-case specific `npx` scripts which doesn't require a separate install and can be used in all environments without needing .NET installed.
101+
Although this is the last .NET runtime that the `x` tool will support as it's being phased out in favor of use-case specific `npx` scripts as it doesn't require a separate install or needs a .NET 10 SDK to be pre-installed.
102102

103103
The npx tools have the same behavior as the different x sub-features where you can just replace the command prefix with the npx script equivalent, e.g:
104104

@@ -107,4 +107,4 @@ The npx tools have the same behavior as the different x sub-features where you c
107107
| `x new` | `npx create-net` | Create a new App from a .NET 10 project template |
108108
| `x mix` | `npx add-in` | Register and configure a Plugin with your App |
109109
| `x ts` | `npx get-dtos ts` | Regenerate latest TypeScript DTOs |
110-
| `x ts <url>` | `npx get-dtos ts <url>` | Generate new TypeScript DTOs for the remote ServiceStack App|
110+
| `x ts <url>` | `npx get-dtos ts <url>` | Generate DTOs for a remote ServiceStack API |

0 commit comments

Comments
 (0)