-
Notifications
You must be signed in to change notification settings - Fork 117
chore: upgrade speakeasy version #969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
.DS_Store | ||
**/.speakeasy/temp/ | ||
**/.speakeasy/logs/ | ||
.speakeasy/reports | ||
# .gitignore |
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
workflowVersion: 1.0.0 | ||
speakeasyVersion: v1.517.3 | ||
speakeasyVersion: v1.563.0 | ||
sources: | ||
Formance-OAS: | ||
inputs: | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,8 @@ func main() { | |
Cursor: client.String("aHR0cHM6Ly9nLnBhZ2UvTmVrby1SYW1lbj9zaGFyZQ=="), | ||
RequestBody: map[string]any{ | ||
"key": "<value>", | ||
"key1": "<value>", | ||
"key2": "<value>", | ||
}, | ||
}) | ||
if err != nil { | ||
|
@@ -412,7 +414,6 @@ import( | |
"os" | ||
"github.com/formancehq/ledger/pkg/client/models/components" | ||
"github.com/formancehq/ledger/pkg/client" | ||
"math/big" | ||
"github.com/formancehq/ledger/pkg/client/models/operations" | ||
"log" | ||
) | ||
|
@@ -433,9 +434,9 @@ func main() { | |
Atomic: client.Bool(true), | ||
Parallel: client.Bool(true), | ||
RequestBody: []components.V2BulkElement{ | ||
components.CreateV2BulkElementRevertTransaction( | ||
components.V2BulkElementRevertTransaction{ | ||
Action: "<value>", | ||
components.CreateV2BulkElementDeleteMetadata( | ||
components.V2BulkElementDeleteMetadata{ | ||
Action: "DELETE_METADATA", | ||
}, | ||
), | ||
}, | ||
|
@@ -500,6 +501,7 @@ func main() { | |
Ledger: "ledger001", | ||
RequestBody: map[string]any{ | ||
"key": "<value>", | ||
"key1": "<value>", | ||
}, | ||
}) | ||
if err != nil { | ||
|
@@ -748,7 +750,7 @@ func main() { | |
|
||
res, err := s.Ledger.V2.DeleteAccountMetadata(ctx, operations.V2DeleteAccountMetadataRequest{ | ||
Ledger: "ledger001", | ||
Address: "96609 Cummings Canyon", | ||
Address: "6753 S Washington Street", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainVerify the address format change is intentional. The address parameter changed from 🏁 Script executed: #!/bin/bash
# Description: Check other examples of address parameter usage in the documentation to verify the expected format
# Search for other DeleteAccountMetadata examples or address parameter usage
rg -A 5 -B 5 'Address.*"users:' pkg/client/docs/ Length of output: 5443 Ensure Address uses the correct account identifier format The Address field in all other V1 and V2 client examples is treated as an account identifier (e.g.
🤖 Prompt for AI Agents
|
||
Key: "foo", | ||
}) | ||
if err != nil { | ||
|
@@ -871,7 +873,6 @@ func main() { | |
Ledger: "ledger001", | ||
RequestBody: map[string]any{ | ||
"key": "<value>", | ||
"key1": "<value>", | ||
}, | ||
}) | ||
if err != nil { | ||
|
@@ -998,7 +999,6 @@ func main() { | |
res, err := s.Ledger.V2.CreateTransaction(ctx, operations.V2CreateTransactionRequest{ | ||
Ledger: "ledger001", | ||
DryRun: client.Bool(true), | ||
Force: client.Bool(true), | ||
V2PostTransaction: components.V2PostTransaction{ | ||
Postings: []components.V2Posting{ | ||
components.V2Posting{ | ||
|
@@ -1007,12 +1007,6 @@ func main() { | |
Destination: "users:002", | ||
Source: "users:001", | ||
}, | ||
components.V2Posting{ | ||
Amount: big.NewInt(100), | ||
Asset: "COIN", | ||
Destination: "users:002", | ||
Source: "users:001", | ||
}, | ||
}, | ||
Script: &components.V2PostTransactionScript{ | ||
Plain: "vars {\n" + | ||
|
@@ -1038,6 +1032,9 @@ func main() { | |
"key1": map[string]string{ | ||
"admin": "true", | ||
}, | ||
"key2": map[string]string{ | ||
"admin": "true", | ||
}, | ||
}, | ||
}, | ||
}) | ||
|
@@ -1294,7 +1291,7 @@ func main() { | |
if err != nil { | ||
log.Fatal(err) | ||
} | ||
if res.V2RevertTransactionResponse != nil { | ||
if res.V2CreateTransactionResponse != nil { | ||
// handle response | ||
} | ||
} | ||
|
@@ -1351,6 +1348,8 @@ func main() { | |
Ledger: "ledger001", | ||
RequestBody: map[string]any{ | ||
"key": "<value>", | ||
"key1": "<value>", | ||
"key2": "<value>", | ||
}, | ||
}) | ||
if err != nil { | ||
|
@@ -1479,7 +1478,7 @@ func main() { | |
PageSize: client.Int64(100), | ||
Cursor: client.String("aHR0cHM6Ly9nLnBhZ2UvTmVrby1SYW1lbj9zaGFyZQ=="), | ||
RequestBody: map[string]any{ | ||
"key": "<value>", | ||
|
||
}, | ||
}) | ||
if err != nil { | ||
|
@@ -1536,15 +1535,14 @@ func main() { | |
}), | ||
) | ||
|
||
v2ImportLogsRequest, fileErr := os.Open("example.file") | ||
example, fileErr := os.Open("example.file") | ||
if fileErr != nil { | ||
panic(fileErr) | ||
} | ||
|
||
|
||
res, err := s.Ledger.V2.ImportLogs(ctx, operations.V2ImportLogsRequest{ | ||
Ledger: "ledger001", | ||
V2ImportLogsRequest: v2ImportLogsRequest, | ||
V2ImportLogsRequest: example, | ||
}) | ||
if err != nil { | ||
log.Fatal(err) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Malformed SHA256 for
aarch64-linux
will cause Nix build failuresc74c502df3a05a2d69e6b282886df23354a319d0510d2c1a21fcc124b7ad00efGOROOT
is 71 chars and contains non-hex text (GOROOT
). Nix will reject this derivation.Re-download the artifact and compute the hash:
nix hash file speakeasy_linux_arm64.zip
🤖 Prompt for AI Agents