Minimal APIs (.NET 10) Core Principles 1. Minimal APIs are the default — Use controllers only when migrating legacy code. Minimal APIs are lighter, faster, and compose well with any architecture style. 2. Group endpoints with — Never scatter individual / calls in . Group related endpoints together. 3. Use for OpenAPI — gives you compile-time type safety AND correct OpenAPI documentation. does not. 4. Metadata over comments — Use , , to document endpoints. The metadata feeds into OpenAPI specs. Patterns Endpoint Group Auto-Discovery (Required Pattern) Every endpoint group lives in its own file…