Contract-first REST APIs with ASP.NET Core Minimal APIs
On September 28, 2026, I spoke at Swenug Stockholm about contract-first REST APIs with ASP.NET Core Minimal APIs.
The talk looks at what changes when OpenAPI becomes the source of truth rather than documentation generated from the implementation, how that affects collaboration between producers and consumers, and what a contract-first workflow can look like while keeping the Minimal API programming model.
Recording
Resources
Relevant blog posts
- Making OpenAPI the source of truth for ASP.NET Core Minimal APIs
- Contract-first APIs are about collaboration, not YAML
Slides
Slides will be added here after the talk.
Demo
The demo uses a prepared repository rather than live coding. It walks through project setup, component and inline OpenAPI schemas, query parameters, an inline request body, application wiring, and exposing the authored contract through Swagger UI.