~/talk

Generating a custom SDK for your web service or Rails API

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby, api-design]
links:none on file
slides:none on file

Generates a custom Ruby SDK for a Rails API using Smithy Ruby and a rails_json protocol, building a sample HighScore Rails app, a Smithy model for CRUD operations, and running smithy build to emit a gem with lib and RBS. The generated client uses middleware, retries (demo shows three requests during retries), stub responses, interceptors, plugins, waiters and paginators. The demo exercises list create and delete and returns a modeled UnprocessableEntity error and a not found error as expected.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:12Why use Smithy Ruby
  3. 2:55Setting up the Rails API
  4. 3:57What is Smithy
  5. 4:39Defining the service model
  6. 6:47Generating the SDK
  7. 7:29SDK usage demo
  8. 8:34How the SDK works
  9. 9:17Public features overview
  10. 10:20Types and logging
  11. 11:01Error handling
  12. 12:47Custom HTTP client
  13. 13:29Retry strategies
  14. 14:53Stubbing for testing
  15. 15:34Interceptors
  16. 16:38Plugins
  17. 17:19Waiters
  18. 18:21Pagination support
  19. 19:25Authentication
  20. 20:27SDK internals deep dive
  21. 22:12Conclusion and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.