microsoft / OpenAPI.NET

The OpenAPI.NET SDK contains a useful object model for OpenAPI documents in .NET along with common serializers to extract raw OpenAPI JSON and YAML documents from the model.
MIT License
1.41k stars 232 forks source link

Support ability to merge objects in OpenAPI.NET. for example merge requests, payloads.. #1558

Open njaci1 opened 8 months ago

darrelmiller commented 8 months ago

Can you clarify that you mean create a merged document by unioning the components from one document with the components from another document? Merging of objects means something very different and we are not likely to do that.

waldekmastykarz commented 7 months ago

In Dev Proxy we offer the ability to generate OpenAPI specs from intercepted requests and responses. Say, we intercept a request to /v1.0/me?$select=id,name and then another to /v1.0/me?$select=name,phone. We'd like to be able to merge both responses into one with 3 properties: id, name and phone.