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

spec-first / connexion / 9266386129
94%

Build:
DEFAULT BRANCH: main
Ran 28 May 2024 08:55AM UTC
Jobs 5
Files 54
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

28 May 2024 08:53AM UTC coverage: 94.147% (-0.03%) from 94.177%
9266386129

push

github

web-flow
Split parsing from validation completely (#1934)

During the refactoring for Connexion 3, we deduplicated all
`coerce_type` calls during the refactoring and moved them into the
`uri_parser` so it is done in a single place. When looking into #1931
however, I noticed we are still using the `uri_parser` from more places
than we should.

This PR centralizes the parsing further into the `ConnexionRequest`
class. During validation, we now instantiate a `ConnexionRequest`
instead of a Starlette `Request`, and leverage it instead of calling the
`uri_parser` directly.

I split the parsing and validation in the tests so they can be tested in
isolation.

4 of 4 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

3635 of 3861 relevant lines covered (94.15%)

4.7 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.3
-1.32% connexion/validators/parameter.py
Jobs
ID Job ID Ran Files Coverage
1 test-3.12 - 9266386129.1 28 May 2024 08:57AM UTC 54
94.15
2 test-3.8 - 9266386129.2 28 May 2024 08:57AM UTC 54
94.12
3 test-3.11 - 9266386129.3 28 May 2024 08:57AM UTC 54
94.15
4 test-3.9 - 9266386129.4 28 May 2024 08:57AM UTC 54
94.12
5 test-3.10 - 9266386129.5 28 May 2024 08:57AM UTC 54
94.15
Source Files on build 9266386129
  • Tree
  • List 54
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 823fa6c0 on github
  • Prev Build on main (#9265422462)
  • Next Build on main (#9298624510)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc