Skip to content

Commit

Permalink
Merge pull request #9 from dubinc/speakeasy-sdk-regen-1719812427
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
devkiran authored Jul 1, 2024
2 parents 52d58fd + e447dcc commit 38b2af8
Show file tree
Hide file tree
Showing 21 changed files with 186 additions and 248 deletions.
5 changes: 2 additions & 3 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 0.0.1
speakeasyVersion: 1.322.3
generationVersion: 2.354.2
releaseVersion: 0.0.7
configChecksum: 762d83627c595e44555526056cb6c5ee
releaseVersion: 0.1.0
configChecksum: d684ce1a1229e819eb60a0676c0f779e
repoURL: https://github.com/dubinc/dub-ruby.git
installationURL: https://github.com/dubinc/dub-ruby
published: true
Expand All @@ -15,7 +15,6 @@ features:
core: 3.2.14
deprecations: 2.81.1
examples: 2.81.3
flattening: 2.81.1
globalSecurity: 2.81.6
globalServerURLs: 2.82.3
globals: 2.82.1
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
ruby:
version: 0.0.7
version: 0.1.0
author: Dub
description: Ruby Client SDK Generated by Speakeasy
imports:
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.322.3
sources:
dub:
sourceNamespace: dub
sourceRevisionDigest: sha256:1f8efddf5af21eba19055d3527bd1c8cd9abe3a5e1361baee79f9132891fcf2e
sourceBlobDigest: sha256:b4b5fdd3797191f557244e926a10519147489cfb262c6b5b9f09e6a47128e96a
sourceRevisionDigest: sha256:c9e3da8cb3255b5170ccf8a0ee78d67dc1e2de987d2b7d4cc5a23531bf7220e2
sourceBlobDigest: sha256:f8be527c475de67a7d8a2a64049edfdf087c4aca576fc2162c7a8d2544f96043
tags:
- latest
- main
targets:
my-first-target:
source: dub
sourceNamespace: dub
sourceRevisionDigest: sha256:1f8efddf5af21eba19055d3527bd1c8cd9abe3a5e1361baee79f9132891fcf2e
sourceBlobDigest: sha256:b4b5fdd3797191f557244e926a10519147489cfb262c6b5b9f09e6a47128e96a
sourceRevisionDigest: sha256:c9e3da8cb3255b5170ccf8a0ee78d67dc1e2de987d2b7d4cc5a23531bf7220e2
sourceBlobDigest: sha256:f8be527c475de67a7d8a2a64049edfdf087c4aca576fc2162c7a8d2544f96043
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
dub (0.0.7)
dub (0.1.0)
faraday
faraday-multipart
rack
Expand Down
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,18 @@ s.config_security(
)
)


res = s.links.create(workspace_id="<value>", project_slug="<value>", request_body=::OpenApiSDK::Operations::CreateLinkRequestBody.new(

req = ::OpenApiSDK::Operations::CreateLinkRequest.new(
request_body: ::OpenApiSDK::Operations::CreateLinkRequestBody.new(
url: "https://google/com",
external_id: "123456",
tag_ids: [
"<value>",
],
))
),
)

res = s.links.create(req)

if ! res.link_schema.nil?
# handle response
Expand All @@ -63,14 +67,18 @@ s.config_security(
)
)


res = s.links.upsert(workspace_id="<value>", project_slug="<value>", request_body=::OpenApiSDK::Operations::UpsertLinkRequestBody.new(

req = ::OpenApiSDK::Operations::UpsertLinkRequest.new(
request_body: ::OpenApiSDK::Operations::UpsertLinkRequestBody.new(
url: "https://google/com",
external_id: "123456",
tag_ids: [
"<value>",
],
))
),
)

res = s.links.upsert(req)

if ! res.link_schema.nil?
# handle response
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,14 @@ Based on:
### Generated
- [ruby v0.0.7] .
### Releases
- [Ruby Gems v0.0.7] https://rubygems.org/gems/dub/versions/0.0.7 - .
- [Ruby Gems v0.0.7] https://rubygems.org/gems/dub/versions/0.0.7 - .

## 2024-07-01 05:40:24
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.322.3 (2.354.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.1.0] .
### Releases
- [Ruby Gems v0.1.0] https://rubygems.org/gems/dub/versions/0.1.0 - .
20 changes: 14 additions & 6 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ s.config_security(
)
)


res = s.links.create(workspace_id="<value>", project_slug="<value>", request_body=::OpenApiSDK::Operations::CreateLinkRequestBody.new(

req = ::OpenApiSDK::Operations::CreateLinkRequest.new(
request_body: ::OpenApiSDK::Operations::CreateLinkRequestBody.new(
url: "https://google/com",
external_id: "123456",
tag_ids: [
"<value>",
],
))
),
)

res = s.links.create(req)

if ! res.link_schema.nil?
# handle response
Expand All @@ -36,14 +40,18 @@ s.config_security(
)
)


res = s.links.upsert(workspace_id="<value>", project_slug="<value>", request_body=::OpenApiSDK::Operations::UpsertLinkRequestBody.new(

req = ::OpenApiSDK::Operations::UpsertLinkRequest.new(
request_body: ::OpenApiSDK::Operations::UpsertLinkRequestBody.new(
url: "https://google/com",
external_id: "123456",
tag_ids: [
"<value>",
],
))
),
)

res = s.links.upsert(req)

if ! res.link_schema.nil?
# handle response
Expand Down
29 changes: 16 additions & 13 deletions docs/sdks/domains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ s.config_security(
)
)


req = ::OpenApiSDK::Operations::ListDomainsRequest.new()

res = s.domains.list(workspace_id="<value>", project_slug="<value>")
res = s.domains.list(req)

if ! res.domain_schemas.nil?
# handle response
Expand All @@ -38,10 +40,9 @@ end

### Parameters

| Parameter | Type | Required | Description |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `workspace_id` | *::String* | :heavy_minus_sign: | The ID of the workspace. |
| `project_slug` | *::String* | :heavy_minus_sign: | The slug of the project. This field is deprecated – use `workspaceId` instead. |
| Parameter | Type | Required | Description |
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `request` | [::OpenApiSDK::Operations::ListDomainsRequest](../../models/operations/listdomainsrequest.md) | :heavy_check_mark: | The request object to use for the request. |


### Response
Expand All @@ -66,13 +67,17 @@ s.config_security(
)
)


res = s.domains.create(workspace_id="<value>", project_slug="<value>", request_body=::OpenApiSDK::Operations::CreateDomainRequestBody.new(

req = ::OpenApiSDK::Operations::CreateDomainRequest.new(
request_body: ::OpenApiSDK::Operations::CreateDomainRequestBody.new(
slug: "acme.com",
expired_url: "https://acme.com/expired",
archived: false,
placeholder: "https://dub.co/help/article/what-is-dub",
))
),
)

res = s.domains.create(req)

if ! res.domain_schema.nil?
# handle response
Expand All @@ -82,11 +87,9 @@ end

### Parameters

| Parameter | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| `workspace_id` | *::String* | :heavy_minus_sign: | The ID of the workspace. |
| `project_slug` | *::String* | :heavy_minus_sign: | The slug of the project. This field is deprecated – use `workspaceId` instead. |
| `request_body` | [::OpenApiSDK::Operations::CreateDomainRequestBody](../../models/operations/createdomainrequestbody.md) | :heavy_minus_sign: | N/A |
| Parameter | Type | Required | Description |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| `request` | [::OpenApiSDK::Operations::CreateDomainRequest](../../models/operations/createdomainrequest.md) | :heavy_check_mark: | The request object to use for the request. |


### Response
Expand Down
Loading

0 comments on commit 38b2af8

Please sign in to comment.