Skip to content

Commit

Permalink
--controllers -> -controllers (#38854)
Browse files Browse the repository at this point in the history
  • Loading branch information
gurustron committed Dec 28, 2023
1 parent d53e298 commit 4591491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/core/tools/dotnet-new-sdk-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ Creates a web API project with AOT publish enabled. For more information, see [N

- **`-minimal|--use-minimal-apis`**

Create a project that uses the [ASP.NET Core minimal API](/aspnet/core/fundamentals/minimal-apis). Default is `false`, but this option is overridden by `--controllers`. Since the default for `--controllers` is `false`, entering `dotnet new webapi` without specifying either option creates a minimal API project.
Create a project that uses the [ASP.NET Core minimal API](/aspnet/core/fundamentals/minimal-apis). Default is `false`, but this option is overridden by `-controllers`. Since the default for `-controllers` is `false`, entering `dotnet new webapi` without specifying either option creates a minimal API project.

- **`-ssp|--susi-policy-id <ID>`**

Expand All @@ -790,7 +790,7 @@ Creates a web API project with AOT publish enabled. For more information, see [N

The Client ID for this project. Use with `IndividualB2C` or `SingleOrg` authentication. The default value is `11111111-1111-1111-11111111111111111`.

- **`--controllers`**, **`--use-controllers`**
- **`-controllers|--use-controllers`**

Whether to use controllers instead of minimal APIs. If both this option and `-minimal` are specified, this option overrides the value specified by `-minimal`. Default is `false`. Available since .NET 8 SDK.

Expand Down

0 comments on commit 4591491

Please sign in to comment.