speakeasy_client_sdk_ruby 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13642b1bdaf1e52006dfb614422cc2407f1b1b77b5a7bc5d0dc018255e54796c
4
- data.tar.gz: 4124f51c911c114f06a853238b6dc4630aac6e60221d2a7e635aa36bc0ff9358
3
+ metadata.gz: ca523179925aaa4423ccdeedefe73ea9647c66935aca3b00317f87f881912b48
4
+ data.tar.gz: a76b557176d129fe1f665b943c1d9896052a886e7e4fa8646d2dd8fea81cc34f
5
5
  SHA512:
6
- metadata.gz: 4ce5c6a7b28d65fd4e60587191c1a4f293783a6011ae4b70a2169c5761a45f3c58caadc132702571d6e7b596b73224c10b76718a110972e95ab0cf50010477ac
7
- data.tar.gz: d06258e4611ef0a4efdb9cf2db280c63f889e8689a1cce27934ca7fff01c61ff50e2c125ddaee4aeb5a9b46afe6b4846c27e22b5edd22a57761cf9f53d33ff2a
6
+ metadata.gz: d79fcac5945dda0e8bd4a9e00c380558225dd532abbbeb2b2a0526144dc6143fd35cf250aa83622a77160911479803c5bda61d94b873ec4c9b7623de3859ca8d
7
+ data.tar.gz: dcdec5e8a503ab6b0ab0038e199f71b525130b28e92834f7dbebedf747fa9e4cf9d8f1bbe8da313c1ce9b2ae9c54a2e725e90e406f89548b89973ae22ca843d2
@@ -8,29 +8,6 @@ require 'faraday'
8
8
 
9
9
  module SpeakeasyClientSDK
10
10
  module Shared
11
- # An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
12
- class ApiInput < SpeakeasyClientSDK::Utils::FieldAugmented
13
- extend T::Sig
14
-
15
- # The ID of this Api. This is a human-readable name (subject to change).
16
- field :api_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('api_id') } }
17
- # A detailed description of the Api.
18
- field :description, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('description') } }
19
- # The version ID of this Api. This is semantic version identifier.
20
- field :version_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('version_id') } }
21
- # A set of values associated with a meta_data key. This field is only set on get requests.
22
- field :meta_data, T.nilable(T::Hash[Symbol, T::Array[String]]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('meta_data') } }
23
-
24
-
25
- sig { params(api_id: String, description: String, version_id: String, meta_data: T.nilable(T::Hash[Symbol, T::Array[String]])).void }
26
- def initialize(api_id: nil, description: nil, version_id: nil, meta_data: nil)
27
- @api_id = api_id
28
- @description = description
29
- @version_id = version_id
30
- @meta_data = meta_data
31
- end
32
- end
33
-
34
11
  # An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
35
12
  class Api < SpeakeasyClientSDK::Utils::FieldAugmented
36
13
  extend T::Sig
@@ -0,0 +1,34 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ require 'sorbet-runtime'
7
+ require 'faraday'
8
+
9
+ module SpeakeasyClientSDK
10
+ module Shared
11
+ # An Api is representation of a API (a collection of API Endpoints) within the Speakeasy Platform.
12
+ class ApiInput < SpeakeasyClientSDK::Utils::FieldAugmented
13
+ extend T::Sig
14
+
15
+ # The ID of this Api. This is a human-readable name (subject to change).
16
+ field :api_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('api_id') } }
17
+ # A detailed description of the Api.
18
+ field :description, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('description') } }
19
+ # The version ID of this Api. This is semantic version identifier.
20
+ field :version_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('version_id') } }
21
+ # A set of values associated with a meta_data key. This field is only set on get requests.
22
+ field :meta_data, T.nilable(T::Hash[Symbol, T::Array[String]]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('meta_data') } }
23
+
24
+
25
+ sig { params(api_id: String, description: String, version_id: String, meta_data: T.nilable(T::Hash[Symbol, T::Array[String]])).void }
26
+ def initialize(api_id: nil, description: nil, version_id: nil, meta_data: nil)
27
+ @api_id = api_id
28
+ @description = description
29
+ @version_id = version_id
30
+ @meta_data = meta_data
31
+ end
32
+ end
33
+ end
34
+ end
@@ -8,35 +8,6 @@ require 'faraday'
8
8
 
9
9
  module SpeakeasyClientSDK
10
10
  module Shared
11
- # An ApiEndpoint is a description of an Endpoint for an API.
12
- class ApiEndpointInput < SpeakeasyClientSDK::Utils::FieldAugmented
13
- extend T::Sig
14
-
15
- # The ID of this ApiEndpoint. This is a hash of the method and path.
16
- field :api_endpoint_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('api_endpoint_id') } }
17
- # A detailed description of the ApiEndpoint.
18
- field :description, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('description') } }
19
- # A human-readable name for the ApiEndpoint.
20
- field :display_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('display_name') } }
21
- # HTTP verb.
22
- field :method, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('method') } }
23
- # Path that handles this Api.
24
- field :path, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('path') } }
25
- # The version ID of the Api this ApiEndpoint belongs to.
26
- field :version_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('version_id') } }
27
-
28
-
29
- sig { params(api_endpoint_id: String, description: String, display_name: String, method: String, path: String, version_id: String).void }
30
- def initialize(api_endpoint_id: nil, description: nil, display_name: nil, method: nil, path: nil, version_id: nil)
31
- @api_endpoint_id = api_endpoint_id
32
- @description = description
33
- @display_name = display_name
34
- @method = method
35
- @path = path
36
- @version_id = version_id
37
- end
38
- end
39
-
40
11
  # An ApiEndpoint is a description of an Endpoint for an API.
41
12
  class ApiEndpoint < SpeakeasyClientSDK::Utils::FieldAugmented
42
13
  extend T::Sig
@@ -0,0 +1,40 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ require 'sorbet-runtime'
7
+ require 'faraday'
8
+
9
+ module SpeakeasyClientSDK
10
+ module Shared
11
+ # An ApiEndpoint is a description of an Endpoint for an API.
12
+ class ApiEndpointInput < SpeakeasyClientSDK::Utils::FieldAugmented
13
+ extend T::Sig
14
+
15
+ # The ID of this ApiEndpoint. This is a hash of the method and path.
16
+ field :api_endpoint_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('api_endpoint_id') } }
17
+ # A detailed description of the ApiEndpoint.
18
+ field :description, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('description') } }
19
+ # A human-readable name for the ApiEndpoint.
20
+ field :display_name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('display_name') } }
21
+ # HTTP verb.
22
+ field :method, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('method') } }
23
+ # Path that handles this Api.
24
+ field :path, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('path') } }
25
+ # The version ID of the Api this ApiEndpoint belongs to.
26
+ field :version_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('version_id') } }
27
+
28
+
29
+ sig { params(api_endpoint_id: String, description: String, display_name: String, method: String, path: String, version_id: String).void }
30
+ def initialize(api_endpoint_id: nil, description: nil, display_name: nil, method: nil, path: nil, version_id: nil)
31
+ @api_endpoint_id = api_endpoint_id
32
+ @description = description
33
+ @display_name = display_name
34
+ @method = method
35
+ @path = path
36
+ @version_id = version_id
37
+ end
38
+ end
39
+ end
40
+ end
@@ -8,23 +8,6 @@ require 'faraday'
8
8
 
9
9
  module SpeakeasyClientSDK
10
10
  module Shared
11
- # A set of keys and associated values, attached to a particular version of an Api.
12
- class VersionMetadataInput < SpeakeasyClientSDK::Utils::FieldAugmented
13
- extend T::Sig
14
-
15
- # The key for this metadata.
16
- field :meta_key, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('meta_key') } }
17
- # One of the values for this metadata.
18
- field :meta_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('meta_value') } }
19
-
20
-
21
- sig { params(meta_key: String, meta_value: String).void }
22
- def initialize(meta_key: nil, meta_value: nil)
23
- @meta_key = meta_key
24
- @meta_value = meta_value
25
- end
26
- end
27
-
28
11
  # A set of keys and associated values, attached to a particular version of an Api.
29
12
  class VersionMetadata < SpeakeasyClientSDK::Utils::FieldAugmented
30
13
  extend T::Sig
@@ -0,0 +1,28 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ require 'sorbet-runtime'
7
+ require 'faraday'
8
+
9
+ module SpeakeasyClientSDK
10
+ module Shared
11
+ # A set of keys and associated values, attached to a particular version of an Api.
12
+ class VersionMetadataInput < SpeakeasyClientSDK::Utils::FieldAugmented
13
+ extend T::Sig
14
+
15
+ # The key for this metadata.
16
+ field :meta_key, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('meta_key') } }
17
+ # One of the values for this metadata.
18
+ field :meta_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('meta_value') } }
19
+
20
+
21
+ sig { params(meta_key: String, meta_value: String).void }
22
+ def initialize(meta_key: nil, meta_value: nil)
23
+ @meta_key = meta_key
24
+ @meta_value = meta_value
25
+ end
26
+ end
27
+ end
28
+ end
@@ -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.0.0'
43
- @gen_version = '2.181.1'
44
- @user_agent = 'speakeasy-sdk/ruby 2.0.0 2.181.1 0.3.0 speakeasy_client_sdk_ruby'
42
+ @sdk_version = '2.1.0'
43
+ @gen_version = '2.185.0'
44
+ @user_agent = 'speakeasy-sdk/ruby 2.1.0 2.185.0 0.3.0 speakeasy_client_sdk_ruby'
45
45
  end
46
46
 
47
47
  sig { returns([String, T::Hash[Symbol, String]]) }
@@ -9,8 +9,11 @@ require_relative 'sdk/sdk'
9
9
  require_relative 'sdk/models/shared/error'
10
10
  require_relative 'sdk/models/shared/generateopenapispecdiff'
11
11
  require_relative 'sdk/models/shared/api'
12
+ require_relative 'sdk/models/shared/api_input'
12
13
  require_relative 'sdk/models/shared/apiendpoint'
14
+ require_relative 'sdk/models/shared/apiendpoint_input'
13
15
  require_relative 'sdk/models/shared/versionmetadata'
16
+ require_relative 'sdk/models/shared/versionmetadata_input'
14
17
  require_relative 'sdk/models/shared/schema'
15
18
  require_relative 'sdk/models/shared/schemadiff'
16
19
  require_relative 'sdk/models/shared/unboundedrequest'
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.0.0
4
+ version: 2.1.0
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-07 00:00:00.000000000 Z
11
+ date: 2023-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -182,7 +182,9 @@ files:
182
182
  - lib/sdk/models/operations/upsertplugin.rb
183
183
  - lib/sdk/models/operations/validateapikey.rb
184
184
  - lib/sdk/models/shared/api.rb
185
+ - lib/sdk/models/shared/api_input.rb
185
186
  - lib/sdk/models/shared/apiendpoint.rb
187
+ - lib/sdk/models/shared/apiendpoint_input.rb
186
188
  - lib/sdk/models/shared/boundedrequest.rb
187
189
  - lib/sdk/models/shared/embedaccesstokenresponse.rb
188
190
  - lib/sdk/models/shared/embedtoken.rb
@@ -197,6 +199,7 @@ files:
197
199
  - lib/sdk/models/shared/security.rb
198
200
  - lib/sdk/models/shared/unboundedrequest.rb
199
201
  - lib/sdk/models/shared/versionmetadata.rb
202
+ - lib/sdk/models/shared/versionmetadata_input.rb
200
203
  - lib/sdk/plugins.rb
201
204
  - lib/sdk/requests.rb
202
205
  - lib/sdk/schemas.rb