• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

counterfact / api-simulator / 25173415406
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: readme-explorable-prototype
DEFAULT BRANCH: main
Ran 30 Apr 2026 03:17PM UTC
Jobs 1
Files 69
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Apr 2026 03:13PM UTC coverage: 90.378% (+0.06%) from 90.317%
25173415406

Pull #1972

github

web-flow
fix: merge path-item-level parameters in the server dispatcher

The dispatcher now merges path-item-level parameters with operation-level
parameters when resolving an operation, so type conversion (e.g. integer
coercion), exploded-object query param reconstruction, and request validation
all honour parameters defined at the path item level.

Changes:
- OpenApiDocument.paths now types path item values as having an optional
  parameters?: OpenApiParameters[] field
- Added module-level mergeParameters() helper (shared logic with
  operation-type-coder.ts)
- findOperation() replaced by findPathItem(); operationForPathAndMethod()
  uses findPathItem() and merges parameters before returning the operation
- Two new dispatcher tests: path-item-only integer coercion; merge of
  path-item and operation-level parameters"

Agent-Logs-Url: https://github.com/counterfact/api-simulator/sessions/10835595-59ba-480c-88e8-4ffc7b8b93c4
Pull Request #1972: fix: include path-item-level parameters in generated TypeScript types and server runtime

2946 of 3338 branches covered (88.26%)

Branch coverage included in aggregate %.

146 of 148 new or added lines in 2 files covered. (98.65%)

2 existing lines in 1 file now uncovered.

10053 of 11045 relevant lines covered (91.02%)

120.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.2
-0.43% src/server/dispatcher.ts

Coverage Regressions

Lines Coverage ∆ File
2
93.2
-0.43% src/server/dispatcher.ts
Jobs
ID Job ID Ran Files Coverage
1 25173415406.1 30 Apr 2026 03:17PM UTC 138
90.64
GitHub Action Run
Source Files on build 25173415406
  • Tree
  • List 69
  • Changed 65
  • Source Changed 2
  • Coverage Changed 65
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25173415406
  • Pull Request #1972
  • PR Base - main (#25030397512)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc