speakeasy_client_sdk_ruby 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sdk/apiendpoints.rb +9 -0
- data/lib/sdk/apis.rb +7 -0
- data/lib/sdk/embeds.rb +3 -0
- data/lib/sdk/metadata.rb +3 -0
- data/lib/sdk/plugins.rb +3 -0
- data/lib/sdk/requests.rb +4 -0
- data/lib/sdk/schemas.rb +12 -0
- data/lib/sdk/sdk.rb +1 -0
- data/lib/sdk/sdkconfiguration.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 934b0feafa1023fc14cd25076cffa7c3717a5f49adec933a3613973c9d874357
|
4
|
+
data.tar.gz: 26b27f8fc5b20e7400d993b8066f8152a1a75c460b79074835a2e7670c4ba088
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ccf0f4193e7329760fabe4e74bc04c4dbbc886fb4fcca7b84b88a699f8e50a55051e8e3a8a0c760aeb7857201ebc6b5f5b9072053c6fc12fb991b7962850ff7
|
7
|
+
data.tar.gz: dd173cb3f65ea40f13cb146d91967214fb1f5a398199091293706b31fa9669ae83da6f0554ceb0485dabdcb470b668bcc2d502d8e771039ee4c3087754dfa096
|
data/lib/sdk/apiendpoints.rb
CHANGED
@@ -45,6 +45,7 @@ module SpeakeasyClientSDK
|
|
45
45
|
)
|
46
46
|
if r.status == 200
|
47
47
|
else
|
48
|
+
|
48
49
|
if Utils.match_content_type(content_type, 'application/json')
|
49
50
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
50
51
|
res.error = out
|
@@ -86,6 +87,7 @@ module SpeakeasyClientSDK
|
|
86
87
|
res.api_endpoint = out
|
87
88
|
end
|
88
89
|
else
|
90
|
+
|
89
91
|
if Utils.match_content_type(content_type, 'application/json')
|
90
92
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
91
93
|
res.error = out
|
@@ -127,6 +129,7 @@ module SpeakeasyClientSDK
|
|
127
129
|
res.generate_open_api_spec_diff = out
|
128
130
|
end
|
129
131
|
else
|
132
|
+
|
130
133
|
if Utils.match_content_type(content_type, 'application/json')
|
131
134
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
132
135
|
res.error = out
|
@@ -163,7 +166,9 @@ module SpeakeasyClientSDK
|
|
163
166
|
)
|
164
167
|
if r.status == 200
|
165
168
|
res.postman_collection = r.env.response_body if Utils.match_content_type(content_type, 'application/octet-stream')
|
169
|
+
|
166
170
|
else
|
171
|
+
|
167
172
|
if Utils.match_content_type(content_type, 'application/json')
|
168
173
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
169
174
|
res.error = out
|
@@ -203,6 +208,7 @@ module SpeakeasyClientSDK
|
|
203
208
|
res.classes = out
|
204
209
|
end
|
205
210
|
else
|
211
|
+
|
206
212
|
if Utils.match_content_type(content_type, 'application/json')
|
207
213
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
208
214
|
res.error = out
|
@@ -242,6 +248,7 @@ module SpeakeasyClientSDK
|
|
242
248
|
res.classes = out
|
243
249
|
end
|
244
250
|
else
|
251
|
+
|
245
252
|
if Utils.match_content_type(content_type, 'application/json')
|
246
253
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
247
254
|
res.error = out
|
@@ -281,6 +288,7 @@ module SpeakeasyClientSDK
|
|
281
288
|
res.api_endpoint = out
|
282
289
|
end
|
283
290
|
else
|
291
|
+
|
284
292
|
if Utils.match_content_type(content_type, 'application/json')
|
285
293
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
286
294
|
res.error = out
|
@@ -331,6 +339,7 @@ module SpeakeasyClientSDK
|
|
331
339
|
res.api_endpoint = out
|
332
340
|
end
|
333
341
|
else
|
342
|
+
|
334
343
|
if Utils.match_content_type(content_type, 'application/json')
|
335
344
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
336
345
|
res.error = out
|
data/lib/sdk/apis.rb
CHANGED
@@ -45,6 +45,7 @@ module SpeakeasyClientSDK
|
|
45
45
|
)
|
46
46
|
if r.status == 200
|
47
47
|
else
|
48
|
+
|
48
49
|
if Utils.match_content_type(content_type, 'application/json')
|
49
50
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
50
51
|
res.error = out
|
@@ -86,6 +87,7 @@ module SpeakeasyClientSDK
|
|
86
87
|
res.generate_open_api_spec_diff = out
|
87
88
|
end
|
88
89
|
else
|
90
|
+
|
89
91
|
if Utils.match_content_type(content_type, 'application/json')
|
90
92
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
91
93
|
res.error = out
|
@@ -122,7 +124,9 @@ module SpeakeasyClientSDK
|
|
122
124
|
)
|
123
125
|
if r.status == 200
|
124
126
|
res.postman_collection = r.env.response_body if Utils.match_content_type(content_type, 'application/octet-stream')
|
127
|
+
|
125
128
|
else
|
129
|
+
|
126
130
|
if Utils.match_content_type(content_type, 'application/json')
|
127
131
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
128
132
|
res.error = out
|
@@ -166,6 +170,7 @@ module SpeakeasyClientSDK
|
|
166
170
|
res.classes = out
|
167
171
|
end
|
168
172
|
else
|
173
|
+
|
169
174
|
if Utils.match_content_type(content_type, 'application/json')
|
170
175
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
171
176
|
res.error = out
|
@@ -204,6 +209,7 @@ module SpeakeasyClientSDK
|
|
204
209
|
res.classes = out
|
205
210
|
end
|
206
211
|
else
|
212
|
+
|
207
213
|
if Utils.match_content_type(content_type, 'application/json')
|
208
214
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
209
215
|
res.error = out
|
@@ -255,6 +261,7 @@ module SpeakeasyClientSDK
|
|
255
261
|
res.api = out
|
256
262
|
end
|
257
263
|
else
|
264
|
+
|
258
265
|
if Utils.match_content_type(content_type, 'application/json')
|
259
266
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
260
267
|
res.error = out
|
data/lib/sdk/embeds.rb
CHANGED
@@ -47,6 +47,7 @@ module SpeakeasyClientSDK
|
|
47
47
|
res.embed_access_token_response = out
|
48
48
|
end
|
49
49
|
else
|
50
|
+
|
50
51
|
if Utils.match_content_type(content_type, 'application/json')
|
51
52
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
52
53
|
res.error = out
|
@@ -81,6 +82,7 @@ module SpeakeasyClientSDK
|
|
81
82
|
res.classes = out
|
82
83
|
end
|
83
84
|
else
|
85
|
+
|
84
86
|
if Utils.match_content_type(content_type, 'application/json')
|
85
87
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
86
88
|
res.error = out
|
@@ -116,6 +118,7 @@ module SpeakeasyClientSDK
|
|
116
118
|
)
|
117
119
|
if r.status == 200
|
118
120
|
else
|
121
|
+
|
119
122
|
if Utils.match_content_type(content_type, 'application/json')
|
120
123
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
121
124
|
res.error = out
|
data/lib/sdk/metadata.rb
CHANGED
@@ -44,6 +44,7 @@ module SpeakeasyClientSDK
|
|
44
44
|
)
|
45
45
|
if r.status == 200
|
46
46
|
else
|
47
|
+
|
47
48
|
if Utils.match_content_type(content_type, 'application/json')
|
48
49
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
49
50
|
res.error = out
|
@@ -83,6 +84,7 @@ module SpeakeasyClientSDK
|
|
83
84
|
res.classes = out
|
84
85
|
end
|
85
86
|
else
|
87
|
+
|
86
88
|
if Utils.match_content_type(content_type, 'application/json')
|
87
89
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
88
90
|
res.error = out
|
@@ -132,6 +134,7 @@ module SpeakeasyClientSDK
|
|
132
134
|
res.version_metadata = out
|
133
135
|
end
|
134
136
|
else
|
137
|
+
|
135
138
|
if Utils.match_content_type(content_type, 'application/json')
|
136
139
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
137
140
|
res.error = out
|
data/lib/sdk/plugins.rb
CHANGED
@@ -43,6 +43,7 @@ module SpeakeasyClientSDK
|
|
43
43
|
res.classes = out
|
44
44
|
end
|
45
45
|
else
|
46
|
+
|
46
47
|
if Utils.match_content_type(content_type, 'application/json')
|
47
48
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
48
49
|
res.error = out
|
@@ -84,6 +85,7 @@ module SpeakeasyClientSDK
|
|
84
85
|
res.classes = out
|
85
86
|
end
|
86
87
|
else
|
88
|
+
|
87
89
|
if Utils.match_content_type(content_type, 'application/json')
|
88
90
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
89
91
|
res.error = out
|
@@ -128,6 +130,7 @@ module SpeakeasyClientSDK
|
|
128
130
|
res.plugin = out
|
129
131
|
end
|
130
132
|
else
|
133
|
+
|
131
134
|
if Utils.match_content_type(content_type, 'application/json')
|
132
135
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
133
136
|
res.error = out
|
data/lib/sdk/requests.rb
CHANGED
@@ -46,7 +46,9 @@ module SpeakeasyClientSDK
|
|
46
46
|
)
|
47
47
|
if r.status == 200
|
48
48
|
res.postman_collection = r.env.response_body if Utils.match_content_type(content_type, 'application/octet-stream')
|
49
|
+
|
49
50
|
else
|
51
|
+
|
50
52
|
if Utils.match_content_type(content_type, 'application/json')
|
51
53
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
52
54
|
res.error = out
|
@@ -86,6 +88,7 @@ module SpeakeasyClientSDK
|
|
86
88
|
res.unbounded_request = out
|
87
89
|
end
|
88
90
|
else
|
91
|
+
|
89
92
|
if Utils.match_content_type(content_type, 'application/json')
|
90
93
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
91
94
|
res.error = out
|
@@ -124,6 +127,7 @@ module SpeakeasyClientSDK
|
|
124
127
|
res.classes = out
|
125
128
|
end
|
126
129
|
else
|
130
|
+
|
127
131
|
if Utils.match_content_type(content_type, 'application/json')
|
128
132
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
129
133
|
res.error = out
|
data/lib/sdk/schemas.rb
CHANGED
@@ -44,6 +44,7 @@ module SpeakeasyClientSDK
|
|
44
44
|
)
|
45
45
|
if r.status == 200
|
46
46
|
else
|
47
|
+
|
47
48
|
if Utils.match_content_type(content_type, 'application/json')
|
48
49
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
49
50
|
res.error = out
|
@@ -79,8 +80,11 @@ module SpeakeasyClientSDK
|
|
79
80
|
)
|
80
81
|
if r.status == 200
|
81
82
|
res.two_hundred_application_json_schema = r.env.response_body if Utils.match_content_type(content_type, 'application/json')
|
83
|
+
|
82
84
|
res.two_hundred_application_x_yaml_schema = r.env.response_body if Utils.match_content_type(content_type, 'application/x-yaml')
|
85
|
+
|
83
86
|
else
|
87
|
+
|
84
88
|
if Utils.match_content_type(content_type, 'application/json')
|
85
89
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
86
90
|
res.error = out
|
@@ -116,8 +120,11 @@ module SpeakeasyClientSDK
|
|
116
120
|
)
|
117
121
|
if r.status == 200
|
118
122
|
res.two_hundred_application_json_schema = r.env.response_body if Utils.match_content_type(content_type, 'application/json')
|
123
|
+
|
119
124
|
res.two_hundred_application_x_yaml_schema = r.env.response_body if Utils.match_content_type(content_type, 'application/x-yaml')
|
125
|
+
|
120
126
|
else
|
127
|
+
|
121
128
|
if Utils.match_content_type(content_type, 'application/json')
|
122
129
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
123
130
|
res.error = out
|
@@ -159,6 +166,7 @@ module SpeakeasyClientSDK
|
|
159
166
|
res.schema = out
|
160
167
|
end
|
161
168
|
else
|
169
|
+
|
162
170
|
if Utils.match_content_type(content_type, 'application/json')
|
163
171
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
164
172
|
res.error = out
|
@@ -198,6 +206,7 @@ module SpeakeasyClientSDK
|
|
198
206
|
res.schema_diff = out
|
199
207
|
end
|
200
208
|
else
|
209
|
+
|
201
210
|
if Utils.match_content_type(content_type, 'application/json')
|
202
211
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
203
212
|
res.error = out
|
@@ -239,6 +248,7 @@ module SpeakeasyClientSDK
|
|
239
248
|
res.schema = out
|
240
249
|
end
|
241
250
|
else
|
251
|
+
|
242
252
|
if Utils.match_content_type(content_type, 'application/json')
|
243
253
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
244
254
|
res.error = out
|
@@ -280,6 +290,7 @@ module SpeakeasyClientSDK
|
|
280
290
|
res.classes = out
|
281
291
|
end
|
282
292
|
else
|
293
|
+
|
283
294
|
if Utils.match_content_type(content_type, 'application/json')
|
284
295
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
285
296
|
res.error = out
|
@@ -327,6 +338,7 @@ module SpeakeasyClientSDK
|
|
327
338
|
)
|
328
339
|
if r.status == 200
|
329
340
|
else
|
341
|
+
|
330
342
|
if Utils.match_content_type(content_type, 'application/json')
|
331
343
|
out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
|
332
344
|
res.error = out
|
data/lib/sdk/sdk.rb
CHANGED
data/lib/sdk/sdkconfiguration.rb
CHANGED
@@ -39,9 +39,9 @@ module OpenApiSDK
|
|
39
39
|
@server = server_url.nil? ? '' : server_url
|
40
40
|
@language = 'ruby'
|
41
41
|
@openapi_doc_version = '0.3.0'
|
42
|
-
@sdk_version = '2.1.
|
43
|
-
@gen_version = '2.
|
44
|
-
@user_agent = 'speakeasy-sdk/ruby 2.1.
|
42
|
+
@sdk_version = '2.1.3'
|
43
|
+
@gen_version = '2.210.6'
|
44
|
+
@user_agent = 'speakeasy-sdk/ruby 2.1.3 2.210.6 0.3.0 speakeasy_client_sdk_ruby'
|
45
45
|
end
|
46
46
|
|
47
47
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speakeasy_client_sdk_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|