speakeasy_client_sdk_ruby 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/models/operations/deleteapi.rb +5 -5
- data/lib/sdk/models/operations/deleteapiendpoint.rb +5 -5
- data/lib/sdk/models/operations/deleteschema.rb +5 -5
- data/lib/sdk/models/operations/deleteversionmetadata.rb +5 -5
- data/lib/sdk/models/operations/downloadschema.rb +5 -5
- data/lib/sdk/models/operations/downloadschemarevision.rb +5 -5
- data/lib/sdk/models/operations/findapiendpoint.rb +5 -5
- data/lib/sdk/models/operations/generateopenapispec.rb +5 -5
- data/lib/sdk/models/operations/generateopenapispecforapiendpoint.rb +5 -5
- data/lib/sdk/models/operations/generatepostmancollection.rb +5 -5
- data/lib/sdk/models/operations/generatepostmancollectionforapiendpoint.rb +5 -5
- data/lib/sdk/models/operations/generaterequestpostmancollection.rb +5 -5
- data/lib/sdk/models/operations/getallapiendpoints.rb +5 -5
- data/lib/sdk/models/operations/getallapiversions.rb +5 -5
- data/lib/sdk/models/operations/getallforversionapiendpoints.rb +5 -5
- data/lib/sdk/models/operations/getapiendpoint.rb +5 -5
- data/lib/sdk/models/operations/getapis.rb +5 -5
- data/lib/sdk/models/operations/getembedaccesstoken.rb +5 -5
- data/lib/sdk/models/operations/getplugins.rb +5 -5
- data/lib/sdk/models/operations/getrequestfromeventlog.rb +5 -5
- data/lib/sdk/models/operations/getschema.rb +5 -5
- data/lib/sdk/models/operations/getschemadiff.rb +5 -5
- data/lib/sdk/models/operations/getschemarevision.rb +5 -5
- data/lib/sdk/models/operations/getschemas.rb +5 -5
- data/lib/sdk/models/operations/getvalidembedaccesstokens.rb +5 -5
- data/lib/sdk/models/operations/getversionmetadata.rb +5 -5
- data/lib/sdk/models/operations/insertversionmetadata.rb +5 -5
- data/lib/sdk/models/operations/queryeventlog.rb +5 -5
- data/lib/sdk/models/operations/registerschema.rb +5 -5
- data/lib/sdk/models/operations/revokeembedaccesstoken.rb +5 -5
- data/lib/sdk/models/operations/runplugin.rb +5 -5
- data/lib/sdk/models/operations/upsertapi.rb +5 -5
- data/lib/sdk/models/operations/upsertapiendpoint.rb +5 -5
- data/lib/sdk/models/operations/upsertplugin.rb +5 -5
- data/lib/sdk/models/operations/validateapikey.rb +5 -5
- 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
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
|