Skip to content

Commit 3b2ddbe

Browse files
authored
Merge pull request #91 from dubinc/speakeasy-sdk-regen-1740789016
chore: 🐝 Update SDK - Generate 0.2.2-alpha.72
2 parents cdb21d8 + 9564440 commit 3b2ddbe

File tree

13 files changed

+57
-28
lines changed

13 files changed

+57
-28
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 5a2dd83e-da98-455b-8ef9-0100a914efdf
33
management:
4-
docChecksum: db8c112e1f254ff516b8ce26ffe28dd4
4+
docChecksum: 41e78ddd52d7d4173557ba931d2272dc
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.505.1
7-
generationVersion: 2.531.0
8-
releaseVersion: 0.2.2-alpha.71
9-
configChecksum: caaf8aa4367afb51da3efe908e408d56
6+
speakeasyVersion: 1.508.0
7+
generationVersion: 2.536.0
8+
releaseVersion: 0.2.2-alpha.72
9+
configChecksum: 98d4f891f928d7b9648b1a99413f2476
1010
repoURL: https://github.com/dubinc/dub-ruby.git
1111
installationURL: https://github.com/dubinc/dub-ruby
1212
published: true
@@ -1430,6 +1430,10 @@ examples:
14301430
application/json: {"error": {"code": "internal_server_error", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#internal-server_error"}}
14311431
listFolders:
14321432
speakeasy-default-list-folders:
1433+
parameters:
1434+
query:
1435+
page: 1
1436+
pageSize: 50
14331437
responses:
14341438
"200":
14351439
application/json: [{"id": "<id>", "name": "<value>", "accessLevel": "write", "linkCount": 6783.17, "createdAt": "1713388175774", "updatedAt": "1739253472019"}, {"id": "<id>", "name": "<value>", "accessLevel": "read", "linkCount": 6355.32, "createdAt": "1727947722137", "updatedAt": "1739235143393"}, {"id": "<id>", "name": "<value>", "accessLevel": "write", "linkCount": 861.4, "createdAt": "1709944391778", "updatedAt": "1739293063749"}]

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: false
1717
ruby:
18-
version: 0.2.2-alpha.71
18+
version: 0.2.2-alpha.72
1919
author: Dub
2020
description: Ruby Client SDK Generated by Speakeasy
2121
imports:

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.505.1
1+
speakeasyVersion: 1.508.0
22
sources:
33
dub:
44
sourceNamespace: dub
5-
sourceRevisionDigest: sha256:4048f9d0377dfdd025eb1546e58ab9a52ac34a91bb7cc919675be58b334c3482
6-
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
5+
sourceRevisionDigest: sha256:57e0ea165909640b78e3c442f4daf067017fcf262de86dc5a65998ed0daac478
6+
sourceBlobDigest: sha256:adedf20cbe668ed6bd859f2b03eb747d151a978f4dbcd1f321b9fe9662dda97f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740616053
9+
- speakeasy-sdk-regen-1740789016
1010
- 0.0.1
1111
targets:
1212
my-first-target:
1313
source: dub
1414
sourceNamespace: dub
15-
sourceRevisionDigest: sha256:4048f9d0377dfdd025eb1546e58ab9a52ac34a91bb7cc919675be58b334c3482
16-
sourceBlobDigest: sha256:85580cf3773dfd87c3d9151ace8544c7687d1298a05dfbd2c310d6e816fa61a0
15+
sourceRevisionDigest: sha256:57e0ea165909640b78e3c442f4daf067017fcf262de86dc5a65998ed0daac478
16+
sourceBlobDigest: sha256:adedf20cbe668ed6bd859f2b03eb747d151a978f4dbcd1f321b9fe9662dda97f
1717
codeSamplesNamespace: code-samples-ruby-my-first-target
18-
codeSamplesRevisionDigest: sha256:825d5cbe91b96a123b4ab64fb6f2fb71773c47144cf8fa9a5c7078c4406f0066
18+
codeSamplesRevisionDigest: sha256:183e971541c3800f0ce478d56329b56995e12e0f3192ceac99579e4ebf1c852a
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽGemfile.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
dub (0.2.2.pre.alpha.71)
4+
dub (0.2.2.pre.alpha.72)
55
faraday
66
faraday-multipart
77
rack

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,4 +858,14 @@ Based on:
858858
### Generated
859859
- [ruby v0.2.2-alpha.71] .
860860
### Releases
861-
- [Ruby Gems v0.2.2-alpha.71] https://rubygems.org/gems/dub/versions/0.2.2-alpha.71 - .
861+
- [Ruby Gems v0.2.2-alpha.71] https://rubygems.org/gems/dub/versions/0.2.2-alpha.71 - .
862+
863+
## 2025-03-01 00:30:00
864+
### Changes
865+
Based on:
866+
- OpenAPI Doc
867+
- Speakeasy CLI 1.508.0 (2.536.0) https://github.com/speakeasy-api/speakeasy
868+
### Generated
869+
- [ruby v0.2.2-alpha.72] .
870+
### Releases
871+
- [Ruby Gems v0.2.2-alpha.72] https://rubygems.org/gems/dub/versions/0.2.2-alpha.72 - .

β€ŽcodeSamples.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ actions:
6868
"x-codeSamples":
6969
- "lang": "ruby"
7070
"label": "listFolders"
71-
"source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::ListFoldersRequest.new()\n \nres = s.folders.list(req)\n\nif ! res.folder_schemas.nil?\n # handle response\nend"
71+
"source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::ListFoldersRequest.new(\n page: 1.0,\n page_size: 50.0,\n)\n \nres = s.folders.list(req)\n\nif ! res.folder_schemas.nil?\n # handle response\nend"
7272
- target: $["paths"]["/folders"]["post"]
7373
update:
7474
"x-codeSamples":

β€Ždocs/models/operations/listfoldersrequest.mdβ€Ž

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
8-
| `search` | *T.nilable(::String)* | :heavy_minus_sign: | The search term to filter the folders by. |
6+
| Field | Type | Required | Description | Example |
7+
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
8+
| `search` | *T.nilable(::String)* | :heavy_minus_sign: | The search term to filter the folders by. | |
9+
| `include_link_count` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include the link count in the response. | |
10+
| `page` | *T.nilable(::Float)* | :heavy_minus_sign: | The page number for pagination. | 1 |
11+
| `page_size` | *T.nilable(::Float)* | :heavy_minus_sign: | The number of items per page. | 50 |

β€Ždocs/sdks/folders/README.mdβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ s.config_security(
7070
)
7171

7272

73-
req = ::OpenApiSDK::Operations::ListFoldersRequest.new()
73+
req = ::OpenApiSDK::Operations::ListFoldersRequest.new(
74+
page: 1.0,
75+
page_size: 50.0,
76+
)
7477

7578
res = s.folders.list(req)
7679

β€Ždub.gemspecβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)
44

55
Gem::Specification.new do |s|
66
s.name = 'dub'
7-
s.version = '0.2.2-alpha.71'
7+
s.version = '0.2.2-alpha.72'
88
s.platform = Gem::Platform::RUBY
99
s.licenses = ['Apache-2.0']
1010
s.summary = ''

β€Žlib/open_api_sdk/models/operations/getlinks_request.rbβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class GetLinksRequest < ::Crystalline::FieldAugmented
3232
# Deprecated. Use `tagIds` instead. The tag ID to filter the links by.
3333
field :tag_id, T.nilable(::String), { 'query_param': { 'field_name': 'tagId', 'style': 'form', 'explode': true } }
3434
# The tag IDs to filter the links by.
35-
field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': true } }
35+
field :tag_ids, T.nilable(::Object), { 'query_param': { 'field_name': 'tagIds', 'style': 'form', 'explode': false } }
3636
# The unique name of the tags assigned to the short link (case insensitive).
3737
field :tag_names, T.nilable(::Object), { 'query_param': { 'field_name': 'tagNames', 'style': 'form', 'explode': true } }
3838
# The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant.

0 commit comments

Comments
Β (0)