News for hackers. Stuff that matters.
Re:OpenAPI v4 Proposal by echelon on Wednesday May 31, 2023 @06:29PM (#36145262)
Why not accept map keys as nullable similar to what non-required fields in protobuf do? Wouldn't arrays open you up to duplication?

More broadly, I'm interested in sparse field updates vs. full payload updates and how each of these handle nullable / emptyable fields. I haven't seen any protocol or standard handle these well.

Re:OpenAPI v4 Proposal by withinboredom on Thursday June 01, 2023 @05:09AM (#36148903)
Allow me to introduce you to RFC6902[1]. A standard of how to update without sending the whole thing. There are libraries for almost every language as well.

[1]: https://datatracker.ietf.org/doc/html/rfc6902/