OpenAPI & .NET: You're Doing It Wrong
summary
Swashbuckle or NSwag auto-generators are not the source of truth; instead write and maintain the OpenAPI file manually in source control (prefer YAML) so design and docs live together. Use OpenAPI 3.0, linters and bundlers (redocly) to produce a single spec, publish static docs via simple GitHub Actions, and expose live docs with tools like Redoc and Elements. A .NET NuGet (openapi.web) can serve SwaggerUI and Elements and analyzers plus codegen can validate and regenerate stubs so breaking changes fail to compile.
AI-written summary · about
chapters (5)
related talks
53mUncovering Swagger/OpenAPI
19mSecure and accelerate APIs' lifecycle with the OpenAPI specification
19mAutomate your API to perfection
21mLet there be docs!
27mGetting developers hooked on your API
59mHandy Tools for Designing Great Web APIs
38mZen And The Art Of Automanually Creating API Documentation - An Inquiry Into Process
34mShuffle ball change: Sashay your way to clearer API documentation
