From 14838351f1cb8d958bd69cc3fbf6cbaab8f0af5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 10 Oct 2026 08:03:07 +0000 Subject: [PATCH] build(deps): bump github.com/pb33f/libopenapi in /codegen Bumps [github.com/pb33f/libopenapi](https://github.com/pb33f/libopenapi) from 0.38.7 to 0.41.3. - [Release notes](https://github.com/pb33f/libopenapi/releases) - [Commits](https://github.com/pb33f/libopenapi/compare/v0.38.7...v0.41.3) --- updated-dependencies: - dependency-name: github.com/pb33f/libopenapi dependency-version: 0.41.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/codegen.yaml | 2 +- codegen/go.mod | 12 ++++++------ codegen/go.sum | 24 ++++++++++++------------ codegen/pkg/extension/extension.go | 2 +- codegen/pkg/generator/samples.go | 2 +- codegen/pkg/generator/samples_test.go | 2 +- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/codegen.yaml b/.github/workflows/codegen.yaml index d13ad70..5c32f5a 100644 --- a/.github/workflows/codegen.yaml +++ b/.github/workflows/codegen.yaml @@ -28,7 +28,7 @@ defaults: working-directory: ./codegen env: - GOLANGCI_LINT_VERSION: v2.8.0 + GOLANGCI_LINT_VERSION: v2.9.0 jobs: lint: diff --git a/codegen/go.mod b/codegen/go.mod index 5ceb43f..ab803b1 100644 --- a/codegen/go.mod +++ b/codegen/go.mod @@ -1,22 +1,22 @@ module github.com/sumup/sumup-php/codegen -go 1.25.7 +go 1.26.0 require ( github.com/iancoleman/strcase v0.3.0 github.com/lmittmann/tint v1.2.1 - github.com/pb33f/libopenapi v0.38.7 + github.com/pb33f/go-yaml v0.1.1 + github.com/pb33f/libopenapi v0.41.3 github.com/urfave/cli/v2 v2.27.7 - go.yaml.in/yaml/v4 v4.0.0-rc.6 ) require ( github.com/bahlo/generic-list-go v0.2.0 // indirect github.com/buger/jsonparser v1.1.2 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect - github.com/pb33f/jsonpath v0.8.2 // indirect - github.com/pb33f/ordered-map/v2 v2.3.1 // indirect + github.com/pb33f/jsonpath v0.8.4 // indirect + github.com/pb33f/ordered-map/v2 v2.3.2 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 // indirect - golang.org/x/sync v0.22.0 // indirect + golang.org/x/sync v0.23.0 // indirect ) diff --git a/codegen/go.sum b/codegen/go.sum index 67d8502..e14fef1 100644 --- a/codegen/go.sum +++ b/codegen/go.sum @@ -10,14 +10,16 @@ github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSAS github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/lmittmann/tint v1.2.1 h1:zOadah+f+nSm3jZM044jOsqh0+vSfgG/d9Ota9a/TLE= github.com/lmittmann/tint v1.2.1/go.mod h1:HIS3gSy7qNwGCj+5oRjAutErFBl4BzdQP6cJZ0NfMwE= -github.com/pb33f/jsonpath v0.8.2 h1:Ou4C7zjYClBm97dfZjDCjdZGusJoynv/vrtiEKNfj2Y= -github.com/pb33f/jsonpath v0.8.2/go.mod h1:zBV5LJW4OQOPatmQE2QdKpGQJvhDTlE5IEj6ASaRNTo= -github.com/pb33f/libopenapi v0.38.7 h1:Q2jfgRPdnU38WW8wQvrX2HEPGiqsxj01PX1BHmAEihc= -github.com/pb33f/libopenapi v0.38.7/go.mod h1:naZ03Auhn7i+RJtMv8ck8l7Ag8E2/x2w66j9vsDFL38= -github.com/pb33f/ordered-map/v2 v2.3.1 h1:5319HDO0aw4DA4gzi+zv4FXU9UlSs3xGZ40wcP1nBjY= -github.com/pb33f/ordered-map/v2 v2.3.1/go.mod h1:qxFQgd0PkVUtOMCkTapqotNgzRhMPL7VvaHKbd1HnmQ= -github.com/pb33f/testify v0.1.0 h1:g48/HDU/jn2COspS4nM0scptxiKTJ4DnbX/4ehK6IZ8= -github.com/pb33f/testify v0.1.0/go.mod h1:nq283P/jJ8hXMmdhAqfj7BJIz0y+6IOHj9q0044rKt4= +github.com/pb33f/go-yaml v0.1.1 h1:yWGmhVdwzionRnSc/hEJwcfq6PaZL2QdYzyReXBbX7Q= +github.com/pb33f/go-yaml v0.1.1/go.mod h1:QvWdkHP5VjFYAeHMQUkaPQqREaQnBNOXmWzAjNrnSdo= +github.com/pb33f/jsonpath v0.8.4 h1:Yx7fxsKl8scgERL22WhKDs2c6gYNNUonPSWEG8Y194s= +github.com/pb33f/jsonpath v0.8.4/go.mod h1:eO6mgdhw5RgzCxm/bXTi75VUs0/cCYJzdGjMCCUEI6M= +github.com/pb33f/libopenapi v0.41.3 h1:XfLiw0iHjl2mGBG51SSIU62etiHTYYmGUelFtI7at8M= +github.com/pb33f/libopenapi v0.41.3/go.mod h1:mUldESjO6ownR1TCcywvoYp7e4v/bCdQyiiIqsgWne0= +github.com/pb33f/ordered-map/v2 v2.3.2 h1:wDyaZ2Pv9QLh64X4utCeD5Zoi9nIv2aW3lwv172O5PQ= +github.com/pb33f/ordered-map/v2 v2.3.2/go.mod h1:1OhFrXu3OYw3kM+FXF+Ug3ugmmZ9LE8z0JfQMLvtV0w= +github.com/pb33f/testify v0.1.1 h1:mnHe7uxKt8dyNYEGUspow72VjD264DB5rOJq4bz5tJw= +github.com/pb33f/testify v0.1.1/go.mod h1:keghMqOLECF1ENzESnfM+cwPcKN5uhTOpvbtjgL6aZg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= @@ -28,9 +30,7 @@ github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU= github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4= github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342 h1:FnBeRrxr7OU4VvAzt5X7s6266i6cSVkkFPS0TuXWbIg= github.com/xrash/smetrics v0.0.0-20250705151800-55b8f293f342/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM= -go.yaml.in/yaml/v4 v4.0.0-rc.6 h1:1h7H1ohdUh93/FyE4YaDa1Zh64K6VVbjF4K6WUxMtH4= -go.yaml.in/yaml/v4 v4.0.0-rc.6/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= -golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek= -golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk= +golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/codegen/pkg/extension/extension.go b/codegen/pkg/extension/extension.go index cf9ee67..58f4e02 100644 --- a/codegen/pkg/extension/extension.go +++ b/codegen/pkg/extension/extension.go @@ -1,8 +1,8 @@ package extension import ( + "github.com/pb33f/go-yaml" "github.com/pb33f/libopenapi/orderedmap" - "go.yaml.in/yaml/v4" ) // Get extracts extension attributes from extensions. diff --git a/codegen/pkg/generator/samples.go b/codegen/pkg/generator/samples.go index 107ad0b..95de6de 100644 --- a/codegen/pkg/generator/samples.go +++ b/codegen/pkg/generator/samples.go @@ -6,9 +6,9 @@ import ( "strconv" "strings" + "github.com/pb33f/go-yaml" "github.com/pb33f/libopenapi/datamodel/high/base" v3 "github.com/pb33f/libopenapi/datamodel/high/v3" - "go.yaml.in/yaml/v4" ) const ( diff --git a/codegen/pkg/generator/samples_test.go b/codegen/pkg/generator/samples_test.go index 00ea31e..f3017ab 100644 --- a/codegen/pkg/generator/samples_test.go +++ b/codegen/pkg/generator/samples_test.go @@ -9,10 +9,10 @@ import ( "strings" "testing" + "github.com/pb33f/go-yaml" "github.com/pb33f/libopenapi" v3 "github.com/pb33f/libopenapi/datamodel/high/v3" "github.com/pb33f/libopenapi/orderedmap" - "go.yaml.in/yaml/v4" ) func TestGeneratorSamples(t *testing.T) {