Skip to content

Commit e32a1d7

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.634.2
1 parent 5f5e6a5 commit e32a1d7

File tree

902 files changed

+30672
-200132
lines changed

Some content is hidden

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

902 files changed

+30672
-200132
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
3+
bin/
4+
sorbet/
5+
.env
6+
.env.local
17
.DS_Store
28
*.gem
39
Gemfile.lock

.rubocop.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
plugins:
2+
- rubocop-minitest
3+
14
AllCops:
25
Exclude:
36
- Rakefile
4-
TargetRubyVersion: "3.0"
7+
- bin/**/*
8+
TargetRubyVersion: "3.2"
59
Metrics:
610
Enabled: false
711
Style/IfInsideElse:

.speakeasy/gen.lock

Lines changed: 751 additions & 680 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,35 @@ generation:
44
maintainOpenAPIOrder: true
55
usageSnippets:
66
optionalPropertyRendering: withExample
7+
sdkInitStyle: constructor
78
useClassNamesForArrayFields: true
89
fixes:
910
nameResolutionDec2023: true
11+
nameResolutionFeb2025: false
1012
parameterOrderingFeb2024: true
1113
requestResponseComponentNamesFeb2024: true
14+
securityFeb2025: false
15+
sharedErrorComponentsApr2025: false
1216
auth:
1317
oAuth2ClientCredentialsEnabled: true
18+
oAuth2PasswordEnabled: false
19+
hoistGlobalSecurity: true
20+
tests:
21+
generateTests: true
22+
generateNewTests: false
23+
skipResponseBodyAssertions: false
1424
ruby:
15-
version: 4.2.24
25+
version: 4.3.0
26+
additionalDependencies:
27+
development: {}
28+
runtime: {}
1629
author: Speakeasy
30+
baseErrorName: SpeakeasyClientSDKError
31+
clientServerStatusCodesAsErrors: true
32+
constFieldsAlwaysOptional: false
33+
defaultErrorName: APIError
1734
description: Ruby Client SDK Generated by Speakeasy
35+
flattenGlobalSecurity: false
1836
imports:
1937
option: openapi
2038
paths:
@@ -28,3 +46,4 @@ ruby:
2846
module: OpenApiSdk
2947
outputModelSuffix: output
3048
packageName: speakeasy_client_sdk_ruby
49+
typingStrategy: sorbet

.speakeasy/workflow.lock

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.405.8
1+
speakeasyVersion: 1.634.2
22
sources: {}
33
targets:
44
speakeasy-client-sdk:
@@ -21,3 +21,9 @@ workflow:
2121
publish:
2222
rubygems:
2323
token: $rubygems_auth_token
24+
codeSamples:
25+
registry:
26+
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/-oas-ruby-code-samples
27+
labelOverride:
28+
fixedValue: Ruby (SDK)
29+
blocking: false

.speakeasy/workflow.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ targets:
1515
publish:
1616
rubygems:
1717
token: $rubygems_auth_token
18+
codeSamples:
19+
registry:
20+
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/-oas-ruby-code-samples
21+
labelOverride:
22+
fixedValue: Ruby (SDK)
23+
blocking: false

README.md

Lines changed: 276 additions & 83 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,14 @@ Based on:
3434
### Generated
3535
- [ruby v4.2.24] .
3636
### Releases
37-
- [Ruby Gems v4.2.24] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.24 - .
37+
- [Ruby Gems v4.2.24] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.24 - .
38+
39+
## 2025-10-05 00:33:29
40+
### Changes
41+
Based on:
42+
- OpenAPI Doc
43+
- Speakeasy CLI 1.634.2 (2.721.3) https://github.com/speakeasy-api/speakeasy
44+
### Generated
45+
- [ruby v4.3.0] .
46+
### Releases
47+
- [Ruby Gems v4.3.0] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.3.0 - .

Rakefile

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,20 @@ require 'rubocop/rake_task'
77

88
RuboCop::RakeTask.new
99

10-
Minitest::TestTask.create
10+
Minitest::TestTask.create do |t|
11+
# workaround to avoid throwing warnings from Janeway library circular require...
12+
t.warning = false
13+
end
1114

12-
# So far default is working - leaving this here for reference.
15+
task :default => :test
1316

14-
# Minitest::TestTask.create(:test) do |t|
15-
# t.libs << 'test'
16-
# t.libs << 'lib'
17-
# t.warning = false
18-
# t.test_globs = ['test/**/*_test.rb']
19-
# end
2017

21-
task :default => :test
18+
# Developers can run all tests with:
19+
#
20+
# $ rake test
21+
#
22+
# Developers can run individual test files with:
23+
#
24+
# $ rake test test/parameter_test
25+
#
26+
# and run individual tests by adding `focus` to the line before the test definition.

USAGE.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,16 @@
22
```ruby
33
require 'speakeasy_client_sdk_ruby'
44

5+
Models = ::OpenApiSDK::Models
6+
s = ::OpenApiSDK::SpeakeasyClientSDK.new(
7+
security: Models::Shared::Security.new(
8+
api_key: '<YOUR_API_KEY_HERE>',
9+
),
10+
)
511

6-
s = ::OpenApiSDK::SpeakeasyClientSDK.new
7-
s.config_security(
8-
::OpenApiSDK::Shared::Security.new(
9-
api_key: "<YOUR_API_KEY_HERE>",
10-
)
11-
)
12+
res = s.auth.validate_api_key()
1213

13-
14-
res = s.apis.get_all(op=::OpenApiSDK::Operations::Op.new(
15-
and_: false,
16-
), metadata={
17-
"key": [
18-
"<value>",
19-
],
20-
})
21-
22-
if ! res.apis.nil?
14+
unless res.api_key_details.nil?
2315
# handle response
2416
end
2517

0 commit comments

Comments
 (0)