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: go-openapi/analysis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.26.0
Choose a base ref
...
head repository: go-openapi/analysis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.26.1
Choose a head ref
  • 16 commits
  • 253 files changed
  • 4 contributors

Commits on Aug 14, 2026

  1. chore(deps): Bump the development-dependencies group with 10 updates

    Bumps the development-dependencies group with 10 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [go-openapi/ci-workflows/.github/workflows/auto-merge.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/codeql.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/contributors.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/collect-coverage.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/scanner.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/release.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    | [go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml](https://github.com/go-openapi/ci-workflows) | `0.4.3` | `0.4.4` |
    
    
    Updates `go-openapi/ci-workflows/.github/workflows/auto-merge.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/codeql.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/contributors.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/collect-coverage.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/scanner.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/release.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    Updates `go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml` from 0.4.3 to 0.4.4
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@befbc52...d87ca69)
    
    ---
    updated-dependencies:
    - dependency-name: go-openapi/ci-workflows/.github/workflows/auto-merge.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/codeql.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/contributors.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/collect-coverage.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/scanner.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/release.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml
      dependency-version: 0.4.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Aug 14, 2026
    Configuration menu
    Copy the full SHA
    d3354b0 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2026

  1. test(normalize): rebase remote refs against a local httptest server (#…

    …231)
    
    The remote ref cases used a hardcoded https://example.com base, a domain
    we don't control. They now rebase against an httptest TLS server, so the
    base URL is locally owned and carries a port, a shape the previous
    fixture never covered. A closing check fetches the rebased ref to confirm
    it resolves against that server.
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
    fredbi and claude authored Aug 16, 2026
    Configuration menu
    Copy the full SHA
    4814722 View commit details
    Browse the repository at this point in the history
  2. test: rename fixtures directories to testdata

    Test material now lives in testdata/, diff/testdata/ and
    internal/testintegration/testdata/. The Go toolchain gives testdata a
    defined meaning — package patterns, vet and the build all skip it —
    whereas fixtures/ was ours alone.
    
    The embedded tree in the testintegration module keeps working: go:embed
    places no restriction on testdata, so the directive is just retargeted.
    
    Note this does not change what consumers download. Module zips carry
    testdata verbatim; only nested modules are excluded from the parent zip.
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Aug 16, 2026
    Configuration menu
    Copy the full SHA
    8ad600d View commit details
    Browse the repository at this point in the history
  3. chore: tune quality reporting tools

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Aug 16, 2026
    Configuration menu
    Copy the full SHA
    89a3c48 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #232 from fredbi/test/testdata-convention

    Test/testdata convention
    fredbi authored Aug 16, 2026
    Configuration menu
    Copy the full SHA
    8db696f View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2026

  1. chore: updated go dependencies (#233)

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi authored Aug 17, 2026
    Configuration menu
    Copy the full SHA
    ce13739 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2026

  1. chore(deps): Bump github.com/go-openapi/loads

    Bumps the go-openapi-dependencies group with 1 update: [github.com/go-openapi/loads](https://github.com/go-openapi/loads).
    
    
    Updates `github.com/go-openapi/loads` from 0.25.0 to 0.25.1
    - [Release notes](https://github.com/go-openapi/loads/releases)
    - [Commits](go-openapi/loads@v0.25.0...v0.25.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/loads
      dependency-version: 0.25.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Aug 21, 2026
    Configuration menu
    Copy the full SHA
    466a010 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2026

  1. chore(deps): Bump the development-dependencies group across 1 directo…

    …ry with 10 updates
    
    Bumps the development-dependencies group with 10 updates in the / directory:
    
    | Package | From | To |
    | --- | --- | --- |
    | [go-openapi/ci-workflows/.github/workflows/auto-merge.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/codeql.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/contributors.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/collect-coverage.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/scanner.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/release.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml](https://github.com/go-openapi/ci-workflows) | `0.4.4` | `0.6.0` |
    
    
    
    Updates `go-openapi/ci-workflows/.github/workflows/auto-merge.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/codeql.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/contributors.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/collect-coverage.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/scanner.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/release.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    Updates `go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml` from 0.4.4 to 0.6.0
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@d87ca69...81c95ab)
    
    ---
    updated-dependencies:
    - dependency-name: go-openapi/ci-workflows/.github/workflows/auto-merge.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/codeql.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/collect-coverage.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/contributors.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/release.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/scanner.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml
      dependency-version: 0.6.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: development-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Aug 22, 2026
    Configuration menu
    Copy the full SHA
    65dd90a View commit details
    Browse the repository at this point in the history
  2. chore: dependabot schedule is now twice a week (#236)

    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    fredbi authored Aug 22, 2026
    Configuration menu
    Copy the full SHA
    6a6a5b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2026

  1. Configuration menu
    Copy the full SHA
    7b3c465 View commit details
    Browse the repository at this point in the history
  2. chore(deps): Bump the go-openapi-dependencies group across 2 director…

    …ies with 3 updates
    
    Bumps the go-openapi-dependencies group with 3 updates in the / directory: [github.com/go-openapi/swag/jsonutils](https://github.com/go-openapi/swag), [github.com/go-openapi/swag/loading](https://github.com/go-openapi/swag) and [github.com/go-openapi/swag/mangling](https://github.com/go-openapi/swag).
    Bumps the go-openapi-dependencies group with 1 update in the /internal/testintegration directory: [github.com/go-openapi/swag/loading](https://github.com/go-openapi/swag).
    
    
    Updates `github.com/go-openapi/swag/jsonutils` from 0.28.0 to 0.29.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.28.0...v0.29.0)
    
    Updates `github.com/go-openapi/swag/loading` from 0.28.0 to 0.29.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.28.0...v0.29.0)
    
    Updates `github.com/go-openapi/swag/mangling` from 0.28.0 to 0.29.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.28.0...v0.29.0)
    
    Updates `github.com/go-openapi/swag/loading` from 0.28.0 to 0.29.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.28.0...v0.29.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/swag/jsonutils
      dependency-version: 0.29.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/loading
      dependency-version: 0.29.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/mangling
      dependency-version: 0.29.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/loading
      dependency-version: 0.29.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and github-actions[bot] committed Aug 24, 2026
    Configuration menu
    Copy the full SHA
    465c8c5 View commit details
    Browse the repository at this point in the history
  3. doc: technical writing rules for agents

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Aug 24, 2026
    Configuration menu
    Copy the full SHA
    765b296 View commit details
    Browse the repository at this point in the history
  4. fix(flatten): import the target of a $ref held by an unmapped keyword

    A keyword the Swagger 2.0 model does not map - propertyNames, contains,
    if/then/else, $defs - lands in spec.Schema.ExtraProps as raw JSON, and
    analyzeSchema never looked there. Flatten imported the subtree holding such
    a $ref and left the pointer untouched, so "#/definitions/leaf" ended up
    naming a definition of the root document: nothing at all when the root had
    no definition of that name, and an unrelated schema when it had one. The
    second case validates, wrongly, and reports no error.
    
    analyzeSchema now walks ExtraProps and records what it finds in
    referenceAnalysis.unmappedRefs, keyed by the node holding the $ref
    ("#/definitions/deep/if/anyOf/0"). The index is deliberately kept out of
    allRefs and schemas: AllRefs, AllReferences and AllDefinitionReferences
    address schemas through the model, and a key naming a raw JSON node is of no
    use to them or to what go-swagger builds on them. Their contents are
    unchanged.
    
    Flatten consults the new index where it has to: normalizeRef strips the
    absolute base from those $ref too, importExternalReferences indexes them
    alongside the mapped ones so the target is imported and named through
    uniqifyName, importNewRef rebases them onto the document they came from, and
    removeUnusedSinglePass counts them as a use - without that last one, the
    definition just imported would be pruned again.
    
    replace.UpdateRef gains two cases for raw JSON nodes. No spec-side change is
    needed: jsonpointer hands back a copy of the any that holds the map, and a
    copied map shares its storage, so writing to it reaches the document.
    
    A document where a mapped $ref happens to pull the same target in was
    already flattened correctly, by coincidence. Its output is unchanged.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi and claude committed Aug 24, 2026
    Configuration menu
    Copy the full SHA
    1204c7e View commit details
    Browse the repository at this point in the history
  5. fix: upgraded spec to onboard expand fixes

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Aug 24, 2026
    Configuration menu
    Copy the full SHA
    b7a8777 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #238 from fredbi/fix/flatten-spec-bugs

    Fix/flatten spec bugs
    fredbi authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    75424e4 View commit details
    Browse the repository at this point in the history
  7. chore: prepare release v0.26.1

    Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    bot-go-openapi[bot] authored and github-actions[bot] committed Aug 24, 2026
    Configuration menu
    Copy the full SHA
    fd7602c View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址