Documenting REST APIs with Swagger
summary
Demonstrates using Swagger to generate a JSON API specification from code annotations and then generate SDKs and an interactive Swagger UI. Shows concrete workflows for Java (Maven plugin producing a static spec inside an uber‑jar), PHP and mustache‑templated code generation, plus features like parameter filters, OAuth and API-key support, and practical pitfalls such as enum handling, config issues, quirks of generated code and some unresolved bugs.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 2:40Swagger UI demo
- 7:22Swagger spec basics
- 10:16Code annotations workflow
- 18:27Maven plugin build
- 21:53Swagger UI customization
- 24:44Swagger limitations solutions
- 27:10Alternatives and conclusion
related talks
01h 23mDocumenting RESTful APIs
27mGetting developers hooked on your API
50mUsing Spring with OpenAPI
57mDocumenting RESTful APIs with Spring REST Docs
14mReal-World Enterprise REST API Design
19mSecure and accelerate APIs' lifecycle with the OpenAPI specification
35mDocumenting APIs: new era, same craft
21mLet there be docs!
