# declaredResponseSchema

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/openapi/response-origin.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/openapi/response-origin.ts#L99)

The response schema the handler's swagger decorators declare for `status`, if any.

`@ApiResponse({ status: 200, description: '…' })` with no `schema`/`type` declares nothing
about the body and is ignored — a description is prose, not a shape.

## Signature

```ts
function declaredResponseSchema(method: MethodDeclaration, status: string, ctx: OriginContext): Record<string, unknown> | undefined
```

## Parameters

| Name | Type |
|---|---|
| `method` | `MethodDeclaration` |
| `status` | `string` |
| `ctx` | `OriginContext` |

**Returns:** `Record<string, unknown> | undefined`
