Skip to content

Commit dd5c5c5

Browse files
chore: Generate new models
1 parent acb7ffc commit dd5c5c5

File tree

542 files changed

+42199
-81237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

542 files changed

+42199
-81237
lines changed

go.mod

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,41 @@
11
module github.com/form3tech-oss/go-form3/v6
22

3-
go 1.16
3+
go 1.21
44

55
replace github.com/mailru/easyjson => github.com/form3tech-oss/easyjson v0.7.7
66

77
require (
8-
github.com/asaskevich/govalidator v0.0.0-20200819183940-29e1ff8eb0bb // indirect
9-
github.com/go-openapi/errors v0.19.6
10-
github.com/go-openapi/runtime v0.19.20
11-
github.com/go-openapi/spec v0.19.9 // indirect
12-
github.com/go-openapi/strfmt v0.19.5
13-
github.com/go-openapi/swag v0.19.9
14-
github.com/go-openapi/validate v0.19.10
15-
github.com/google/uuid v1.1.1
16-
github.com/mailru/easyjson v0.7.6 // indirect
17-
github.com/mitchellh/mapstructure v1.3.3 // indirect
18-
github.com/stretchr/testify v1.6.1
19-
go.mongodb.org/mongo-driver v1.4.0 // indirect
20-
golang.org/x/net v0.0.0-20200822124328-c89045814202 // indirect
8+
github.com/go-openapi/errors v0.20.4
9+
github.com/go-openapi/runtime v0.26.0
10+
github.com/go-openapi/strfmt v0.21.7
11+
github.com/go-openapi/swag v0.22.4
12+
github.com/go-openapi/validate v0.22.1
13+
github.com/google/uuid v1.3.1
14+
github.com/stretchr/testify v1.8.4
15+
)
16+
17+
require (
18+
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
19+
github.com/davecgh/go-spew v1.1.1 // indirect
20+
github.com/go-logr/logr v1.2.4 // indirect
21+
github.com/go-logr/stdr v1.2.2 // indirect
22+
github.com/go-openapi/analysis v0.21.4 // indirect
23+
github.com/go-openapi/jsonpointer v0.20.0 // indirect
24+
github.com/go-openapi/jsonreference v0.20.2 // indirect
25+
github.com/go-openapi/loads v0.21.2 // indirect
26+
github.com/go-openapi/spec v0.20.9 // indirect
27+
github.com/josharian/intern v1.0.0 // indirect
28+
github.com/mailru/easyjson v0.7.7 // indirect
29+
github.com/mitchellh/mapstructure v1.5.0 // indirect
30+
github.com/oklog/ulid v1.3.1 // indirect
31+
github.com/opentracing/opentracing-go v1.2.0 // indirect
32+
github.com/pmezard/go-difflib v1.0.0 // indirect
33+
github.com/rogpeppe/go-internal v1.11.0 // indirect
34+
go.mongodb.org/mongo-driver v1.12.1 // indirect
35+
go.opentelemetry.io/otel v1.19.0 // indirect
36+
go.opentelemetry.io/otel/metric v1.19.0 // indirect
37+
go.opentelemetry.io/otel/trace v1.19.0 // indirect
38+
golang.org/x/sys v0.12.0 // indirect
39+
gopkg.in/yaml.v2 v2.4.0 // indirect
40+
gopkg.in/yaml.v3 v3.0.1 // indirect
2141
)

go.sum

Lines changed: 137 additions & 135 deletions
Large diffs are not rendered by default.

pkg/form3/subscriptions_test.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,15 @@ func testCreateAndUpdateSubscriptions(t *testing.T, attributes *models.Subscript
8787
WithData(models.SubscriptionUpdate{
8888
ID: &id,
8989
OrganisationID: &organisationID,
90-
Attributes: &models.SubscriptionUpdateAttributes{
91-
Deactivated: true,
92-
},
93-
Version: &version,
90+
Attributes: (&models.SubscriptionUpdateAttributes{}).WithDeactivated(true),
91+
Version: &version,
9492
})
9593
updateResp, err := updateReq.Do()
9694
require.NoError(t, err)
9795
assert.Equal(t, id.String(), updateResp.Data.ID.String())
9896
assert.Equal(t, true, updateResp.Data.Attributes.Deactivated)
9997

100-
//delete
98+
// delete
10199
_, err = f3.Subscriptions.DeleteSubscription().WithID(id).WithVersion(version + 1).Do()
102100
require.NoError(t, err)
103101
}

pkg/generated/client/accounts/list_accounts_requests.go

Lines changed: 72 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/client/form3_public_api_client.go

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/client/go_subscription_api/get_notification_subscriptions_id_errors_requests.go

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)