DynamicSchemaAttribute Class

Definition

Marks a parameter or type whose schema is dynamically determined at runtime via a discovery endpoint. The discovery operation returns a JSON Schema describing the available properties based on user-selected parameters.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false)]
public sealed class DynamicSchemaAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false)>]
type DynamicSchemaAttribute = class
    inherit Attribute
Public NotInheritable Class DynamicSchemaAttribute
Inherits Attribute
Inheritance
DynamicSchemaAttribute
Attributes

Constructors

Name Description
DynamicSchemaAttribute(String)

Initializes a new instance of the DynamicSchemaAttribute class.

Properties

Name Description
OperationId

Gets the operation ID of the discovery method that provides the dynamic schema.

Applies to