~/talk

RestPi: Path-Sensitive Type Inference for REST APIs

Talkat OOPSLA 2025 · 2025-10-16..10-18· [api-design]
links:none on file
links:none on file
links:none on file
slides:none on file

REST𝜋 implements path-sensitive type inference for Ruby on Rails servers and automatically generates OpenAPI‑style specs by encoding symbolic path constraints into types. It analyzes 132 endpoints from five projects, finding 165 distinct error responses versus 72 from proxy‑based dynamic inference and discovering 985 response fields never seen by tests. It avoids exponential path blowup by pushing path implications under hash keys, leaves path conditions uninterpreted for now, and ships reproducible artifacts and benchmarks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46REST API challenges
  3. 3:10Current API inference
  4. 4:57Limitations of API inference
  5. 5:40Path-sensitive type systems
  6. 7:05Demonstration of path-sensitive type inference on code
  7. 8:29Handling path explosion
  8. 11:37Benchmark results
  9. 13:21RestPi advantages
  10. 14:02Q&A
~/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.