Remix.run Logo
9rx 2 hours ago

> Yes, it can be done with JSON and OpenApi, yet it’s not mandatory.

It is not mandatory for Protobuf either. You can construct a protobuf message with an implied structure just as you can with JSON. It does not violate the spec.

Protobuf ultimately gets the nod because it has better tooling (which isn't to be taken as praise towards Protobuf's tooling, but OpenAPI is worse).