restful-api-description-language / RADL

RADL: A description language and tooling for hypermedia-driven RESTful APIs
Apache License 2.0
23 stars 5 forks source link

Add error conditions to generated API #39

Closed RaySinnema closed 9 years ago

RaySinnema commented 9 years ago

See #18 and restbucks.radl. The generated Api class should have constants for the error conditions, including JavaDoc.

RaySinnema commented 9 years ago

We should also generate custom exception classes and a central exception handler that maps these exceptions to responses.