speakeasy_client_sdk_ruby 2.1.1 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sdk/apiendpoints.rb +9 -0
  3. data/lib/sdk/apis.rb +7 -0
  4. data/lib/sdk/embeds.rb +3 -0
  5. data/lib/sdk/metadata.rb +3 -0
  6. data/lib/sdk/models/operations/deleteapi.rb +5 -5
  7. data/lib/sdk/models/operations/deleteapiendpoint.rb +5 -5
  8. data/lib/sdk/models/operations/deleteschema.rb +5 -5
  9. data/lib/sdk/models/operations/deleteversionmetadata.rb +5 -5
  10. data/lib/sdk/models/operations/downloadschema.rb +5 -5
  11. data/lib/sdk/models/operations/downloadschemarevision.rb +5 -5
  12. data/lib/sdk/models/operations/findapiendpoint.rb +5 -5
  13. data/lib/sdk/models/operations/generateopenapispec.rb +5 -5
  14. data/lib/sdk/models/operations/generateopenapispecforapiendpoint.rb +5 -5
  15. data/lib/sdk/models/operations/generatepostmancollection.rb +5 -5
  16. data/lib/sdk/models/operations/generatepostmancollectionforapiendpoint.rb +5 -5
  17. data/lib/sdk/models/operations/generaterequestpostmancollection.rb +5 -5
  18. data/lib/sdk/models/operations/getallapiendpoints.rb +5 -5
  19. data/lib/sdk/models/operations/getallapiversions.rb +5 -5
  20. data/lib/sdk/models/operations/getallforversionapiendpoints.rb +5 -5
  21. data/lib/sdk/models/operations/getapiendpoint.rb +5 -5
  22. data/lib/sdk/models/operations/getapis.rb +5 -5
  23. data/lib/sdk/models/operations/getembedaccesstoken.rb +5 -5
  24. data/lib/sdk/models/operations/getplugins.rb +5 -5
  25. data/lib/sdk/models/operations/getrequestfromeventlog.rb +5 -5
  26. data/lib/sdk/models/operations/getschema.rb +5 -5
  27. data/lib/sdk/models/operations/getschemadiff.rb +5 -5
  28. data/lib/sdk/models/operations/getschemarevision.rb +5 -5
  29. data/lib/sdk/models/operations/getschemas.rb +5 -5
  30. data/lib/sdk/models/operations/getvalidembedaccesstokens.rb +5 -5
  31. data/lib/sdk/models/operations/getversionmetadata.rb +5 -5
  32. data/lib/sdk/models/operations/insertversionmetadata.rb +5 -5
  33. data/lib/sdk/models/operations/queryeventlog.rb +5 -5
  34. data/lib/sdk/models/operations/registerschema.rb +5 -5
  35. data/lib/sdk/models/operations/revokeembedaccesstoken.rb +5 -5
  36. data/lib/sdk/models/operations/runplugin.rb +5 -5
  37. data/lib/sdk/models/operations/upsertapi.rb +5 -5
  38. data/lib/sdk/models/operations/upsertapiendpoint.rb +5 -5
  39. data/lib/sdk/models/operations/upsertplugin.rb +5 -5
  40. data/lib/sdk/models/operations/validateapikey.rb +5 -5
  41. data/lib/sdk/plugins.rb +3 -0
  42. data/lib/sdk/requests.rb +4 -0
  43. data/lib/sdk/schemas.rb +12 -0
  44. data/lib/sdk/sdk.rb +1 -0
  45. data/lib/sdk/sdkconfiguration.rb +3 -3
  46. 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
@@ -114,6 +114,7 @@ module SpeakeasyClientSDK
114
114
  )
115
115
  if r.status == 200
116
116
  else
117
+
117
118
  if Utils.match_content_type(content_type, 'application/json')
118
119
  out = Utils.unmarshal_complex(r.env.response_body, Shared::Error)
119
120
  res.error = out
@@ -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.1'
43
- @gen_version = '2.191.3'
44
- @user_agent = 'speakeasy-sdk/ruby 2.1.1 2.191.3 0.3.0 speakeasy_client_sdk_ruby'
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.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-16 00:00:00.000000000 Z
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday