~/talk

How to end manual REST-API client coding

Talkat dotJS 2015 · on Monday, 2015-12-07· [javascript, developer-experience]
links:none on file
slides:none on file

Claims that manual REST client coding is replaceable by tooling that generates JavaScript SDKs from a Swagger API spec and produces usable model classes with getters setters type hints and JSDoc so calls look like local functions. Shows concrete tools and flow: provide a Swagger file, use Swagger Codegen, optionally wire server with Spring Boot and Springfox, generate clients in 20+ languages, and demonstrates generated code completion and working examples.

AI-written summary · about

  1. 0:00Start
  2. 0:21Calling APIs manually
  3. 0:38Calling APIS using a generated SDK
  4. 2:03Sample REST model using Spring Boot + Springfox
  5. 2:17Swagger API example Model definition
  6. 2:29Steps to generate Javascript client code
  7. 2:44JS Mustache templates for Swagger-Codegen
  8. 2:57Generate client code using Swagger-Codegen
  9. 3:17Code completion for User
  10. 3:30Code completion for all API operations
  11. 3:47Current state of Javascript support
~/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.