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

---
```ts
getRouteProducer(program, operation): RouteProducer
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `operation` | `Operation` |

## Returns

[`RouteProducer`](../type-aliases/RouteProducer.md)
