Hacker News new | ask | show | jobs
by e12e 863 days ago
My only moments of joy derived from rspec is through rswag. But it pretty much (ab)uses rspec to give you design-by-contract for JSON api.

I would've enjoyed it more if it didn't try so hard to mimic a JSON schema language as an embedded DSL in ruby.

It's verbose and error prone, with the dubious benefit of looking familiar.