~/talk

Uncovering Swagger/OpenAPI

Talkat .NET Fest 2019 · 2019-10-25..10-26· [web-platform, developer-experience]

Dives into the actual OpenAPI JSON that ASP NET Core and Swashbuckle.AspNetCore produce, shows adding XML comments, produces/ProducesResponseType attributes and the MVC API analyzers to surface correct status codes, and uses operation filters to document vendor media types and schema variation that OpenAPI 3 now supports. Demonstrates generating a ~1,100-line C# client, importing the spec into Postman and running collections with Newman, and notes where built-in tooling lacks features and how the workaround reliably produces correct docs.

AI-written summary · about

  1. 0:00Intro
  2. 1:33Agenda
  3. 3:30Why document an API
  4. 5:17OpenAPI Swagger
  5. 9:15Terminology
  6. 10:19Swagger
  7. 11:54Anthrax
  8. 12:30Code Bit
  9. 13:49Get Packages
  10. 14:53Configure Services
  11. 17:49OpenAPI Spec
  12. 24:04Response Type Attributes
  13. 35:02Content Negotiation
  14. 47:10Testing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.