Do you have micro services running? Do you use REST for communicating between them? Then maybe you should have a look at gRPC:
A high performance, open-source universal RPC framework
gRPC lets you define services and how the data should look like when calling and receiving replies from them. To define services you use something called Protocol buffers which is created by Google.
After you have defined the services gRPC generates client and server code, so you can implement the services and access the services from clients.
gRPC has support for a lot of programming languages, and in Visual Studio 2019, there's project templates for creating gRPC projects.
Try it out the next time you are creating a new service.