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

---
```ts
listHttpOperationsIn(
   program, 
   container, 
   options?): [HttpOperation[], readonly Diagnostic[]]
```

Get all the Http Operation in the given container.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `program` | `Program` | Program |
| `container` | [`OperationContainer`](../type-aliases/OperationContainer.md) | Namespace or interface containing operations |
| `options`? | [`RouteResolutionOptions`](../interfaces/RouteResolutionOptions.md) | Resolution options |

## Returns

[[`HttpOperation`](../interfaces/HttpOperation.md)[], readonly `Diagnostic`[]]
