Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
debacle
on Jan 19, 2015
|
parent
|
context
|
favorite
| on:
Ask HN: What's the best way to write an API spec?
Writing tests for your spec is probably the best way. You get to test the design of your API (and any edge cases/scaling issues) before you actually have to design it, and, bonus, when you're done you have a full suite of tests.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: