LeroyK
LeroyK
@tuhland You mean [SDK-style project format](https://docs.microsoft.com/en-us/nuget/resources/check-project-format) right?
A combination of oneOf with allOf almost seems to work, except that the client code generator uses the first reference from the list of oneOf references to generate (C#) client...
The following code fixes the above. ```c# if (OneOf.Count > 1 && OneOf.Select(x => x.GetActualSchema(checkedSchemas)).ToList() is var oneOfActualSchemas && oneOfActualSchemas.All(x => x.AllOf.Count == 1) && oneOfActualSchemas.Select(x => x.AllOf.FirstOrDefault().GetActualSchema(checkedSchemas)).Distinct().ToList() is var...
Any idea when this will be available?
I have been running into similar issues when trying to clone an OpenApiDocument by serializing it to json and deserializing. Example values would be converted to incorrect types, even numeric...