Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.308.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and unclesp1d3r committed Jun 17, 2024
1 parent 03b8c32 commit 0692996
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 11fa8266-8454-49fd-ba7b-d5f8744980cc
management:
docChecksum: 6d43892a6cdfbfdcc04d47bb3af34e60
docChecksum: 13941b7eb004b6631866b44c72c33af1
docVersion: "1.3"
speakeasyVersion: 1.308.1
generationVersion: 2.342.6
releaseVersion: 0.4.1
configChecksum: 1aa14dcabce06d8d4169565b4324a65c
releaseVersion: 0.4.2
configChecksum: e8ad5ec4974e965607d28dcb48fc78d6
repoURL: https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go.git
installationURL: https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go
features:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
go:
version: 0.4.1
version: 0.4.2
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.308.1
sources:
CipherSwarm_agent_api:
sourceNamespace: cipher-swarm-agent-api
sourceRevisionDigest: sha256:eabea82747d4fe94727a50b0ec6bcf22d9e7fc05f14b1d2a8fc2c093f4b9ced5
sourceBlobDigest: sha256:110bc32b742af5f68551b96f5660fb504263b0c5a30dd1d03828a710de492067
sourceRevisionDigest: sha256:7dcf9af0655e291fa43927e644d40053c8ec6d5fb90bc0666424f38cbc16444b
sourceBlobDigest: sha256:57ff48e5eaf1f3bebf320a16cc003b6cb68a6139e81a3f25eab47ba54413bd89
tags:
- latest
- main
targets:
golang-sdk:
source: CipherSwarm_agent_api
sourceNamespace: cipher-swarm-agent-api
sourceRevisionDigest: sha256:eabea82747d4fe94727a50b0ec6bcf22d9e7fc05f14b1d2a8fc2c093f4b9ced5
sourceBlobDigest: sha256:110bc32b742af5f68551b96f5660fb504263b0c5a30dd1d03828a710de492067
sourceRevisionDigest: sha256:7dcf9af0655e291fa43927e644d40053c8ec6d5fb90bc0666424f38cbc16444b
sourceBlobDigest: sha256:57ff48e5eaf1f3bebf320a16cc003b6cb68a6139e81a3f25eab47ba54413bd89
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,14 @@ Based on:
### Generated
- [go v0.4.1] .
### Releases
- [Go v0.4.1] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.4.1 - .
- [Go v0.4.1] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.4.1 - .

## 2024-06-17 01:19:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.308.1 (2.342.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.4.2] .
### Releases
- [Go v0.4.2] https://github.com/unclesp1d3r/cipherswarm-agent-sdk-go/releases/tag/v0.4.2 - .
4 changes: 2 additions & 2 deletions cipherswarmagentsdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ func New(opts ...SDKOption) *CipherSwarmAgentSDK {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "1.3",
SDKVersion: "0.4.1",
SDKVersion: "0.4.2",
GenVersion: "2.342.6",
UserAgent: "speakeasy-sdk/go 0.4.1 2.342.6 1.3 github.com/unclesp1d3r/cipherswarm-agent-sdk-go",
UserAgent: "speakeasy-sdk/go 0.4.2 2.342.6 1.3 github.com/unclesp1d3r/cipherswarm-agent-sdk-go",
ServerDefaults: []map[string]string{
{
"defaultHost": "www.example.com",
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/attackmode.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Attack mode name
| `AttackModeDictionary` | dictionary |
| `AttackModeCombinator` | combinator |
| `AttackModeMask` | mask |
| `AttackModeHybridDictionary` | hybrid-dictionary |
| `AttackModeHybridMask` | hybrid-mask |
| `AttackModeHybridDictionary` | hybrid_dictionary |
| `AttackModeHybridMask` | hybrid_mask |
8 changes: 4 additions & 4 deletions models/components/attack.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const (
AttackModeDictionary AttackMode = "dictionary"
AttackModeCombinator AttackMode = "combinator"
AttackModeMask AttackMode = "mask"
AttackModeHybridDictionary AttackMode = "hybrid-dictionary"
AttackModeHybridMask AttackMode = "hybrid-mask"
AttackModeHybridDictionary AttackMode = "hybrid_dictionary"
AttackModeHybridMask AttackMode = "hybrid_mask"
)

func (e AttackMode) ToPointer() *AttackMode {
Expand All @@ -34,9 +34,9 @@ func (e *AttackMode) UnmarshalJSON(data []byte) error {
fallthrough
case "mask":
fallthrough
case "hybrid-dictionary":
case "hybrid_dictionary":
fallthrough
case "hybrid-mask":
case "hybrid_mask":
*e = AttackMode(v)
return nil
default:
Expand Down

0 comments on commit 0692996

Please sign in to comment.