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/validate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: go-openapi/validate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.1
Choose a head ref
  • 10 commits
  • 21 files changed
  • 4 contributors

Commits on Sep 9, 2026

  1. chore(deps): bump the go-openapi-dependencies group with 10 updates

    Bumps the go-openapi-dependencies group with 10 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [github.com/go-openapi/jsonpointer](https://github.com/go-openapi/jsonpointer) | `1.0.0` | `1.0.1` |
    | [github.com/go-openapi/loads](https://github.com/go-openapi/loads) | `0.25.2` | `0.25.3` |
    | [github.com/go-openapi/spec](https://github.com/go-openapi/spec) | `1.0.0` | `1.0.1` |
    | [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt) | `0.27.1` | `0.27.2` |
    | [github.com/go-openapi/swag/conv](https://github.com/go-openapi/swag) | `0.29.1` | `0.29.2` |
    | [github.com/go-openapi/swag/fileutils](https://github.com/go-openapi/swag) | `0.29.1` | `0.29.2` |
    | [github.com/go-openapi/swag/jsonutils](https://github.com/go-openapi/swag) | `0.29.1` | `0.29.2` |
    | [github.com/go-openapi/swag/loading](https://github.com/go-openapi/swag) | `0.29.1` | `0.29.2` |
    | [github.com/go-openapi/swag/pools](https://github.com/go-openapi/swag) | `0.29.1` | `0.29.2` |
    | [github.com/go-openapi/swag/stringutils](https://github.com/go-openapi/swag) | `0.29.1` | `0.29.2` |
    
    
    Updates `github.com/go-openapi/jsonpointer` from 1.0.0 to 1.0.1
    - [Release notes](https://github.com/go-openapi/jsonpointer/releases)
    - [Commits](go-openapi/jsonpointer@v1.0.0...v1.0.1)
    
    Updates `github.com/go-openapi/loads` from 0.25.2 to 0.25.3
    - [Release notes](https://github.com/go-openapi/loads/releases)
    - [Commits](go-openapi/loads@v0.25.2...v0.25.3)
    
    Updates `github.com/go-openapi/spec` from 1.0.0 to 1.0.1
    - [Release notes](https://github.com/go-openapi/spec/releases)
    - [Commits](go-openapi/spec@v1.0.0...v1.0.1)
    
    Updates `github.com/go-openapi/strfmt` from 0.27.1 to 0.27.2
    - [Release notes](https://github.com/go-openapi/strfmt/releases)
    - [Commits](go-openapi/strfmt@v0.27.1...v0.27.2)
    
    Updates `github.com/go-openapi/swag/conv` from 0.29.1 to 0.29.2
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.29.1...v0.29.2)
    
    Updates `github.com/go-openapi/swag/fileutils` from 0.29.1 to 0.29.2
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.29.1...v0.29.2)
    
    Updates `github.com/go-openapi/swag/jsonutils` from 0.29.1 to 0.29.2
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.29.1...v0.29.2)
    
    Updates `github.com/go-openapi/swag/loading` from 0.29.1 to 0.29.2
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.29.1...v0.29.2)
    
    Updates `github.com/go-openapi/swag/pools` from 0.29.1 to 0.29.2
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.29.1...v0.29.2)
    
    Updates `github.com/go-openapi/swag/stringutils` from 0.29.1 to 0.29.2
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.29.1...v0.29.2)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/jsonpointer
      dependency-version: 1.0.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/loads
      dependency-version: 0.25.3
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/spec
      dependency-version: 1.0.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/strfmt
      dependency-version: 0.27.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/conv
      dependency-version: 0.29.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/fileutils
      dependency-version: 0.29.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/jsonutils
      dependency-version: 0.29.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/loading
      dependency-version: 0.29.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/pools
      dependency-version: 0.29.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/stringutils
      dependency-version: 0.29.2
      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 Sep 9, 2026
    Configuration menu
    Copy the full SHA
    9865f54 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2026

  1. chore(deps): bump the development-dependencies group with 9 updates

    Bumps the development-dependencies group with 9 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [go-openapi/ci-workflows/.github/workflows/auto-merge.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/bump-release.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/codeql.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/contributors.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/go-test.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/scanner.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/release.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    | [go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml](https://github.com/go-openapi/ci-workflows) | `0.6.1` | `0.6.2` |
    
    
    Updates `go-openapi/ci-workflows/.github/workflows/auto-merge.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/bump-release.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/codeql.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/contributors.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/go-test.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/scanner.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/release.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    Updates `go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml` from 0.6.1 to 0.6.2
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@38ed6bf...cba06a2)
    
    ---
    updated-dependencies:
    - dependency-name: go-openapi/ci-workflows/.github/workflows/auto-merge.yml
      dependency-version: 0.6.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/bump-release.yml
      dependency-version: 0.6.2
      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.6.2
      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.6.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/go-test.yml
      dependency-version: 0.6.2
      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.6.2
      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.6.2
      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.6.2
      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.6.2
      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 Sep 11, 2026
    Configuration menu
    Copy the full SHA
    ea2780b View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2026

  1. chore(deps): bump github.com/go-openapi/testify/v2

    Bumps the go-openapi-dependencies group with 1 update: [github.com/go-openapi/testify/v2](https://github.com/go-openapi/testify).
    
    
    Updates `github.com/go-openapi/testify/v2` from 2.7.0 to 2.8.0
    - [Release notes](https://github.com/go-openapi/testify/releases)
    - [Commits](go-openapi/testify@v2.7.0...v2.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/testify/v2
      dependency-version: 2.8.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 Sep 12, 2026
    Configuration menu
    Copy the full SHA
    a30278f View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2026

  1. chore(deps): bump github.com/go-openapi/errors

    Bumps the go-openapi-dependencies group with 1 update: [github.com/go-openapi/errors](https://github.com/go-openapi/errors).
    
    
    Updates `github.com/go-openapi/errors` from 0.22.8 to 0.22.9
    - [Release notes](https://github.com/go-openapi/errors/releases)
    - [Commits](go-openapi/errors@v0.22.8...v0.22.9)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/errors
      dependency-version: 0.22.9
      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 Sep 26, 2026
    Configuration menu
    Copy the full SHA
    0ba214d View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2026

  1. chore(deps): bump github.com/go-openapi/jsonpointer

    Bumps the go-openapi-dependencies group with 1 update: [github.com/go-openapi/jsonpointer](https://github.com/go-openapi/jsonpointer).
    
    
    Updates `github.com/go-openapi/jsonpointer` from 1.0.1 to 1.0.2
    - [Release notes](https://github.com/go-openapi/jsonpointer/releases)
    - [Commits](go-openapi/jsonpointer@v1.0.1...v1.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/jsonpointer
      dependency-version: 1.0.2
      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 Sep 30, 2026
    Configuration menu
    Copy the full SHA
    534d81d View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2026

  1. doc: updated contributors file

    Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    bot-go-openapi[bot] authored and github-actions[bot] committed Oct 1, 2026
    Configuration menu
    Copy the full SHA
    d56dbb5 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2026

  1. chore(deps): bump the development-dependencies group with 9 updates

    Bumps the development-dependencies group with 9 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [go-openapi/ci-workflows/.github/workflows/auto-merge.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/bump-release.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/codeql.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/contributors.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/go-test.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/scanner.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/release.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    | [go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml](https://github.com/go-openapi/ci-workflows) | `0.6.2` | `0.6.3` |
    
    
    Updates `go-openapi/ci-workflows/.github/workflows/auto-merge.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/bump-release.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/codeql.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/contributors.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/go-test.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/scanner.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/release.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    Updates `go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml` from 0.6.2 to 0.6.3
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@cba06a2...69a76bc)
    
    ---
    updated-dependencies:
    - dependency-name: go-openapi/ci-workflows/.github/workflows/auto-merge.yml
      dependency-version: 0.6.3
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/bump-release.yml
      dependency-version: 0.6.3
      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.6.3
      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.6.3
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: development-dependencies
    - dependency-name: go-openapi/ci-workflows/.github/workflows/go-test.yml
      dependency-version: 0.6.3
      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.6.3
      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.6.3
      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.6.3
      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.6.3
      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 Oct 9, 2026
    Configuration menu
    Copy the full SHA
    9b52ade View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2026

  1. chore(deps): bump the go-openapi-dependencies group across 1 director…

    …y with 2 updates
    
    Bumps the go-openapi-dependencies group with 2 updates in the / directory: [github.com/go-openapi/analysis](https://github.com/go-openapi/analysis) and [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt).
    
    
    Updates `github.com/go-openapi/analysis` from 1.0.0 to 1.0.1
    - [Release notes](https://github.com/go-openapi/analysis/releases)
    - [Commits](go-openapi/analysis@v1.0.0...v1.0.1)
    
    Updates `github.com/go-openapi/strfmt` from 0.27.2 to 0.27.3
    - [Release notes](https://github.com/go-openapi/strfmt/releases)
    - [Commits](go-openapi/strfmt@v0.27.2...v0.27.3)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/analysis
      dependency-version: 1.0.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/strfmt
      dependency-version: 0.27.3
      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 Oct 10, 2026
    Configuration menu
    Copy the full SHA
    d16ffd7 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2026

  1. Recursion guard (#306)

    * fix: do not redeem a pooled validator twice when Validate panics
    
    With recycled validators, SchemaValidator.Validate and the allOf, anyOf,
    oneOf and not loops of schemaPropsValidator cleared the slot of a child
    only after the child's Validate returned. A child redeems itself in a
    deferred call, so when its Validate panicked (e.g. a $ref under a
    property that cannot be expanded), the parent's deferred redeemChildren
    redeemed it a second time.
    
    The pool then hands the same object to two later borrowers. A server
    survives the panic (net/http recovers handler panics), so later
    requests could share validator state and return wrong results.
    
    Clear the slot before calling Validate. TestPools_NoDoubleRedeemOnPanic
    reproduces it with -tags poolsdebug, which reports the double redeem.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    
    * fix: cap the validators built for allOf, anyOf, oneOf and not
    
    A circular $ref through a composition keyword, such as
    A: {allOf: [{$ref: A}]}, made schema validation overflow the goroutine
    stack: a fatal error that recover cannot catch.
    
    go-openapi/spec bounds each expansion, and leaves a circular $ref in
    place. But newSchemaPropsValidator builds the allOf, anyOf, oneOf and
    not validators along with their parent, and each one expands its $ref
    again, one level down, in a new expansion. Nothing bounded that loop.
    With two branches, A: {allOf: [{$ref: A}, {$ref: A}]}, it builds
    2^depth validators.
    
    Thread a compositionBudget through validator construction. It caps the
    nesting at maxCompositionDepth (128) and the count at
    maxCompositionValidators (10,000) per schema validator. Going over
    either cap panics with "Invalid schema provided to SchemaValidator",
    like any other schema that cannot be expanded. Only schemas with
    composition keywords create a budget, and it stays on the stack: no
    pre-walk, no allocation. Validators for properties and items are built
    as Validate walks the data, and start their own budget, so recursive
    schemas such as trees are not affected.
    
    SpecValidator no longer panics on such a schema when it validates
    defaults and examples (reached with ContinueOnErrors, since the
    circular ancestry check stops it otherwise): validateValueAgainstSchema
    returns the panic as an error at the location of the value.
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    
    ---------
    
    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
    fredbi and claude authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    16f7a05 View commit details
    Browse the repository at this point in the history
  2. chore: update strfmt and golang.org dependencies (#307)

    Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
    fredbi authored Oct 20, 2026
    Configuration menu
    Copy the full SHA
    269dfbe View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址