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: sv-tools/openapi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: sv-tools/openapi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3.0
Choose a head ref
  • 14 commits
  • 16 files changed
  • 5 contributors

Commits on Aug 27, 2025

  1. chore(ci): pin actions to specific SHAs (#120)

    Update GitHub Actions workflow to reference immutable commit
    SHAs for actions/checkout and actions/setup-go instead of the
    loose version tags. Replace v5.0.0/v5.5.0 references with the exact
    commit SHAs used for v5.5.0 to ensure reproducible and auditable
    CI runs. Keep golangci-lint and other actions unchanged.
    
    This reduces supply-chain risk and guarantees the exact action
    code used by the workflow.
    SVilgelm authored Aug 27, 2025
    Configuration menu
    Copy the full SHA
    59b9919 View commit details
    Browse the repository at this point in the history
  2. Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 (#119)

    Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.11.0 to 1.11.1.
    - [Release notes](https://github.com/stretchr/testify/releases)
    - [Commits](stretchr/testify@v1.11.0...v1.11.1)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/stretchr/testify
      dependency-version: 1.11.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 27, 2025
    Configuration menu
    Copy the full SHA
    7ee2d9a View commit details
    Browse the repository at this point in the history
  3. chore(ci): use go tools for CI (#121)

    This pull request introduces a more robust and maintainable approach to managing Go-based CI tools and their dependencies. It achieves this by moving tool dependencies into a dedicated Go module under `.github/tools/`, updating CI workflows to use this new module, and adjusting dependency update automation accordingly.
    
    **Tool Dependency Management Improvements:**
    
    * Added a new Go module file `.github/tools/go.mod` to centrally manage all Go-based CI tool dependencies, including `golangci-lint` and `go-junit-report`. This ensures consistent tool versions and easier updates.
    * Updated the main `go.mod` to require Go 1.24, aligning with the tooling requirements.
    
    **CI Workflow Enhancements:**
    
    * Refactored the `Lint` job in `.github/workflows/code.yaml` to use the latest Go version (as determined by the `GoVersions` job) and to invoke `golangci-lint` via `go tool -modfile=".github/tools/go.mod"`, ensuring it uses the versions specified in the new tools module.
    * Updated the `UnitTestJob` to run `go-junit-report` through the new tools module, ensuring consistent and reproducible test reporting.
    
    **Dependabot Configuration Updates:**
    
    * Configured Dependabot to manage dependencies in `.github/tools/` as a separate group (`ci-tools`), ensuring CI tool dependencies are kept up to date independently from the main project dependencies.
    SVilgelm authored Aug 27, 2025
    Configuration menu
    Copy the full SHA
    dacb37a View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2025

  1. Bump go.yaml.in/yaml/v4 from 4.0.0-rc.1 to 4.0.0-rc.2 (#122)

    Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) from 4.0.0-rc.1 to 4.0.0-rc.2.
    - [Commits](yaml/go-yaml@v4.0.0-rc.1...v4.0.0-rc.2)
    
    ---
    updated-dependencies:
    - dependency-name: go.yaml.in/yaml/v4
      dependency-version: 4.0.0-rc.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    1259edf View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2025

  1. fix(refs): improve spec-not-found error message for unexpected refs (#…

    …123)
    
    Clarify error text when resolving component references by including
    both the unexpected component name and the full ref string. Previously
    the message only reported the component value, which made debugging less
    informative when refs contain paths or complex identifiers. This change
    adds the component name and the original ref to the error so callers
    can more easily identify malformed or unexpected references.
    SVilgelm authored Sep 6, 2025
    Configuration menu
    Copy the full SHA
    b9b00a4 View commit details
    Browse the repository at this point in the history
  2. feat(validation): add option to allow unused tags (#124)

    Introduce allowTags to validation options and wire it into
    OpenAPI validation to suppress errors for declared but unused tags.
    Fix a small typo in the NewValidator doc comment ("compiler").
    This enables callers to opt out of unused-tag checks while keeping
    existing unused-components behavior unchanged.
    SVilgelm authored Sep 6, 2025
    Configuration menu
    Copy the full SHA
    036eab2 View commit details
    Browse the repository at this point in the history
  3. test: add comprehensive schema validation unit tests (#125)

    * test: add comprehensive schema validation unit tests
    
    Add a suite of new unit tests for OpenAPI schema validation covering
    const/default interactions, enum uniqueness and conflicts, numeric
    constraints, exclusive bounds, fraction multipleOf behavior, and schema
    "dollarSchema" URI validation.
    
    Key additions:
    - TestSchemaConstWithMatchingDefaultInteger and
      TestSchemaConstWithNonMatchingDefaultError to validate const vs default
      value handling.
    - TestSchemaEnumDuplicateValueError and TestSchemaConstWithEnumConflict to
      ensure enums reject duplicate values and incompatible const+enum usage.
    - TestSchemaFractionalMultipleOfAllowed to allow fractional multipleOf
      (e.g., 0.01) with numeric ranges.
    - TestSchemaInvalidMaximumLessThanMinimumError and
      TestSchemaExclusiveMaximumLessThanExclusiveMinimumError to enforce min/max
      ordering for inclusive and exclusive bounds.
    - TestSchemaDollarSchemaAbsoluteURIOk and
      TestSchemaDollarSchemaNonAbsoluteURIError to require dollarSchema be an
      absolute URI.
    - Begin adding TestSchema_MaxContainsWithoutContains_Error (incomplete in
      diff) to cover contains/maxContains relationships.
    
    These tests increase coverage of schema validation rules and prevent
    regressions by asserting both valid schemas pass and invalid schemas
    produce descriptive errors.
    
    * Update schema.go
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Update schema.go
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    SVilgelm and Copilot authored Sep 6, 2025
    Configuration menu
    Copy the full SHA
    7a916af View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2025

  1. chore(deps): bump the ci group with 2 updates (#126)

    Bumps the ci group with 2 updates: [actions/setup-go](https://github.com/actions/setup-go) and [codecov/codecov-action](https://github.com/codecov/codecov-action).
    
    
    Updates `actions/setup-go` from 5.5.0 to 6.0.0
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@d35c59a...4469467)
    
    Updates `codecov/codecov-action` from 5.5.0 to 5.5.1
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@fdcc847...5a10915)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-version: 6.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: ci
    - dependency-name: codecov/codecov-action
      dependency-version: 5.5.1
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: ci
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 16, 2025
    Configuration menu
    Copy the full SHA
    fd4b1db View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2025

  1. chore(deps): bump arnested/go-version-action in the ci group (#127)

    Bumps the ci group with 1 update: [arnested/go-version-action](https://github.com/arnested/go-version-action).
    
    
    Updates `arnested/go-version-action` from 1.1.21 to 1.1.22
    - [Release notes](https://github.com/arnested/go-version-action/releases)
    - [Commits](arnested/go-version-action@81f7307...1f4135a)
    
    ---
    updated-dependencies:
    - dependency-name: arnested/go-version-action
      dependency-version: 1.1.22
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: ci
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 4, 2025
    Configuration menu
    Copy the full SHA
    5b5639f View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2026

  1. chore(deps): bump the ci group across 1 directory with 5 updates (#131)

    Bumps the ci group with 5 updates in the / directory:
    
    | Package | From | To |
    | --- | --- | --- |
    | [actions/checkout](https://github.com/actions/checkout) | `5.0.0` | `6.0.1` |
    | [arnested/go-version-action](https://github.com/arnested/go-version-action) | `1.1.22` | `1.1.23` |
    | [actions/setup-go](https://github.com/actions/setup-go) | `6.0.0` | `6.1.0` |
    | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.5.1` | `5.5.2` |
    | [codecov/test-results-action](https://github.com/codecov/test-results-action) | `1.1.1` | `1.2.1` |
    
    
    
    Updates `actions/checkout` from 5.0.0 to 6.0.1
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@08c6903...8e8c483)
    
    Updates `arnested/go-version-action` from 1.1.22 to 1.1.23
    - [Release notes](https://github.com/arnested/go-version-action/releases)
    - [Commits](arnested/go-version-action@1f4135a...978371b)
    
    Updates `actions/setup-go` from 6.0.0 to 6.1.0
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@4469467...4dc6199)
    
    Updates `codecov/codecov-action` from 5.5.1 to 5.5.2
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@5a10915...671740a)
    
    Updates `codecov/test-results-action` from 1.1.1 to 1.2.1
    - [Release notes](https://github.com/codecov/test-results-action/releases)
    - [Commits](codecov/test-results-action@47f89e9...0fa95f0)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: 6.0.1
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: ci
    - dependency-name: arnested/go-version-action
      dependency-version: 1.1.23
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: ci
    - dependency-name: actions/setup-go
      dependency-version: 6.1.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: ci
    - dependency-name: codecov/codecov-action
      dependency-version: 5.5.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: ci
    - dependency-name: codecov/test-results-action
      dependency-version: 1.2.1
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: ci
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    00c0216 View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.2 to 4.0.0-rc.4 (#133

    )
    
    Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) from 4.0.0-rc.2 to 4.0.0-rc.4.
    - [Commits](yaml/go-yaml@v4.0.0-rc.2...v4.0.0-rc.4)
    
    ---
    updated-dependencies:
    - dependency-name: go.yaml.in/yaml/v4
      dependency-version: 4.0.0-rc.4
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    64fa76f View commit details
    Browse the repository at this point in the history
  3. chore(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.4 to 4.0.0-rc.6 (#136

    )
    
    Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) from 4.0.0-rc.4 to 4.0.0-rc.6.
    - [Commits](yaml/go-yaml@v4.0.0-rc.4...v4.0.0-rc.6)
    
    ---
    updated-dependencies:
    - dependency-name: go.yaml.in/yaml/v4
      dependency-version: 4.0.0-rc.6
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    2d64979 View commit details
    Browse the repository at this point in the history
  4. chore(deps): bump the ci group with 4 updates (#137)

    Bumps the ci group with 4 updates: [actions/checkout](https://github.com/actions/checkout), [arnested/go-version-action](https://github.com/arnested/go-version-action), [actions/setup-go](https://github.com/actions/setup-go) and [codecov/codecov-action](https://github.com/codecov/codecov-action).
    
    
    Updates `actions/checkout` from 6.0.1 to 7.0.1
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@8e8c483...3d3c42e)
    
    Updates `arnested/go-version-action` from 1.1.23 to 2.1.5
    - [Release notes](https://github.com/arnested/go-version-action/releases)
    - [Commits](arnested/go-version-action@978371b...6ccff89)
    
    Updates `actions/setup-go` from 6.1.0 to 7.0.0
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@4dc6199...b7ad1da)
    
    Updates `codecov/codecov-action` from 5.5.2 to 7.0.0
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@671740a...fb8b358)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: 7.0.1
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: ci
    - dependency-name: arnested/go-version-action
      dependency-version: 2.1.5
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: ci
    - dependency-name: actions/setup-go
      dependency-version: 7.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: ci
    - dependency-name: codecov/codecov-action
      dependency-version: 7.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: ci
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    6fb7912 View commit details
    Browse the repository at this point in the history
  5. fix: change Explode field from bool to *bool for proper serialization (…

    …#132)
    
    When Explode is bool with omitempty, false values are not serialized
    to JSON/YAML output. This prevents users from explicitly setting
    explode: false in OpenAPI specs.
    
    Changing to *bool allows:
    - nil: omit the field (use default behavior)
    - &true: serialize as 'explode: true'
    - &false: serialize as 'explode: false'
    
    Affects: Parameter, Header, Encoding structs and their builders.
    
    Co-authored-by: a.gorbunov <a.gorbunov@2gis.ru>
    Co-authored-by: Sergey Vilgelm <523825+SVilgelm@users.noreply.github.com>
    3 people authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    fa534ba View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址