effect icon indicating copy to clipboard operation
effect copied to clipboard

OpenAPISpecPathItem does not support path level "Common Parameters"

Open tatemz opened this issue 1 month ago • 0 comments

What version of Effect is running?

3.19.4

What steps can reproduce the bug?

Open API Common Parameters are supported at the path level.

Today only method keys are allowed on path items: https://github.com/Effect-TS/effect/blob/effect%403.19.4/packages/platform/src/OpenApi.ts#L590-L592

What is the expected behavior?

export type OpenAPISpecPathItem = {
  [K in OpenAPISpecMethodName]?: OpenAPISpecOperation
} & {
  parameters: Array<OpenAPISpecParameter>
}

What do you see instead?

export type OpenAPISpecPathItem = {
  [K in OpenAPISpecMethodName]?: OpenAPISpecOperation
}

Additional information

No response

tatemz avatar Nov 17 '25 19:11 tatemz