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.
- 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
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
|
@@ -32,20 +32,20 @@ module SpeakeasyClientSDK
|
|
32
32
|
|
33
33
|
# HTTP response content type for this operation
|
34
34
|
field :content_type, String
|
35
|
+
# Raw HTTP response; suitable for custom response parsing
|
36
|
+
field :raw_response, Faraday::Response
|
35
37
|
# HTTP response status code for this operation
|
36
38
|
field :status_code, Integer
|
37
39
|
# Default error response
|
38
40
|
field :error, T.nilable(Shared::Error)
|
39
|
-
# Raw HTTP response; suitable for custom response parsing
|
40
|
-
field :raw_response, T.nilable(Faraday::Response)
|
41
41
|
|
42
42
|
|
43
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error)
|
44
|
-
def initialize(content_type: nil,
|
43
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void }
|
44
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
|
45
45
|
@content_type = content_type
|
46
|
+
@raw_response = raw_response
|
46
47
|
@status_code = status_code
|
47
48
|
@error = error
|
48
|
-
@raw_response = raw_response
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
@@ -35,20 +35,20 @@ module SpeakeasyClientSDK
|
|
35
35
|
|
36
36
|
# HTTP response content type for this operation
|
37
37
|
field :content_type, String
|
38
|
+
# Raw HTTP response; suitable for custom response parsing
|
39
|
+
field :raw_response, Faraday::Response
|
38
40
|
# HTTP response status code for this operation
|
39
41
|
field :status_code, Integer
|
40
42
|
# Default error response
|
41
43
|
field :error, T.nilable(Shared::Error)
|
42
|
-
# Raw HTTP response; suitable for custom response parsing
|
43
|
-
field :raw_response, T.nilable(Faraday::Response)
|
44
44
|
|
45
45
|
|
46
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error)
|
47
|
-
def initialize(content_type: nil,
|
46
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void }
|
47
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
|
48
48
|
@content_type = content_type
|
49
|
+
@raw_response = raw_response
|
49
50
|
@status_code = status_code
|
50
51
|
@error = error
|
51
|
-
@raw_response = raw_response
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end
|
@@ -35,20 +35,20 @@ module SpeakeasyClientSDK
|
|
35
35
|
|
36
36
|
# HTTP response content type for this operation
|
37
37
|
field :content_type, String
|
38
|
+
# Raw HTTP response; suitable for custom response parsing
|
39
|
+
field :raw_response, Faraday::Response
|
38
40
|
# HTTP response status code for this operation
|
39
41
|
field :status_code, Integer
|
40
42
|
# Default error response
|
41
43
|
field :error, T.nilable(Shared::Error)
|
42
|
-
# Raw HTTP response; suitable for custom response parsing
|
43
|
-
field :raw_response, T.nilable(Faraday::Response)
|
44
44
|
|
45
45
|
|
46
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error)
|
47
|
-
def initialize(content_type: nil,
|
46
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void }
|
47
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
|
48
48
|
@content_type = content_type
|
49
|
+
@raw_response = raw_response
|
49
50
|
@status_code = status_code
|
50
51
|
@error = error
|
51
|
-
@raw_response = raw_response
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end
|
@@ -38,20 +38,20 @@ module SpeakeasyClientSDK
|
|
38
38
|
|
39
39
|
# HTTP response content type for this operation
|
40
40
|
field :content_type, String
|
41
|
+
# Raw HTTP response; suitable for custom response parsing
|
42
|
+
field :raw_response, Faraday::Response
|
41
43
|
# HTTP response status code for this operation
|
42
44
|
field :status_code, Integer
|
43
45
|
# Default error response
|
44
46
|
field :error, T.nilable(Shared::Error)
|
45
|
-
# Raw HTTP response; suitable for custom response parsing
|
46
|
-
field :raw_response, T.nilable(Faraday::Response)
|
47
47
|
|
48
48
|
|
49
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error)
|
50
|
-
def initialize(content_type: nil,
|
49
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void }
|
50
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
|
51
51
|
@content_type = content_type
|
52
|
+
@raw_response = raw_response
|
52
53
|
@status_code = status_code
|
53
54
|
@error = error
|
54
|
-
@raw_response = raw_response
|
55
55
|
end
|
56
56
|
end
|
57
57
|
end
|
@@ -32,6 +32,8 @@ module SpeakeasyClientSDK
|
|
32
32
|
|
33
33
|
# HTTP response content type for this operation
|
34
34
|
field :content_type, String
|
35
|
+
# Raw HTTP response; suitable for custom response parsing
|
36
|
+
field :raw_response, Faraday::Response
|
35
37
|
# HTTP response status code for this operation
|
36
38
|
field :status_code, Integer
|
37
39
|
# OK
|
@@ -40,18 +42,16 @@ module SpeakeasyClientSDK
|
|
40
42
|
field :two_hundred_application_x_yaml_schema, T.nilable(String)
|
41
43
|
# Default error response
|
42
44
|
field :error, T.nilable(Shared::Error)
|
43
|
-
# Raw HTTP response; suitable for custom response parsing
|
44
|
-
field :raw_response, T.nilable(Faraday::Response)
|
45
45
|
|
46
46
|
|
47
|
-
sig { params(content_type: String, status_code: Integer, two_hundred_application_json_schema: T.nilable(String), two_hundred_application_x_yaml_schema: T.nilable(String), error: T.nilable(Shared::Error)
|
48
|
-
def initialize(content_type: nil,
|
47
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, two_hundred_application_json_schema: T.nilable(String), two_hundred_application_x_yaml_schema: T.nilable(String), error: T.nilable(Shared::Error)).void }
|
48
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, two_hundred_application_json_schema: nil, two_hundred_application_x_yaml_schema: nil, error: nil)
|
49
49
|
@content_type = content_type
|
50
|
+
@raw_response = raw_response
|
50
51
|
@status_code = status_code
|
51
52
|
@two_hundred_application_json_schema = two_hundred_application_json_schema
|
52
53
|
@two_hundred_application_x_yaml_schema = two_hundred_application_x_yaml_schema
|
53
54
|
@error = error
|
54
|
-
@raw_response = raw_response
|
55
55
|
end
|
56
56
|
end
|
57
57
|
end
|
@@ -35,6 +35,8 @@ module SpeakeasyClientSDK
|
|
35
35
|
|
36
36
|
# HTTP response content type for this operation
|
37
37
|
field :content_type, String
|
38
|
+
# Raw HTTP response; suitable for custom response parsing
|
39
|
+
field :raw_response, Faraday::Response
|
38
40
|
# HTTP response status code for this operation
|
39
41
|
field :status_code, Integer
|
40
42
|
# OK
|
@@ -43,18 +45,16 @@ module SpeakeasyClientSDK
|
|
43
45
|
field :two_hundred_application_x_yaml_schema, T.nilable(String)
|
44
46
|
# Default error response
|
45
47
|
field :error, T.nilable(Shared::Error)
|
46
|
-
# Raw HTTP response; suitable for custom response parsing
|
47
|
-
field :raw_response, T.nilable(Faraday::Response)
|
48
48
|
|
49
49
|
|
50
|
-
sig { params(content_type: String, status_code: Integer, two_hundred_application_json_schema: T.nilable(String), two_hundred_application_x_yaml_schema: T.nilable(String), error: T.nilable(Shared::Error)
|
51
|
-
def initialize(content_type: nil,
|
50
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, two_hundred_application_json_schema: T.nilable(String), two_hundred_application_x_yaml_schema: T.nilable(String), error: T.nilable(Shared::Error)).void }
|
51
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, two_hundred_application_json_schema: nil, two_hundred_application_x_yaml_schema: nil, error: nil)
|
52
52
|
@content_type = content_type
|
53
|
+
@raw_response = raw_response
|
53
54
|
@status_code = status_code
|
54
55
|
@two_hundred_application_json_schema = two_hundred_application_json_schema
|
55
56
|
@two_hundred_application_x_yaml_schema = two_hundred_application_x_yaml_schema
|
56
57
|
@error = error
|
57
|
-
@raw_response = raw_response
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
@@ -36,23 +36,23 @@ module SpeakeasyClientSDK
|
|
36
36
|
|
37
37
|
# HTTP response content type for this operation
|
38
38
|
field :content_type, String
|
39
|
+
# Raw HTTP response; suitable for custom response parsing
|
40
|
+
field :raw_response, Faraday::Response
|
39
41
|
# HTTP response status code for this operation
|
40
42
|
field :status_code, Integer
|
41
43
|
# OK
|
42
44
|
field :api_endpoint, T.nilable(Shared::ApiEndpoint)
|
43
45
|
# Default error response
|
44
46
|
field :error, T.nilable(Shared::Error)
|
45
|
-
# Raw HTTP response; suitable for custom response parsing
|
46
|
-
field :raw_response, T.nilable(Faraday::Response)
|
47
47
|
|
48
48
|
|
49
|
-
sig { params(content_type: String, status_code: Integer, api_endpoint: T.nilable(Shared::ApiEndpoint), error: T.nilable(Shared::Error)
|
50
|
-
def initialize(content_type: nil,
|
49
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, api_endpoint: T.nilable(Shared::ApiEndpoint), error: T.nilable(Shared::Error)).void }
|
50
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, api_endpoint: nil, error: nil)
|
51
51
|
@content_type = content_type
|
52
|
+
@raw_response = raw_response
|
52
53
|
@status_code = status_code
|
53
54
|
@api_endpoint = api_endpoint
|
54
55
|
@error = error
|
55
|
-
@raw_response = raw_response
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -33,23 +33,23 @@ module SpeakeasyClientSDK
|
|
33
33
|
|
34
34
|
# HTTP response content type for this operation
|
35
35
|
field :content_type, String
|
36
|
+
# Raw HTTP response; suitable for custom response parsing
|
37
|
+
field :raw_response, Faraday::Response
|
36
38
|
# HTTP response status code for this operation
|
37
39
|
field :status_code, Integer
|
38
40
|
# Default error response
|
39
41
|
field :error, T.nilable(Shared::Error)
|
40
42
|
# OK
|
41
43
|
field :generate_open_api_spec_diff, T.nilable(Shared::GenerateOpenApiSpecDiff)
|
42
|
-
# Raw HTTP response; suitable for custom response parsing
|
43
|
-
field :raw_response, T.nilable(Faraday::Response)
|
44
44
|
|
45
45
|
|
46
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), generate_open_api_spec_diff: T.nilable(Shared::GenerateOpenApiSpecDiff)
|
47
|
-
def initialize(content_type: nil,
|
46
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), generate_open_api_spec_diff: T.nilable(Shared::GenerateOpenApiSpecDiff)).void }
|
47
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, generate_open_api_spec_diff: nil)
|
48
48
|
@content_type = content_type
|
49
|
+
@raw_response = raw_response
|
49
50
|
@status_code = status_code
|
50
51
|
@error = error
|
51
52
|
@generate_open_api_spec_diff = generate_open_api_spec_diff
|
52
|
-
@raw_response = raw_response
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
@@ -36,23 +36,23 @@ module SpeakeasyClientSDK
|
|
36
36
|
|
37
37
|
# HTTP response content type for this operation
|
38
38
|
field :content_type, String
|
39
|
+
# Raw HTTP response; suitable for custom response parsing
|
40
|
+
field :raw_response, Faraday::Response
|
39
41
|
# HTTP response status code for this operation
|
40
42
|
field :status_code, Integer
|
41
43
|
# Default error response
|
42
44
|
field :error, T.nilable(Shared::Error)
|
43
45
|
# OK
|
44
46
|
field :generate_open_api_spec_diff, T.nilable(Shared::GenerateOpenApiSpecDiff)
|
45
|
-
# Raw HTTP response; suitable for custom response parsing
|
46
|
-
field :raw_response, T.nilable(Faraday::Response)
|
47
47
|
|
48
48
|
|
49
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), generate_open_api_spec_diff: T.nilable(Shared::GenerateOpenApiSpecDiff)
|
50
|
-
def initialize(content_type: nil,
|
49
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), generate_open_api_spec_diff: T.nilable(Shared::GenerateOpenApiSpecDiff)).void }
|
50
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, generate_open_api_spec_diff: nil)
|
51
51
|
@content_type = content_type
|
52
|
+
@raw_response = raw_response
|
52
53
|
@status_code = status_code
|
53
54
|
@error = error
|
54
55
|
@generate_open_api_spec_diff = generate_open_api_spec_diff
|
55
|
-
@raw_response = raw_response
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -32,23 +32,23 @@ module SpeakeasyClientSDK
|
|
32
32
|
|
33
33
|
# HTTP response content type for this operation
|
34
34
|
field :content_type, String
|
35
|
+
# Raw HTTP response; suitable for custom response parsing
|
36
|
+
field :raw_response, Faraday::Response
|
35
37
|
# HTTP response status code for this operation
|
36
38
|
field :status_code, Integer
|
37
39
|
# Default error response
|
38
40
|
field :error, T.nilable(Shared::Error)
|
39
41
|
# OK
|
40
42
|
field :postman_collection, T.nilable(String)
|
41
|
-
# Raw HTTP response; suitable for custom response parsing
|
42
|
-
field :raw_response, T.nilable(Faraday::Response)
|
43
43
|
|
44
44
|
|
45
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), postman_collection: T.nilable(String)
|
46
|
-
def initialize(content_type: nil,
|
45
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), postman_collection: T.nilable(String)).void }
|
46
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, postman_collection: nil)
|
47
47
|
@content_type = content_type
|
48
|
+
@raw_response = raw_response
|
48
49
|
@status_code = status_code
|
49
50
|
@error = error
|
50
51
|
@postman_collection = postman_collection
|
51
|
-
@raw_response = raw_response
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end
|
@@ -35,23 +35,23 @@ module SpeakeasyClientSDK
|
|
35
35
|
|
36
36
|
# HTTP response content type for this operation
|
37
37
|
field :content_type, String
|
38
|
+
# Raw HTTP response; suitable for custom response parsing
|
39
|
+
field :raw_response, Faraday::Response
|
38
40
|
# HTTP response status code for this operation
|
39
41
|
field :status_code, Integer
|
40
42
|
# Default error response
|
41
43
|
field :error, T.nilable(Shared::Error)
|
42
44
|
# OK
|
43
45
|
field :postman_collection, T.nilable(String)
|
44
|
-
# Raw HTTP response; suitable for custom response parsing
|
45
|
-
field :raw_response, T.nilable(Faraday::Response)
|
46
46
|
|
47
47
|
|
48
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), postman_collection: T.nilable(String)
|
49
|
-
def initialize(content_type: nil,
|
48
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), postman_collection: T.nilable(String)).void }
|
49
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, postman_collection: nil)
|
50
50
|
@content_type = content_type
|
51
|
+
@raw_response = raw_response
|
51
52
|
@status_code = status_code
|
52
53
|
@error = error
|
53
54
|
@postman_collection = postman_collection
|
54
|
-
@raw_response = raw_response
|
55
55
|
end
|
56
56
|
end
|
57
57
|
end
|
@@ -29,23 +29,23 @@ module SpeakeasyClientSDK
|
|
29
29
|
|
30
30
|
# HTTP response content type for this operation
|
31
31
|
field :content_type, String
|
32
|
+
# Raw HTTP response; suitable for custom response parsing
|
33
|
+
field :raw_response, Faraday::Response
|
32
34
|
# HTTP response status code for this operation
|
33
35
|
field :status_code, Integer
|
34
36
|
# Default error response
|
35
37
|
field :error, T.nilable(Shared::Error)
|
36
38
|
# OK
|
37
39
|
field :postman_collection, T.nilable(String)
|
38
|
-
# Raw HTTP response; suitable for custom response parsing
|
39
|
-
field :raw_response, T.nilable(Faraday::Response)
|
40
40
|
|
41
41
|
|
42
|
-
sig { params(content_type: String, status_code: Integer, error: T.nilable(Shared::Error), postman_collection: T.nilable(String)
|
43
|
-
def initialize(content_type: nil,
|
42
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), postman_collection: T.nilable(String)).void }
|
43
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, postman_collection: nil)
|
44
44
|
@content_type = content_type
|
45
|
+
@raw_response = raw_response
|
45
46
|
@status_code = status_code
|
46
47
|
@error = error
|
47
48
|
@postman_collection = postman_collection
|
48
|
-
@raw_response = raw_response
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
@@ -29,23 +29,23 @@ module SpeakeasyClientSDK
|
|
29
29
|
|
30
30
|
# HTTP response content type for this operation
|
31
31
|
field :content_type, String
|
32
|
+
# Raw HTTP response; suitable for custom response parsing
|
33
|
+
field :raw_response, Faraday::Response
|
32
34
|
# HTTP response status code for this operation
|
33
35
|
field :status_code, Integer
|
34
36
|
# OK
|
35
37
|
field :classes, T.nilable(T::Array[Shared::ApiEndpoint])
|
36
38
|
# Default error response
|
37
39
|
field :error, T.nilable(Shared::Error)
|
38
|
-
# Raw HTTP response; suitable for custom response parsing
|
39
|
-
field :raw_response, T.nilable(Faraday::Response)
|
40
40
|
|
41
41
|
|
42
|
-
sig { params(content_type: String, status_code: Integer, classes: T.nilable(T::Array[Shared::ApiEndpoint]), error: T.nilable(Shared::Error)
|
43
|
-
def initialize(content_type: nil,
|
42
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::ApiEndpoint]), error: T.nilable(Shared::Error)).void }
|
43
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
44
44
|
@content_type = content_type
|
45
|
+
@raw_response = raw_response
|
45
46
|
@status_code = status_code
|
46
47
|
@classes = classes
|
47
48
|
@error = error
|
48
|
-
@raw_response = raw_response
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
@@ -49,23 +49,23 @@ module SpeakeasyClientSDK
|
|
49
49
|
|
50
50
|
# HTTP response content type for this operation
|
51
51
|
field :content_type, String
|
52
|
+
# Raw HTTP response; suitable for custom response parsing
|
53
|
+
field :raw_response, Faraday::Response
|
52
54
|
# HTTP response status code for this operation
|
53
55
|
field :status_code, Integer
|
54
56
|
# OK
|
55
57
|
field :classes, T.nilable(T::Array[Shared::Api])
|
56
58
|
# Default error response
|
57
59
|
field :error, T.nilable(Shared::Error)
|
58
|
-
# Raw HTTP response; suitable for custom response parsing
|
59
|
-
field :raw_response, T.nilable(Faraday::Response)
|
60
60
|
|
61
61
|
|
62
|
-
sig { params(content_type: String, status_code: Integer, classes: T.nilable(T::Array[Shared::Api]), error: T.nilable(Shared::Error)
|
63
|
-
def initialize(content_type: nil,
|
62
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::Api]), error: T.nilable(Shared::Error)).void }
|
63
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
64
64
|
@content_type = content_type
|
65
|
+
@raw_response = raw_response
|
65
66
|
@status_code = status_code
|
66
67
|
@classes = classes
|
67
68
|
@error = error
|
68
|
-
@raw_response = raw_response
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
@@ -32,23 +32,23 @@ module SpeakeasyClientSDK
|
|
32
32
|
|
33
33
|
# HTTP response content type for this operation
|
34
34
|
field :content_type, String
|
35
|
+
# Raw HTTP response; suitable for custom response parsing
|
36
|
+
field :raw_response, Faraday::Response
|
35
37
|
# HTTP response status code for this operation
|
36
38
|
field :status_code, Integer
|
37
39
|
# OK
|
38
40
|
field :classes, T.nilable(T::Array[Shared::ApiEndpoint])
|
39
41
|
# Default error response
|
40
42
|
field :error, T.nilable(Shared::Error)
|
41
|
-
# Raw HTTP response; suitable for custom response parsing
|
42
|
-
field :raw_response, T.nilable(Faraday::Response)
|
43
43
|
|
44
44
|
|
45
|
-
sig { params(content_type: String, status_code: Integer, classes: T.nilable(T::Array[Shared::ApiEndpoint]), error: T.nilable(Shared::Error)
|
46
|
-
def initialize(content_type: nil,
|
45
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::ApiEndpoint]), error: T.nilable(Shared::Error)).void }
|
46
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
47
47
|
@content_type = content_type
|
48
|
+
@raw_response = raw_response
|
48
49
|
@status_code = status_code
|
49
50
|
@classes = classes
|
50
51
|
@error = error
|
51
|
-
@raw_response = raw_response
|
52
52
|
end
|
53
53
|
end
|
54
54
|
end
|
@@ -36,23 +36,23 @@ module SpeakeasyClientSDK
|
|
36
36
|
|
37
37
|
# HTTP response content type for this operation
|
38
38
|
field :content_type, String
|
39
|
+
# Raw HTTP response; suitable for custom response parsing
|
40
|
+
field :raw_response, Faraday::Response
|
39
41
|
# HTTP response status code for this operation
|
40
42
|
field :status_code, Integer
|
41
43
|
# OK
|
42
44
|
field :api_endpoint, T.nilable(Shared::ApiEndpoint)
|
43
45
|
# Default error response
|
44
46
|
field :error, T.nilable(Shared::Error)
|
45
|
-
# Raw HTTP response; suitable for custom response parsing
|
46
|
-
field :raw_response, T.nilable(Faraday::Response)
|
47
47
|
|
48
48
|
|
49
|
-
sig { params(content_type: String, status_code: Integer, api_endpoint: T.nilable(Shared::ApiEndpoint), error: T.nilable(Shared::Error)
|
50
|
-
def initialize(content_type: nil,
|
49
|
+
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, api_endpoint: T.nilable(Shared::ApiEndpoint), error: T.nilable(Shared::Error)).void }
|
50
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, api_endpoint: nil, error: nil)
|
51
51
|
@content_type = content_type
|
52
|
+
@raw_response = raw_response
|
52
53
|
@status_code = status_code
|
53
54
|
@api_endpoint = api_endpoint
|
54
55
|
@error = error
|
55
|
-
@raw_response = raw_response
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|