You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/clean-architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ The source generator automatically creates:
105
105
**No controller classes. No endpoint registrations. No boilerplate.** Just map them in your startup:
106
106
107
107
```csharp
108
-
app.MapOrdersEndpoints();
108
+
app.MapMediatorEndpoints();
109
109
```
110
110
111
111
The generator infers HTTP methods from message names (`Create*` → POST, `Get*` → GET), generates routes from ID properties, maps `Result<T>` to HTTP status codes, and pulls OpenAPI metadata from XML doc comments.
0 commit comments