Skip to content

[V] setOperationId

setOperationId: StateMapSetter<Operation, string>;

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

program

TypeSpec Program

entity

Operation to set ID for

opId

Operation ID