Skip to content

Commit 40203f8

Browse files
committed
Replace github.com/deepmap/oapi-codegen with github.com/oapi-codegen/oapi-codegen and upgrade
1 parent 1e19a65 commit 40203f8

File tree

7 files changed

+222
-106
lines changed

7 files changed

+222
-106
lines changed

.golangci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ linters:
9494
gomoddirectives:
9595
# Allow local `replace` directives. Default is false.
9696
replace-local: false
97-
replace-allow-list:
98-
- github.com/deepmap/oapi-codegen
9997
gomodguard:
10098
blocked:
10199
# List of blocked modules.

dev-tools/go.mod

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ module github.com/elastic/fleet-server/dev-tools
33
go 1.24.0
44

55
tool (
6-
github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen
76
github.com/elastic/go-json-schema-generate/cmd/schema-generate
87
github.com/elastic/go-licenser
98
github.com/jstemmer/go-junit-report
9+
github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen
1010
go.elastic.co/go-licence-detector
1111
golang.org/x/perf/cmd/benchstat
1212
)
@@ -16,7 +16,7 @@ require github.com/elastic/elastic-agent-libs v0.18.12
1616
require (
1717
github.com/aclements/go-moremath v0.0.0-20210112150236-f10218a38794 // indirect
1818
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
19-
github.com/deepmap/oapi-codegen/v2 v2.0.0 // indirect
19+
github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect
2020
github.com/elastic/go-json-schema-generate v0.0.0-20220323152209-ec19b88f6b5e // indirect
2121
github.com/elastic/go-licenser v0.4.2 // indirect
2222
github.com/elastic/go-ucfg v0.8.5 // indirect
@@ -29,11 +29,14 @@ require (
2929
github.com/jstemmer/go-junit-report v1.0.0 // indirect
3030
github.com/mailru/easyjson v0.7.7 // indirect
3131
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
32+
github.com/oapi-codegen/oapi-codegen/v2 v2.4.1 // indirect
3233
github.com/oasdiff/yaml v0.0.0-20250309154309-f31be36b4037 // indirect
3334
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90 // indirect
3435
github.com/perimeterx/marshmallow v1.1.5 // indirect
3536
github.com/pkg/errors v0.9.1 // indirect
3637
github.com/sergi/go-diff v1.1.0 // indirect
38+
github.com/speakeasy-api/openapi-overlay v0.9.0 // indirect
39+
github.com/vmware-labs/yaml-jsonpath v0.3.2 // indirect
3740
go.elastic.co/ecszap v1.0.2 // indirect
3841
go.elastic.co/go-licence-detector v0.7.0 // indirect
3942
go.uber.org/multierr v1.11.0 // indirect

dev-tools/go.sum

Lines changed: 90 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)