Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeliveryApiSettings.OpenApiSettings

    Typed configuration options for the OpenAPI document of the Delivery API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class DeliveryApiSettings.OpenApiSettings

    Constructors

    View Source

    OpenApiSettings()

    Declaration
    public OpenApiSettings()

    Properties

    View Source

    GenerateContentTypeSchemas

    Gets or sets a value indicating whether the Delivery API OpenAPI document should include schemas for the instance's content types (document types, element types, and media types).

    Declaration
    public bool GenerateContentTypeSchemas { get; set; }
    Property Value
    Type Description
    bool

    true to generate content-type-specific schemas in the OpenAPI document; false to use only the base interface schemas.

    Remarks

    When enabled, the OpenAPI document will contain content-type-specific schemas with their specific properties. When disabled (default), only the base interface schemas will be used.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX