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/loads
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.25.1
Choose a base ref
...
head repository: go-openapi/loads
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.25.2
Choose a head ref
  • 11 commits
  • 254 files changed
  • 3 contributors

Commits on Aug 16, 2026

  1. test: rename the fixtures directory to testdata (#166)

    Test material now lives in testdata/, aligning with fmts/testdata which
    already followed the convention. The Go toolchain gives testdata a
    defined meaning — package patterns, vet and the build all skip it —
    whereas fixtures/ was ours alone.
    
    The nine go:embed directives are retargeted; embed places no restriction
    on testdata. Two things deliberately keep the old spelling: the
    raw.githubusercontent URLs inside the linked-definition specs, which
    point at the upstream reverb/swagger-spec tree, and the
    swag/jsonutils/fixtures_test dependency in go.sum.
    
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi authored Aug 16, 2026
    Configuration menu
    Copy the full SHA
    5d3156c View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2026

  1. chore: updated go dependencies (#167)

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

Commits on Aug 21, 2026

  1. build(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.4.4` | `0.6.0` |
    | [go-openapi/ci-workflows/.github/workflows/bump-release.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.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.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.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.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/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.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/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/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/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 21, 2026
    Configuration menu
    Copy the full SHA
    4c2a468 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2026

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

    …y with 2 updates
    
    Bumps the go-openapi-dependencies group with 1 update in the / directory: [github.com/go-openapi/testify/enable/yaml/v2](https://github.com/go-openapi/testify).
    
    
    Updates `github.com/go-openapi/testify/enable/yaml/v2` from 2.6.0 to 2.6.1
    - [Release notes](https://github.com/go-openapi/testify/releases)
    - [Commits](go-openapi/testify@v2.6.0...v2.6.1)
    
    Updates `github.com/go-openapi/testify/v2` from 2.6.0 to 2.6.1
    - [Release notes](https://github.com/go-openapi/testify/releases)
    - [Commits](go-openapi/testify@v2.6.0...v2.6.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/go-openapi/testify/enable/yaml/v2
      dependency-version: 2.6.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: go-openapi-dependencies
    - dependency-name: github.com/go-openapi/testify/v2
      dependency-version: 2.6.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 22, 2026
    Configuration menu
    Copy the full SHA
    e433900 View commit details
    Browse the repository at this point in the history
  2. chore: dependabot schedule is now twice a week (#170)

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

Commits on Aug 24, 2026

  1. Configuration menu
    Copy the full SHA
    4432d5f View commit details
    Browse the repository at this point in the history
  2. build(deps): bump the go-openapi-dependencies group with 2 updates

    Bumps the go-openapi-dependencies group with 2 updates: [github.com/go-openapi/swag/loading](https://github.com/go-openapi/swag) and [github.com/go-openapi/swag/yamlutils](https://github.com/go-openapi/swag).
    
    
    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/yamlutils` 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/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/yamlutils
      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
    7138543 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2026

  1. fix: clone a specification through JSON, not gob

    cloneSpec went through gob, which omits a struct field holding the zero value
    for its type and flattens a pointer to what it points at. An optional number
    that was present and zero therefore came back nil: "minimum": 0, "maximum": 0,
    "multipleOf": 0, "maxLength": 0, "maxItems": 0 and "maxProperties": 0 were all
    dropped from the copy, at any depth and with no error.
    
    OrigSpec returns that copy, and ResetDefinitions writes it back over the
    live definitions. go-swagger marshals OrigSpec into SwaggerJSON, which it
    embeds in every generated server and loads again at runtime, so those
    constraints were missing from the specification a generated server serves.
    
    The clone now goes through jsonutils.FromDynamicJSON, as validate's own clone
    already does. It is cheaper too: measured in go-openapi/spec, round-tripping
    clickmeter.json costs 38.8ms, 11.8MB and 150k allocations through JSON against
    46.6ms, 25.6MB and 222k through gob.
    
    The gob.Register calls in the package init go with it. spec registers the same
    two types in its own init, and spec is imported here, so a caller who encodes
    these types with gob still finds them registered.
    
    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi and claude committed Aug 25, 2026
    Configuration menu
    Copy the full SHA
    ccc5505 View commit details
    Browse the repository at this point in the history
  2. doc: add technical writing instructions for agents

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi committed Aug 25, 2026
    Configuration menu
    Copy the full SHA
    862dc2b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #172 from fredbi/fix/clone-spec-through-json

    Fix/clone spec through json
    fredbi authored Aug 25, 2026
    Configuration menu
    Copy the full SHA
    6d3a812 View commit details
    Browse the repository at this point in the history
  4. fix: onboards spec fixes (#173)

    Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
    fredbi authored Aug 25, 2026
    Configuration menu
    Copy the full SHA
    a8de01b View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址