12 Overlooked API Details that Can Get You in Trouble
summary
Claims that REST is overused and better fits are often gRPC, messaging broker like CFA or cloud queues or cautious GraphQL; code‑first OpenAPI generation is likened to “all fields public” while OpenAPI spec‑first with generated interfaces keeps API/implementation separate; avoid exposing JPA entities—use DTOs; generating SDKs creates tight coupling; prefer RFC Problem Details and correct HTTP status codes; wrap JSON collections for pagination; prefer header versioning over URL; favor integration tests with Rest Assured and Testcontainers to catch serialization/config issues.
AI-written summary · about
chapters (13)
- 0:00Introduction and motivation
- 3:20REST APIs popularity and alternatives
- 8:32REST API basics and pitfalls
- 11:27Naming resources and REST principles
- 13:38OpenAPI specification approaches
- 16:26Framework lock-in risks
- 19:42Separating API and business layers
- 21:09Client library generation issues
- 22:16Reusing standards in APIs
- 23:00HTTP status code importance
- 24:05JSON collection metadata
- 24:45API versioning challenges
- 25:47Testing APIs properly
