Re:MessagePack: like JSON, but fast and small
by ClumsyPilot on Tuesday March 10, 2020 @02:18PM
(#22537981)
I have never seen any benefits of HATEOAS materialise - it is too free-form to be machine parceable, is it far more difficult to navigate than Swagger or GraphQ. Maybe I dont get something?
[ Parent
| on HN ]
Re:MessagePack: like JSON, but fast and small
by mumblemumble on Tuesday March 10, 2020 @02:33PM
(#22538119)
I don't ever machine parse it, but it can be useful for manual discovery if you get an API that isn't super well documented. I think I might generally prefer Swagger, too, but not everything is implemented in a language that has a library like that.
At the end of the day, though, I'd seriously much rather just have a halfway well commented *.proto file. Work smarter, not harder. It's just that I won't recommend that for public-facing APIs because GRPC isn't universally well supported, while JSON over HTTP is.