Phil, great stuff as always, but I’m afraid you are missing the main point here: the laziness. It’s not about what is not possible with REST. It’s about the fact it is not in the box. If I want data validation with REST I have to demonstrate some a) knowledge and b) dedication. Your article is helping with the former. But providing the metadata and then programing the client / server to make use of / provide the metadata takes a non-trivial effort, and frankly, why I should do it in the live-fast code-faster world (rhetorical question)? Most of us would rather throw in some ready to eat solution.

If you ask me, this (a+b or lack of thereof) is the biggest problem of REST. In order to employ REST properly and benefit from it I need to understand it, they need to understand it and we need to do some extra legwork 🤸‍♂️ => laziness and short term speed wins most of the time.

)

    Zdenek “Z” Nemec

    Written by

    http://goodapi.co