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: v0.26.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: v0.26.1
Choose a head ref
  • 12 commits
  • 17 files changed
  • 4 contributors

Commits on Jun 12, 2026

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

    Bumps the go-openapi-dependencies group with 5 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [github.com/go-openapi/loads](https://github.com/go-openapi/loads) | `0.23.4` | `0.24.0` |
    | [github.com/go-openapi/swag/conv](https://github.com/go-openapi/swag) | `0.26.0` | `0.26.1` |
    | [github.com/go-openapi/swag/fileutils](https://github.com/go-openapi/swag) | `0.26.0` | `0.26.1` |
    | [github.com/go-openapi/swag/jsonutils](https://github.com/go-openapi/swag) | `0.26.0` | `0.26.1` |
    | [github.com/go-openapi/swag/stringutils](https://github.com/go-openapi/swag) | `0.26.0` | `0.26.1` |
    
    
    Updates `github.com/go-openapi/loads` from 0.23.4 to 0.24.0
    - [Release notes](https://github.com/go-openapi/loads/releases)
    - [Commits](go-openapi/loads@v0.23.4...v0.24.0)
    
    Updates `github.com/go-openapi/swag/conv` from 0.26.0 to 0.26.1
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.0...v0.26.1)
    
    Updates `github.com/go-openapi/swag/fileutils` from 0.26.0 to 0.26.1
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.0...v0.26.1)
    
    Updates `github.com/go-openapi/swag/jsonutils` from 0.26.0 to 0.26.1
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.0...v0.26.1)
    
    Updates `github.com/go-openapi/swag/stringutils` from 0.26.0 to 0.26.1
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.0...v0.26.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/loads
      dependency-version: 0.24.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/conv
      dependency-version: 0.26.1
      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.26.1
      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.26.1
      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.26.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 Jun 12, 2026
    Configuration menu
    Copy the full SHA
    45a0dd7 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 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 Jun 13, 2026
    Configuration menu
    Copy the full SHA
    c7e2b2a View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2026

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

    …ry with 8 updates
    
    Bumps the development-dependencies group with 8 updates in the / directory:
    
    | Package | From | To |
    | --- | --- | --- |
    | [go-openapi/ci-workflows/.github/workflows/auto-merge.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    | [go-openapi/ci-workflows/.github/workflows/bump-release.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    | [go-openapi/ci-workflows/.github/workflows/codeql.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    | [go-openapi/ci-workflows/.github/workflows/contributors.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    | [go-openapi/ci-workflows/.github/workflows/go-test.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    | [go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    | [go-openapi/ci-workflows/.github/workflows/scanner.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    | [go-openapi/ci-workflows/.github/workflows/release.yml](https://github.com/go-openapi/ci-workflows) | `0.3.4` | `0.3.5` |
    
    
    
    Updates `go-openapi/ci-workflows/.github/workflows/auto-merge.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    Updates `go-openapi/ci-workflows/.github/workflows/bump-release.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    Updates `go-openapi/ci-workflows/.github/workflows/codeql.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    Updates `go-openapi/ci-workflows/.github/workflows/contributors.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    Updates `go-openapi/ci-workflows/.github/workflows/go-test.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    Updates `go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    Updates `go-openapi/ci-workflows/.github/workflows/scanner.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    Updates `go-openapi/ci-workflows/.github/workflows/release.yml` from 0.3.4 to 0.3.5
    - [Release notes](https://github.com/go-openapi/ci-workflows/releases)
    - [Commits](go-openapi/ci-workflows@7a1bb6c...f00f576)
    
    ---
    updated-dependencies:
    - dependency-name: go-openapi/ci-workflows/.github/workflows/auto-merge.yml
      dependency-version: 0.3.5
      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.3.5
      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.3.5
      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.3.5
      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.3.5
      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.3.5
      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.3.5
      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.3.5
      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 Jun 14, 2026
    Configuration menu
    Copy the full SHA
    2a22b28 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2026

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

    Bumps the go-openapi-dependencies group with 1 update: [github.com/go-openapi/spec](https://github.com/go-openapi/spec).
    
    
    Updates `github.com/go-openapi/spec` from 0.22.5 to 0.22.6
    - [Release notes](https://github.com/go-openapi/spec/releases)
    - [Commits](go-openapi/spec@v0.22.5...v0.22.6)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/spec
      dependency-version: 0.22.6
      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 Jun 19, 2026
    Configuration menu
    Copy the full SHA
    25f8d57 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2026

  1. chore(ci): run contributors workflow monthly instead of weekly (#265)

    The all-time contributors workflow no longer needs a weekly cadence:
    nowadays it mostly bumps maintainer activity. Run it on the 1st of
    each month at 04:55 UTC ('55 4 1 * *') instead of every Saturday.
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    fredbi and claude authored Jun 21, 2026
    Configuration menu
    Copy the full SHA
    07c4535 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2026

  1. ci: post README announcements to discord + bump ci-workflows to v0.4.0 (

    #266)
    
    Add the webhook-announcements workflow (mirrors go-openapi/testify): pushes
    to master that change README.md are scanned for new "## Announcements"
    entries and posted to the discord channel.
    Also bump all ci-workflows shared-workflow pins to v0.4.0
    (af4c93f45481ea7d24ac2a9858272cc03daf424e).
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    fredbi and claude authored Jun 22, 2026
    Configuration menu
    Copy the full SHA
    91feb17 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 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.5.1 to 2.6.0
    - [Release notes](https://github.com/go-openapi/testify/releases)
    - [Commits](go-openapi/testify@v2.5.1...v2.6.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/testify/v2
      dependency-version: 2.6.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 Jun 26, 2026
    Configuration menu
    Copy the full SHA
    e3a1a32 View commit details
    Browse the repository at this point in the history

Commits on Jul 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 Jul 1, 2026
    Configuration menu
    Copy the full SHA
    a92dcc6 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2026

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

    Bumps the go-openapi-dependencies group with 7 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [github.com/go-openapi/analysis](https://github.com/go-openapi/analysis) | `0.25.2` | `0.25.3` |
    | [github.com/go-openapi/jsonpointer](https://github.com/go-openapi/jsonpointer) | `0.23.1` | `0.24.0` |
    | [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt) | `0.26.3` | `0.26.4` |
    | [github.com/go-openapi/swag/conv](https://github.com/go-openapi/swag) | `0.26.1` | `0.27.0` |
    | [github.com/go-openapi/swag/fileutils](https://github.com/go-openapi/swag) | `0.26.1` | `0.27.0` |
    | [github.com/go-openapi/swag/jsonutils](https://github.com/go-openapi/swag) | `0.26.1` | `0.27.0` |
    | [github.com/go-openapi/swag/stringutils](https://github.com/go-openapi/swag) | `0.26.1` | `0.27.0` |
    
    
    Updates `github.com/go-openapi/analysis` from 0.25.2 to 0.25.3
    - [Release notes](https://github.com/go-openapi/analysis/releases)
    - [Commits](go-openapi/analysis@v0.25.2...v0.25.3)
    
    Updates `github.com/go-openapi/jsonpointer` from 0.23.1 to 0.24.0
    - [Release notes](https://github.com/go-openapi/jsonpointer/releases)
    - [Commits](go-openapi/jsonpointer@v0.23.1...v0.24.0)
    
    Updates `github.com/go-openapi/strfmt` from 0.26.3 to 0.26.4
    - [Release notes](https://github.com/go-openapi/strfmt/releases)
    - [Commits](go-openapi/strfmt@v0.26.3...v0.26.4)
    
    Updates `github.com/go-openapi/swag/conv` from 0.26.1 to 0.27.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.1...v0.27.0)
    
    Updates `github.com/go-openapi/swag/fileutils` from 0.26.1 to 0.27.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.1...v0.27.0)
    
    Updates `github.com/go-openapi/swag/jsonutils` from 0.26.1 to 0.27.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.1...v0.27.0)
    
    Updates `github.com/go-openapi/swag/stringutils` from 0.26.1 to 0.27.0
    - [Release notes](https://github.com/go-openapi/swag/releases)
    - [Commits](go-openapi/swag@v0.26.1...v0.27.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/analysis
      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/jsonpointer
      dependency-version: 0.24.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/strfmt
      dependency-version: 0.26.4
      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.27.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/fileutils
      dependency-version: 0.27.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/jsonutils
      dependency-version: 0.27.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/swag/stringutils
      dependency-version: 0.27.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 Jul 3, 2026
    Configuration menu
    Copy the full SHA
    e528532 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2026

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

    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 0.24.0 to 1.0.0
    - [Release notes](https://github.com/go-openapi/jsonpointer/releases)
    - [Commits](go-openapi/jsonpointer@v0.24.0...v1.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/jsonpointer
      dependency-version: 1.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: go-openapi-dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 12, 2026
    Configuration menu
    Copy the full SHA
    cbf963a View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2026

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

    Bumps the go-openapi-dependencies group with 1 update: [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt).
    
    
    Updates `github.com/go-openapi/strfmt` from 0.26.4 to 0.27.0
    - [Release notes](https://github.com/go-openapi/strfmt/releases)
    - [Commits](go-openapi/strfmt@v0.26.4...v0.27.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/strfmt
      dependency-version: 0.27.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 Jul 17, 2026
    Configuration menu
    Copy the full SHA
    6614383 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2026

  1. feat: inject a custom document loader into schema/spec validation (#272)

    Building a schema validator expands the schema's $ref, and validating a
    specification resolves and expands $ref (schemas, parameters, responses, and the
    whole-spec expansion). All of these resolved documents through the spec package's
    global loader, with no way for a caller to supply their own.
    
    Add WithPathLoader, an option-aware loader on SchemaValidatorOptions, consumed by
    every path that loads documents during validation:
    
      - newSchemaValidator uses spec.ExpandSchemaWithOptions (instead of the
        default-settings ExpandSchema).
      - resolveParam / expandResponseRef use spec.ExpandParameterWithOptions and
        spec.ExpandResponseWithOptions.
      - SpecValidator.resolveRef passes the loader through spec.ResolveRefWithBase.
      - validateReferencesValid passes it to loads.Document.Expanded (no-op when unset:
        loads falls back to the document's own loader).
      - NewSpecValidator and the package-level Spec now accept ...Option, applied to
        the internal schema options after the built-in defaults, so a caller can
        inject the loader into spec validation. Backward compatible: existing
        two-argument calls are unaffected.
    
    The injected loader may carry any go-openapi/swag/loading options — a custom HTTP
    client or timeout, authentication or custom headers, an embedded or rooted file
    system, and so on. One important use is confining loading of untrusted input
    (loading.WithRoot to confine local reads, loading.WithHTTPClient to restrict
    remote fetches, or a restricted loader from go-openapi/loads), which closes the
    arbitrary-file-read / SSRF surface that the unsandboxed default otherwise exposes.
    Left unset, behavior is unchanged.
    
    Bumps spec to v0.22.9 (for the option-aware expanders), analysis to v0.25.5,
    loads to v0.25.0 and swag to v0.27.3.
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    fredbi and claude authored Jul 21, 2026
    Configuration menu
    Copy the full SHA
    9b81767 View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址