~/talk

Principled HTTP Server Generation with Guardrail

Talkat LambdaConf 2019 · 2019-06-05..06-07· [web-platform, developer-experience]
links:none on file
slides:none on file

Generates server and client code from OpenAPI/Swagger specs (v2 and v3), with SBT, Maven and CLI runners that run during compile so a changed spec fails to compile if spec changes. Targets Scala/JVM/Scala.js, uses Scala Meta, circe, cats and akka-http, emits generates human-readable code into the target directory (no committed generated files). Runs in production (clients ~2 years, servers ~1.5 years, deployed in 4–5 countries).

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Why we started writing Guardrail
  3. 1:55Specification language
  4. 4:45Problems with Swagger
  5. 6:50The Code
  6. 7:20Human readable code
  7. 9:00Java
  8. 9:30akka
  9. 9:50DTO
  10. 10:45Target Directory
  11. 12:30SBT Configuration
  12. 14:20Scala Configuration
  13. 16:40Response Type
  14. 21:25Swagger
  15. 25:35Drop Wizard
  16. 26:15Add Parameter
  17. 27:55Guardrail Dev
  18. 30:15Nelson
  19. 36:30Conclusion
  20. 38:40Driver Trinity
  21. 40:00Users Handler
  22. 41:45Springs
  23. 43:40Swagger Documentation
  24. 45:15Generator Implementation
  25. 46:45Questions
  26. 50:20Servant Swagger
~/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.