Skip to content

Commit

Permalink
chore: Generate new models
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-aliaga-form3 committed Oct 2, 2023
1 parent acb7ffc commit dd5c5c5
Show file tree
Hide file tree
Showing 542 changed files with 42,199 additions and 81,237 deletions.
48 changes: 34 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,21 +1,41 @@
module github.com/form3tech-oss/go-form3/v6

go 1.16
go 1.21

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

require (
github.com/asaskevich/govalidator v0.0.0-20200819183940-29e1ff8eb0bb // indirect
github.com/go-openapi/errors v0.19.6
github.com/go-openapi/runtime v0.19.20
github.com/go-openapi/spec v0.19.9 // indirect
github.com/go-openapi/strfmt v0.19.5
github.com/go-openapi/swag v0.19.9
github.com/go-openapi/validate v0.19.10
github.com/google/uuid v1.1.1
github.com/mailru/easyjson v0.7.6 // indirect
github.com/mitchellh/mapstructure v1.3.3 // indirect
github.com/stretchr/testify v1.6.1
go.mongodb.org/mongo-driver v1.4.0 // indirect
golang.org/x/net v0.0.0-20200822124328-c89045814202 // indirect
github.com/go-openapi/errors v0.20.4
github.com/go-openapi/runtime v0.26.0
github.com/go-openapi/strfmt v0.21.7
github.com/go-openapi/swag v0.22.4
github.com/go-openapi/validate v0.22.1
github.com/google/uuid v1.3.1
github.com/stretchr/testify v1.8.4
)

require (
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/analysis v0.21.4 // indirect
github.com/go-openapi/jsonpointer v0.20.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/loads v0.21.2 // indirect
github.com/go-openapi/spec v0.20.9 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
go.mongodb.org/mongo-driver v1.12.1 // indirect
go.opentelemetry.io/otel v1.19.0 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
golang.org/x/sys v0.12.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
272 changes: 137 additions & 135 deletions go.sum

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions pkg/form3/subscriptions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,15 @@ func testCreateAndUpdateSubscriptions(t *testing.T, attributes *models.Subscript
WithData(models.SubscriptionUpdate{
ID: &id,
OrganisationID: &organisationID,
Attributes: &models.SubscriptionUpdateAttributes{
Deactivated: true,
},
Version: &version,
Attributes: (&models.SubscriptionUpdateAttributes{}).WithDeactivated(true),
Version: &version,
})
updateResp, err := updateReq.Do()
require.NoError(t, err)
assert.Equal(t, id.String(), updateResp.Data.ID.String())
assert.Equal(t, true, updateResp.Data.Attributes.Deactivated)

//delete
// delete
_, err = f3.Subscriptions.DeleteSubscription().WithID(id).WithVersion(version + 1).Do()
require.NoError(t, err)
}
Expand Down
72 changes: 72 additions & 0 deletions pkg/generated/client/accounts/list_accounts_requests.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions pkg/generated/client/form3_public_api_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Loading

0 comments on commit dd5c5c5

Please sign in to comment.