• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX