API
Produces<T>
Adds response type metadata, not runtime response enforcement.
Formal Syntax & Structure
csharp syntaxcsharp
route.Produces<BookDto>(200)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.route.Produces<BookDto>(200)