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 SourceOpenApiSettings()
Declaration
public OpenApiSettings()
Properties
View SourceGenerateContentTypeSchemas
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 |
|
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.