Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: spec-first/connexion
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.2.0
Choose a base ref
...
head repository: spec-first/connexion
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.3.0
Choose a head ref
  • 12 commits
  • 20 files changed
  • 7 contributors

Commits on Jan 11, 2025

  1. Update sqlalchemy example to work with Python 3.8, 3.9 and 3.10 (#2025)

    
    Co-authored-by: Ruwann <ruwanlambrichts@gmail.com>
    ifeLawal and Ruwann authored Jan 11, 2025
    Configuration menu
    Copy the full SHA
    550ba1a View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2025

  1. Update docstring of connexion.ConnexionMiddleware.add_api (#2030)

    Changes proposed in this pull request:
    - Update docstring of `connexion.ConnexionMiddleware.add_api` to match
    return value to actual return.
    
    ---------
    
    Co-authored-by: Ruwann <ruwanlambrichts@gmail.com>
    bastantoine and Ruwann authored Feb 1, 2025
    Configuration menu
    Copy the full SHA
    1d4bb81 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2025

  1. Specify skip for separate referencing package (#2049)

    Fixes the mypy error that is causing all pipelines to fail. Underlying
    reason seems to be that the `jsonschema` library was updated and
    factored out some code into a separate package. So updated it to also
    reference that file in our mypy overrides.
    
    Might be fixed for newer versions by this recent commit
    python-jsonschema/referencing@f830e4c
    Ruwann authored May 4, 2025
    Configuration menu
    Copy the full SHA
    62f8070 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2025

  1. 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>
    anna-intellegens and Ruwann authored May 28, 2025
    Configuration menu
    Copy the full SHA
    af3de6b View commit details
    Browse the repository at this point in the history
  2. Revise use of sed in-place option in tox.ini to support testing on Ma…

    …cOS (#2047)
    
    sed on Linux accepts an optional value with the `-i` flag, a file
    extension to use
    sed on MacOS requires a value with the `-i` flag, a file extension to
    use
    credit to
    https://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux
       
    This change fixes the following error seen when running tox on macOS:
    ```
    sed: 1: "s/"(\^|~|>=)([ 0-9])/"= ...": \2 not defined in the RE
    ```
    chrisinmtown authored May 28, 2025
    Configuration menu
    Copy the full SHA
    dd79c11 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2025

  1. Remove semicolon from text/plain content type in example Swagger specs (

    #2022)
    
    The extra semicolon causes a `NonConformingResponseHeaders` exception
    when response validation is enabled for the Swagger spec in these
    examples.
    chrisinmtown authored Jun 9, 2025
    Configuration menu
    Copy the full SHA
    a1c53db View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2025

  1. Configuration menu
    Copy the full SHA
    8e8a89d View commit details
    Browse the repository at this point in the history
  2. Bump pypa/gh-action-pypi-publish from 1.5.0 to 1.13.0 in /.github/wor…

    …kflows (#2079)
    
    Bumps
    [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish)
    from 1.5.0 to 1.13.0.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/pypa/gh-action-pypi-publish/releases">pypa/gh-action-pypi-publish's
    releases</a>.</em></p>
    <blockquote>
    <h2>v1.13.0</h2>
    <!-- raw HTML omitted -->
    <blockquote>
    <p>[!important]
    🚨 This release includes fixes for <a
    href="https://github.com/pypa/gh-action-pypi-publish/security/advisories/GHSA-vxmw-7h4f-hqxh">GHSA-vxmw-7h4f-hqxh</a>
    discovered by <a
    href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
    href="https://github.com/sponsors/woodruffw">💰</a>.
    We've also integrated <a href="http://zizmor.sh">Zizmor</a> to catch
    similar issues in the future and you should too.</p>
    </blockquote>
    <h2>✨ New Stuff</h2>
    <p><a href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
    href="https://github.com/sponsors/woodruffw">💰</a> updated the README to
    no longer mention the attestations feature being experimental in <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/347">#347</a>:
    it's been rather stable for a year already 🎉
    He also added more diagnostic output which includes printing out the
    GitHub Environment claim via <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/371">#371</a>
    and warning about the unsupported reusable workflows configurations <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/306">#306</a>,
    when using Trusted Publishing.</p>
    <blockquote>
    <p>[!tip]
    The official support for reusable workflows is currently blocked on
    changes to PyPI. To get updates about progress on the action side, you
    may want to subscribe to <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/166">#166</a>.
    At PyCon US 2025 Sprints, <a
    href="https://github.com/facutuesca"><code>@​facutuesca</code></a><a
    href="https://github.com/sponsors/facutuesca">💰</a>, <a
    href="https://github.com/miketheman"><code>@​miketheman</code></a><a
    href="https://github.com/sponsors/miketheman">💰</a>, <a
    href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
    href="https://github.com/sponsors/woodruffw">💰</a> and I<a
    href="https://github.com/sponsors/webknjaz">💰</a> spent several hours
    IRL brainstorming how to fix this and migrate projects that happen to
    rely on an obscure corner case with reusable workflows that temporarily
    allows them to function by accident.
    The result of that discussion is posted @ <a
    href="https://redirect.github.com/pypi/warehouse/issues/11096#issuecomment-2895081700">pypi/warehouse#11096</a>.
    Note that this is a volunteer-led effort and there is no ETA. If you
    need this soon, make your employer sponsor the PSF and maybe they'll be
    able to hire somebody for this work on Warehouse.</p>
    </blockquote>
    <p>In addition to that, <a
    href="https://github.com/konstin"><code>@​konstin</code></a><a
    href="https://github.com/sponsors/konstin">💰</a> sent <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/378">#378</a>
    to pin <code>actions/setup-python</code> to a SHA hash. This makes
    <code>pypi-publish</code> compatible with new GitHub policies that allow
    organizations to mandate hash-pinning actions used in workflows.</p>
    <h2>🛠️ Internal Dependencies</h2>
    <p><a href="https://github.com/webknjaz"><code>@​webknjaz</code></a><a
    href="https://github.com/sponsors/webknjaz">💰</a> made a bunch of
    updates to the action runtime which includes bumping it to Python 3.13
    in <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/331">#331</a>
    and updating the dependency tree across the board.
    <code>pip-with-requires-python</code> is no longer being installed (<a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/332">#332</a>).
    Some related bumps were contributed by <a
    href="https://github.com/woodruffw"><code>@​woodruffw</code></a><a
    href="https://github.com/sponsors/woodruffw">💰</a> (<a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/359">#359</a>)
    and <a
    href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a><a
    href="https://github.com/sponsors/kurtmckee">💰</a> sent a
    contributor-facing PR, bumping the linting configuration via <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/335">#335</a>.</p>
    <h2>💪 New Contributors</h2>
    <ul>
    <li><a href="https://github.com/kurtmckee"><code>@​kurtmckee</code></a>
    made their first contribution in <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/335">#335</a></li>
    <li><a href="https://github.com/konstin"><code>@​konstin</code></a> made
    their first contribution in <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/378">#378</a></li>
    </ul>
    <p><strong>🪞 Full Diff</strong>: <a
    href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.4...v1.13.0">https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.4...v1.13.0</a></p>
    <p><strong>🧔‍♂️ Release Manager:</strong> <a
    href="https://github.com/sponsors/webknjaz"><code>@​webknjaz</code></a>
    <a href="https://stand-with-ukraine.pp.ua">🇺🇦</a></p>
    <p><strong>💬 Discuss</strong> <a
    href="https://bsky.app/profile/webknjaz.me/post/3lxxzvzhvfc2e">on
    Bluesky 🦋</a>, <a
    href="https://mastodon.social/@webknjaz/115143522527224444">on Mastodon
    🐘</a> and <a
    href="https://github.com/pypa/gh-action-pypi-publish/discussions/379">on
    GitHub</a>.</p>
    <p><a href="https://github.com/sponsors/webknjaz"><img
    src="https://img.shields.io/badge/%40webknjaz-transparent?logo=githubsponsors&amp;logoColor=%23EA4AAA&amp;label=Sponsor&amp;color=2a313c"
    alt="GH Sponsors badge" /></a></p>
    <h2>v1.12.4</h2>
    <!-- raw HTML omitted -->
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e"><code>ed0c539</code></a>
    📦📌 Bump the pinned dependency tree</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/77db1b7cf7dcea2e403bb4350516284282740dd6"><code>77db1b7</code></a>
    Merge branch PR <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/306">#306</a>,
    GHSA-vxmw-7h4f-hqxh fix and PR <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/378">#378</a>
    into unstable/v1</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/280b3a1b7e38a360b85b4ee41645d27b79bde3fc"><code>280b3a1</code></a>
    Alias <code>typing as t</code> in imports</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/e380240d7e3673f460e0621686f33fbbf9594e85"><code>e380240</code></a>
    Use <code>object</code> in place of <code>typing.Any</code> in
    annotations</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/e50bff6eb477e46de0cbacc0693737ecb690eb0f"><code>e50bff6</code></a>
    Deduplicate claim ref lookup</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/decbc9a5d448364aa64c211724dc79a2cefcab2a"><code>decbc9a</code></a>
    Hint people to subscribe to <a
    href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/166">#166</a>
    for notifications</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/8208ad36a18e6fdd644f6ad69dc70c833d8af633"><code>8208ad3</code></a>
    Ask not to report bugs with reusable workflow</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/ff0fef5bdb66aa250f741d5d8b00a8b78b9dffd5"><code>ff0fef5</code></a>
    🧪 Scope WPS202 suppression to specific files</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/1293b8c325b5f9abcab5160ee3553de2ee6a883f"><code>1293b8c</code></a>
    Use yamllint disable line length lint</li>
    <li><a
    href="https://github.com/pypa/gh-action-pypi-publish/commit/ed01280d14b6f9a0edaa1a5494d8f7ffed709083"><code>ed01280</code></a>
    Linter (different rule)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.5.0...v1.13.0">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pypa/gh-action-pypi-publish&package-manager=github_actions&previous-version=1.5.0&new-version=1.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    You can trigger a rebase of this PR by commenting `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the
    [Security Alerts
    page](https://github.com/spec-first/connexion/network/alerts).
    
    </details>
    
    > **Note**
    > Automatic rebases have been disabled on this pull request as it has
    been open for over 30 days.
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    cf95a73 View commit details
    Browse the repository at this point in the history
  3. Fix Python 3.14 test suite (#2090)

    Typo introduced in #2088,
    which was silently ignored by Github.
    RobbeSneyders authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    0bf9d1f View commit details
    Browse the repository at this point in the history
  4. Fix spec clone method and usage of raw vs resolved spec (#2089)

    This PR fixes an issue introduced in #2002, and the original issue #2002
    was trying to address.
    
    The original issue was that a cloned spec did not have properly resolved
    references. #2002 fixed this incorrectly by cloning the resolved spec,
    while the `Spec` initializer expects a raw spec.
    
    This PR fixes this by cloning the raw spec, and passing the `base_uri`
    required to resolve it along to the initializer of the new `Spec`
    instance.
    
    The swagger ui was also updated to use the resolved spec instead of the
    raw spec.
    
    Supersedes:
    #1889
    #2080
    
    Fixes:
    #1890
    #1909
    #2028 
    #2029
    RobbeSneyders authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    f22a7a7 View commit details
    Browse the repository at this point in the history
  5. Extend tox.ini with testpaths and {posargs} in poetry-pytest invoca…

    …tion (#2067)
    
    This allows limiting the scope of the test run, which can save much
    time.
        
    Run one test in one test environment:
        
        tox -e py39 -- tests/test_api.py::test_api
        
    Run one test in all test environments:
        
        tox -- tests/test_api.py::test_api
        
    Run all tests in one file in one test environment:
        
        tox -e py39 -- tests/test_api.py
        
    Run all tests in one file in all test environments:
        
        tox -- tests/test_api.py
    chrisinmtown authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    dd30548 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    aca6511 View commit details
    Browse the repository at this point in the history
Loading