Fallthrough

APIs: Design Imperfectly, Improve Relentlessly

14 snips
Apr 7, 2025
Jamie Tanna, a Co-maintainer of OAPI CodeGen, dives into the fascinating world of API design. He shares invaluable insights on building APIs—embracing mistakes and the iterative process. The discussion highlights the importance of flexibility and planning, addressing challenges like pagination and versioning. They advocate for continuous improvement and separating application layers for better functionality. Plus, Jamie humorously introduces the concept of 'unpop' and encourages self-reflection with the idea of creating a 'Manual of Me' for better team understanding.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Customer ID Redundancy

  • Ian Wester-Lopshire shared an example of an API requiring a customer ID with every request.
  • Later, they realized the token already contained customer information, leading to a design flaw they are still addressing.
ADVICE

Style Guide as Decision-Making

  • Treat your API's style guide as a decision-making system, not just superficial styling rules.
  • Documenting your API's ethos helps ensure consistency and guides deviations, making it easier for consumers to understand its structure.
ADVICE

Building an API Foundation

  • When designing an API foundation, brainstorm and explore without constraints.
  • Document everything, whether through writing, diagrams, or conversations, to avoid forgetting crucial design decisions.
Get the Snipd Podcast app to discover more snips from this episode
Get the app