Re:An OpenAPI proxy that only allows data that matches your ...
by smt88 on Wednesday March 04, 2020 @12:16PM
(#22485577)
Yes. Schemas are useful. What alternative do you propose? The only other option I can imagine is sending the schema along with the object, in which case you should just be using XML instead of JSON.
Re:An OpenAPI proxy that only allows data that matches your ...
by _verandaguy on Wednesday March 04, 2020 @12:17PM
(#22485587)
I guess the selling point for REST still stands -- if you don't need any of that stuff, you can set up a much simpler API for rapid prototyping.
Re:An OpenAPI proxy that only allows data that matches your ...
by p_l on Wednesday March 04, 2020 @07:06PM
(#22489592)
REST is often used as a very, very limited transport model for a two-bit, buggy, incomplete and incoherent clone of SOAP, yes.
Unfortunately, neither REST nor SOAP are understood by majority of developers writing code for them (to this day, I insist that the real issue with SOAP was people using IDE code generation without ever studying how SOAP works)
Predefined schema, generate classes from schema, interact with it via HTTP.