3 ms·
The author sort of answers the title question without appearing to realize it. The answer is: "The things that exist are good enough for what people are usuall
by DannyBee 5y ago
The author sort of answers the title question without appearing to realize it.
The answer is: "The things that exist are good enough for what people are usually trying to do"
It's unclear what the author's real use case is.
The reason proto/etc suffice for most people is that they do not care about the physical format, and control it.
As a result, there is no need to define it explicitly or separately, and mostly people don't care to.
The folks that need to control the physical format are often those reading other people's formats. In a lot of cases, those producing the format don't care if you can read it or not :). They are often part of some ecosystem (say, photoshop, or whatever).
As a result, they wouldn't use an "openapi for binary formats" even if it existed.
For lots of other kinds of standardized formats to read (video, image, etc), these days the processing is harder than the parsing. Not that it's worth nothing, mind you, but that i doubt you would find a lot of people care enough to think it's worth it.
You also start to get into fairly different kinds of formats quickly (IE network protocol formats vs file formats), and those differences often lend themselves to different abstractions (IE you often want to be able to stream decode network formats, but may care less about stream decoding file formats, etc).
The market that remains to be served well here seems pretty small.
Certainly there are folks who want to control the physical format for some reason (whether they need to or not), etc.
But again, that feels like a small fraction of cases.
As a result, nobody felt enough of a need for OpenAPI for binary formats to push very hard on it.
(and attempts at doing so in the past have failed for lack of value)