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

Warn on missing representations #33

Open RaySinnema opened 9 years ago

RaySinnema commented 9 years ago

For each HTTP method, we know whether it requires a request and/or response. Validation should issue warnings when these expectations are violated.

Note that for PUT, PATCH, and POST, the response is optional, so we can't issue a warning there.

jonathanrobie commented 9 years ago

I agree. This is straightforward.

On Sun, Aug 9, 2015 at 11:53 AM, Rémon (Ray) Sinnema < notifications@github.com> wrote:

For each HTTP method, we know whether it requires a request and/or response. Validation should issue warnings when these expectations are violated.

Note that for PUT, PATCH, and POST, the response is optional, so we can't issue a warning there.

— Reply to this email directly or view it on GitHub https://github.com/restful-api-description-language/RADL/issues/33.