Delen via


OpenApiFunctionExecutionParameters.EnablePayloadNamespacing Property

Definition

Determines whether payload parameter names are augmented with namespaces. It's only applicable when EnableDynamicPayload property is set to true. Namespaces prevent naming conflicts by adding the parent parameter name as a prefix, separated by dots. For instance, without namespaces, the 'email' parameter for both the 'sender' and 'receiver' parent parameters would be resolved from the same 'email' argument, which is incorrect. However, by employing namespaces, the parameters 'sender.email' and 'sender.receiver' will be correctly resolved from arguments with the same names. See the 'Providing Payload for OpenAPI Functions' ADR for more details: https://github.com/microsoft/semantic-kernel/blob/main/docs/decisions/0062-open-api-payload.md

public bool EnablePayloadNamespacing { get; set; }
member this.EnablePayloadNamespacing : bool with get, set
Public Property EnablePayloadNamespacing As Boolean

Property Value

Applies to