Skip to content

Commit 09c2f2a

Browse files
committed
Move map group to minimal api
1 parent 29c0d64 commit 09c2f2a

File tree

11 files changed

+15
-13
lines changed

11 files changed

+15
-13
lines changed

projects/.net7/README.MD

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,6 @@ Samples in this section require .NET 7. You can download it from [here](https://
2727
This sample demonstrates the usage of `IFormFileCollection` to upload multiple files in Minimal API.
2828

2929

30-
## Route Group
31-
32-
* [Route Group - 1](map-group-1)
33-
34-
`MapGroup()` extension methods allow grouping of endpoints with a common prefix. It also allow group metadata to be attached to the group.
35-
36-
* [Route Group - 2](map-group-2)
37-
38-
Use `.WithTags()`, `.WithDescription()`, `.WithSummary()` to enrich OpenAPI information for all the endpoints in the group.
39-
40-
* [Route Group - 3](map-group-3)
41-
42-
Use `.ExcludeFromDescription` to exclude endpoints from OpenAPI description.
4330

4431
## Authentication
4532

projects/minimal-api/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,18 @@ In these examples we are using the familiar `Host.CreateDefaultBuilder(args)` ho
133133
* [Endpoint Filter - 4](endpoint-filter-4)
134134

135135
Use `IStatusCodeHttpResult` to detect return result in filter.
136+
137+
138+
## Route Group
139+
140+
* [Route Group - 1](map-group-1)
141+
142+
`MapGroup()` extension methods allow grouping of endpoints with a common prefix. It also allow group metadata to be attached to the group.
143+
144+
* [Route Group - 2](map-group-2)
145+
146+
Use `.WithTags()`, `.WithDescription()`, `.WithSummary()` to enrich OpenAPI information for all the endpoints in the group.
147+
148+
* [Route Group - 3](map-group-3)
149+
150+
Use `.ExcludeFromDescription` to exclude endpoints from OpenAPI description.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)