3 ms·
> next to the yaml of openapi anything will look good. Challenge accepted! https://github.com/bufbuild/protovalidate/blob/main/examples/cel_field_presence.pro
by tshaddox 3y ago
> next to the yaml of openapi anything will look good.
Challenge accepted!
https://github.com/bufbuild/protovalidate/blob/main/examples/cel_field_presence.proto https://github.com/bufbuild/protovalidate/blob/main/examples...
- zaphodias 3y agoit doesn't look worse than OpenAPI's yaml to me it's fairly concise, the method and the request/response types are well separated and readable the only thing I could argue with is mixing validation and type defs, as it looks like one of these things that quickly evolve over time and you end up duplicating both in the schema and the business logic