Skip to content

[V] setOperationId

setOperationId: StateMapSetter<Operation, string>;

Set a specific operation ID programmatically. Equivalent of using @operationId decorator.

TypeSpec Program

Operation to set ID for

Operation ID