Interface IOpenApiDiscriminator
Marker interface that ensure the type have a "$type" discriminator in the open api schema.
Namespace: Umbraco.Cms.Api.Common.OpenApi
Assembly: Umbraco.Cms.Api.Common.dll
Syntax
public interface IOpenApiDiscriminator
Remarks
This is required when an endpoint can receive different types, to ensure the correct type is deserialized.