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

spec-first / connexion / 15307361208
94%

Build:
DEFAULT BRANCH: main
Ran 28 May 2025 06:08PM 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 2025 06:06PM UTC coverage: 94.354% (-0.07%) from 94.419%
15307361208

push

github

web-flow
Custom auth types in security_map (#1940)

Allow definition of new auth types (not just schemes) to be passed in to
security_map
This is particularly motivated by wanting to support OpenIDConnect auth
type, but was running into an error as it couldn't find the `scheme` key
(as it's not permitted in the schema by the openAPI validator).

The
[docs](https://connexion.readthedocs.io/en/stable/security.html#security)
imply that you should be able to implement a custom scheme for this,
instead I would get a
[`KeyError`](https://gist.github.com/anna-intellegens/0161d967de923030a1cc9f822160a13a).

Changes proposed in this pull request:

- Update `parse_security_schemes` to allow the detection of auth types,
not just schemes.

---------

Co-authored-by: Ruwann <ruwanlambrichts@gmail.com>

6 of 10 new or added lines in 1 file covered. (60.0%)

3660 of 3879 relevant lines covered (94.35%)

4.71 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
87.5
-0.69% connexion/security.py
Jobs
ID Job ID Ran Files Coverage
1 test-3.12 - 15307361208.1 28 May 2025 06:11PM UTC 54
94.35
2 test-3.11 - 15307361208.2 28 May 2025 06:11PM UTC 54
94.35
3 test-3.8 - 15307361208.3 28 May 2025 06:11PM UTC 54
94.33
4 test-3.10 - 15307361208.4 28 May 2025 06:11PM UTC 54
94.35
5 test-3.9 - 15307361208.5 28 May 2025 06:11PM UTC 54
94.33
Source Files on build 15307361208
  • Tree
  • List 54
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • af3de6b1 on github
  • Prev Build on main (#14824435045)
  • Next Build on main (#15307794694)
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

© 2025 Coveralls, Inc