You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenApiSchemaReference type included in this package provides support for resolving schema references to the top-level components.schemas object. The object doesn't play nice if the reference is a relative reference to a property in a recursive schema.
The serializer seems to detect these relative references correctly and serialize the correct references. It would be great if these resolutions also worked in the object model, particularly for users taking advantage of consuming APIs' in ASP.NET Core like OpenAPI schema transformers.
The OpenApiSchemaReference type included in this package provides support for resolving schema references to the top-level
components.schemas
object. The object doesn't play nice if the reference is a relative reference to a property in a recursive schema.The serializer seems to detect these relative references correctly and serialize the correct references. It would be great if these resolutions also worked in the object model, particularly for users taking advantage of consuming APIs' in ASP.NET Core like OpenAPI schema transformers.
For example, given the following type hierarchy:
And the following schema:
#/properties/b
should map to the properties.b schema when interacting with theOpenApiSchemaReference
object for the schema.The text was updated successfully, but these errors were encountered: