Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.460.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 1, 2025
1 parent ca3dc04 commit 2bb0b43
Show file tree
Hide file tree
Showing 157 changed files with 8,798 additions and 6,565 deletions.
2,172 changes: 1,670 additions & 502 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
go:
version: 0.5.0
version: 0.6.0
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
19 changes: 11 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.435.1
speakeasyVersion: 1.460.3
sources:
FireHydrant-OAS:
sourceNamespace: fire-hydrant-oas
Expand All @@ -8,18 +8,20 @@ sources:
- latest
firehydrant-oas:
sourceNamespace: firehydrant-oas
sourceRevisionDigest: sha256:f987be326ac23417400c5e13a4c9b4e41973f12c33bf73c36941527f9b4d75f7
sourceBlobDigest: sha256:e5611e93d696db2ca4d040d096bf1a801fae0048aecdde53f29830f79fb44c8b
sourceRevisionDigest: sha256:d3461d021282aefac692df38b4f30ac2a5e265a5dd75cc2e73a10264431346b4
sourceBlobDigest: sha256:f6ffe4d71cbc8f195cf28218fe7c5a6212053a7fa58a4e0aa275374cfcf3c675
tags:
- latest
- speakeasy-sdk-regen-1732580847
- 0.0.1
targets:
fire-hydrant:
source: firehydrant-oas
sourceNamespace: firehydrant-oas
sourceRevisionDigest: sha256:f987be326ac23417400c5e13a4c9b4e41973f12c33bf73c36941527f9b4d75f7
sourceBlobDigest: sha256:e5611e93d696db2ca4d040d096bf1a801fae0048aecdde53f29830f79fb44c8b
codeSamplesNamespace: firehydrant-oas-code-samples
codeSamplesRevisionDigest: sha256:3673246d776dd3638fa000159a2e235af8c4eb72b02634bcb853dfd6e91d5338
sourceRevisionDigest: sha256:d3461d021282aefac692df38b4f30ac2a5e265a5dd75cc2e73a10264431346b4
sourceBlobDigest: sha256:f6ffe4d71cbc8f195cf28218fe7c5a6212053a7fa58a4e0aa275374cfcf3c675
codeSamplesNamespace: firehydrant-oas-go-code-samples
codeSamplesRevisionDigest: sha256:210b85e14364ce2303cf977ccf8616cb655e14c0e499593451b6058294a13418
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -29,6 +31,7 @@ workflow:
- location: ./openapi.yaml
overlays:
- location: .speakeasy/speakeasy-modifications-overlay.yaml
- location: errors-overlay.yaml
registry:
location: registry.speakeasyapi.dev/firehydrant/firehydrant/firehydrant-oas
targets:
Expand All @@ -37,5 +40,5 @@ workflow:
source: firehydrant-oas
codeSamples:
registry:
location: registry.speakeasyapi.dev/firehydrant/firehydrant/firehydrant-oas-code-samples
location: registry.speakeasyapi.dev/firehydrant/firehydrant/firehydrant-oas-go-code-samples
blocking: false
2 changes: 1 addition & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ targets:
source: firehydrant-oas
codeSamples:
registry:
location: registry.speakeasyapi.dev/firehydrant/firehydrant/firehydrant-oas-code-samples
location: registry.speakeasyapi.dev/firehydrant/firehydrant/firehydrant-oas-go-code-samples
blocking: false
41 changes: 25 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,26 @@

<!-- Start Table of Contents [toc] -->
## Table of Contents
<!-- $toc-max-depth=2 -->
* [SDK Installation](#sdk-installation)
* [Authentication](#authentication)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Retries](#retries)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Custom HTTP Client](#custom-http-client)
* [Special Types](#special-types)
* [Development](#development)
* [Maturity](#maturity)
* [Contributions](#contributions)

* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Retries](#retries)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Custom HTTP Client](#custom-http-client)
* [Authentication](#authentication)
* [Special Types](#special-types)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
## SDK Installation

To add the SDK as a dependency to your project:

```bash
go get github.com/speakeasy-sdks/firehydrant-go-sdk
```
Expand Down Expand Up @@ -60,11 +63,12 @@ import (
)

func main() {
ctx := context.Background()

s := firehydrant.New(
firehydrant.WithSecurity("<YOUR_API_KEY_HERE>"),
)

ctx := context.Background()
res, err := s.AccountSettings.GetAiPreferences(ctx)
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -92,11 +96,12 @@ import (
)

func main() {
ctx := context.Background()

s := firehydrant.New(
firehydrant.WithSecurity("<YOUR_API_KEY_HERE>"),
)

ctx := context.Background()
res, err := s.AccountSettings.GetAiPreferences(ctx)
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -648,11 +653,12 @@ import (
)

func main() {
ctx := context.Background()

s := firehydrant.New(
firehydrant.WithSecurity("<YOUR_API_KEY_HERE>"),
)

ctx := context.Background()
res, err := s.AccountSettings.GetAiPreferences(ctx, operations.WithRetries(
retry.Config{
Strategy: "backoff",
Expand Down Expand Up @@ -686,6 +692,8 @@ import (
)

func main() {
ctx := context.Background()

s := firehydrant.New(
firehydrant.WithRetryConfig(
retry.Config{
Expand All @@ -701,7 +709,6 @@ func main() {
firehydrant.WithSecurity("<YOUR_API_KEY_HERE>"),
)

ctx := context.Background()
res, err := s.AccountSettings.GetAiPreferences(ctx)
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -747,11 +754,12 @@ import (
)

func main() {
ctx := context.Background()

s := firehydrant.New(
firehydrant.WithSecurity("<YOUR_API_KEY_HERE>"),
)

ctx := context.Background()
res, err := s.AccountSettings.GetAiPreferences(ctx)
if err != nil {

Expand Down Expand Up @@ -818,12 +826,13 @@ import (
)

func main() {
ctx := context.Background()

s := firehydrant.New(
firehydrant.WithServerURL("https://api.firehydrant.io/"),
firehydrant.WithSecurity("<YOUR_API_KEY_HERE>"),
)

ctx := context.Background()
res, err := s.AccountSettings.GetAiPreferences(ctx)
if err != nil {
log.Fatal(err)
Expand Down
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


## 2025-01-01 00:29:04
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.460.3 (2.484.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.6.0] .
### Releases
- [Go v0.6.0] https://github.com/speakeasy-sdks/firehydrant-go-sdk/releases/tag/v0.6.0 - .
3 changes: 2 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ import (
)

func main() {
ctx := context.Background()

s := firehydrant.New(
firehydrant.WithSecurity("<YOUR_API_KEY_HERE>"),
)

ctx := context.Background()
res, err := s.AccountSettings.GetAiPreferences(ctx)
if err != nil {
log.Fatal(err)
Expand Down
Loading

0 comments on commit 2bb0b43

Please sign in to comment.