by _heimdall · 7mo ago · 0 comments
Had we not made that wrong turn, LLMs and humans would have a much easier time reasoning about APIs they don't directly control.
REST has nothing to do with structured data or discoverability.
trpc, grpc, etc are all attempts to add schemas back into JSON. Swagger, OpenAPI, etc are attempts to add discover ability back into JSON-based RPC APIs.
MCPs fall in here as well, which attempt to add schemas and discover ability back in where our APIs aren't actually RESTful.