News for hackers. Stuff that matters.
Re:Why isn't there a Swagger/OpenAPI for binary formats? by mkl95 on Friday March 25, 2022 @05:01PM (#30807012)
GRPC has a reflection protocol [1] that can be used to build Swagger style tools [2]

[1] https://github.com/grpc/grpc/blob/master/doc/server-reflecti...

[2] https://github.com/grpc-swagger/grpc-swagger

Re:Why isn't there a Swagger/OpenAPI for binary formats? by woodrowbarlow on Friday March 25, 2022 @05:27PM (#30807218)
(author here) i did not know about the reflection protocol. maybe this could be a model for how kaitai struct could avoid the "centralized bottleneck" they have now in terms of ecosystem growth.
Re:Why isn't there a Swagger/OpenAPI for binary formats? by luxurytent on Friday March 25, 2022 @07:37PM (#30807997)
You can see that reflection in action through tools like grpcui:

https://github.com/fullstorydev/grpcui