---
jsApi: true
title: "[F] setRouteProducer"

---
```ts
setRouteProducer(
   program, 
   operation, 
   routeProducer): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `operation` | `Operation` |
| `routeProducer` | [`RouteProducer`](../type-aliases/RouteProducer.md) |

## Returns

`void`
