dnv-kimbell
dnv-kimbell
I'm still very confused. In the spec you reference, Cat, Dog and Lizard are referenced using oneOf. In the generated schema, it's anyOf. The Pet type gets defined as any...
You would be correct in that we have an existing setup that we are looking at integrating this new functionality. I work on the platform team for an in-house set...
I'm guessing nothing much will be happening on this before RTM in a month, so I've started exploring workarounds using the transformer infrastructure. In an `IOpenApiSchemaTransformer` I can access polymorphic...
@captainsafia this is additional information for your question in #58406 about missing information. Lets say you want to generate code like this ```cs [JsonPolymorphic(TypeDiscriminatorPropertyName = "$dis")] [JsonDerivedType(typeof(Cat), typeDiscriminator: "cat")] [JsonDerivedType(typeof(Dog),...
We have an application portfolio spanning 150 repos containing deployable code; mixture of ASP.NET and Windows Services. In order to keep this maintainable and consistent, we have created a highly...
The reason why I started exploring this was to see if I could create a workaround for polymorphic types. I can't see how the information provided by the current Microsoft...
How does this new api allow us to enumerate all the existing schemas in the document? Some things can be done in a schema/operation transformer, but some things are easier...