Skip to content

Commit bc4c2aa

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.332.1
1 parent 6030aa0 commit bc4c2aa

File tree

19 files changed

+265
-13
lines changed

19 files changed

+265
-13
lines changed

.speakeasy/gen.lock

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: f5719c92-1297-4aa0-bc5f-37116859d1e3
33
management:
4-
docChecksum: f5cf06d8d5f2ec68226ab161d7a73cba
4+
docChecksum: 638dbecd668cc1d7818c3b5aefd2d3e1
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.331.0
7-
generationVersion: 2.365.0
8-
releaseVersion: 4.2.11
9-
configChecksum: 0cb11c6e585150ad6e89e8e5988f0380
6+
speakeasyVersion: 1.332.1
7+
generationVersion: 2.366.1
8+
releaseVersion: 4.2.12
9+
configChecksum: b52068dd46ae167fdcc67c6034e39cfe
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-ruby
@@ -33,6 +33,7 @@ generatedFiles:
3333
- lib/speakeasy_client_sdk/github.rb
3434
- lib/speakeasy_client_sdk/organizations.rb
3535
- lib/speakeasy_client_sdk/reports.rb
36+
- lib/speakeasy_client_sdk/shorturls.rb
3637
- lib/speakeasy_client_sdk/suggest.rb
3738
- lib/speakeasy_client_sdk/embeds.rb
3839
- lib/speakeasy_client_sdk/events.rb
@@ -191,6 +192,8 @@ generatedFiles:
191192
- lib/speakeasy_client_sdk/models/operations/uploadreport_requestbody.rb
192193
- lib/speakeasy_client_sdk/models/operations/uploadreport_uploadedreport.rb
193194
- lib/speakeasy_client_sdk/models/operations/uploadreport_response.rb
195+
- lib/speakeasy_client_sdk/models/operations/create_requestbody.rb
196+
- lib/speakeasy_client_sdk/models/operations/create_response.rb
194197
- lib/speakeasy_client_sdk/models/operations/applyoperationids_requestbody.rb
195198
- lib/speakeasy_client_sdk/models/operations/applyoperationids_request.rb
196199
- lib/speakeasy_client_sdk/models/operations/applyoperationids_response.rb
@@ -273,6 +276,7 @@ generatedFiles:
273276
- lib/speakeasy_client_sdk/models/shared/organization.rb
274277
- lib/speakeasy_client_sdk/models/shared/type.rb
275278
- lib/speakeasy_client_sdk/models/shared/report.rb
279+
- lib/speakeasy_client_sdk/models/shared/shorturl.rb
276280
- lib/speakeasy_client_sdk/models/shared/suggestedoperationids.rb
277281
- lib/speakeasy_client_sdk/models/shared/depth_style.rb
278282
- lib/speakeasy_client_sdk/models/shared/style.rb
@@ -394,6 +398,8 @@ generatedFiles:
394398
- docs/models/operations/uploadreportrequestbody.md
395399
- docs/models/operations/uploadreportuploadedreport.md
396400
- docs/models/operations/uploadreportresponse.md
401+
- docs/models/operations/createrequestbody.md
402+
- docs/models/operations/createresponse.md
397403
- docs/models/operations/applyoperationidsrequestbody.md
398404
- docs/models/operations/applyoperationidsrequest.md
399405
- docs/models/operations/applyoperationidsresponse.md
@@ -476,6 +482,7 @@ generatedFiles:
476482
- docs/models/shared/organization.md
477483
- docs/models/shared/type.md
478484
- docs/models/shared/report.md
485+
- docs/models/shared/shorturl.md
479486
- docs/models/shared/suggestedoperationids.md
480487
- docs/models/shared/depthstyle.md
481488
- docs/models/shared/style.md
@@ -499,6 +506,7 @@ generatedFiles:
499506
- docs/sdks/github/README.md
500507
- docs/sdks/organizations/README.md
501508
- docs/sdks/reports/README.md
509+
- docs/sdks/shorturls/README.md
502510
- docs/sdks/suggest/README.md
503511
- docs/sdks/embeds/README.md
504512
- docs/sdks/events/README.md

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-
speakeasy_client_sdk_ruby (4.2.11)
4+
speakeasy_client_sdk_ruby (4.2.12)
55
faraday
66
faraday-multipart
77
rack

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ end
122122
* [get_linting_report_signed_url](docs/sdks/reports/README.md#get_linting_report_signed_url) - Get the signed access url for the linting reports for a particular document.
123123
* [upload_report](docs/sdks/reports/README.md#upload_report) - Upload a report.
124124

125+
### [ShortURLs](docs/sdks/shorturls/README.md)
126+
127+
* [create](docs/sdks/shorturls/README.md#create) - Shorten a URL.
128+
125129
### [Suggest](docs/sdks/suggest/README.md)
126130

127131
* [apply_operation_i_ds](docs/sdks/suggest/README.md#apply_operation_i_ds) - Apply operation ID suggestions and download result.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,4 +988,14 @@ Based on:
988988
### Generated
989989
- [ruby v4.2.11] .
990990
### Releases
991-
- [Ruby Gems v4.2.11] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.11 - .
991+
- [Ruby Gems v4.2.11] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.11 - .
992+
993+
## 2024-07-12 00:03:13
994+
### Changes
995+
Based on:
996+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
997+
- Speakeasy CLI 1.332.1 (2.366.1) https://github.com/speakeasy-api/speakeasy
998+
### Generated
999+
- [ruby v4.2.12] .
1000+
### Releases
1001+
- [Ruby Gems v4.2.12] https://rubygems.org/gems/speakeasy_client_sdk_ruby/versions/4.2.12 - .
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# CreateRequestBody
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `url` | *::String* | :heavy_check_mark: | URL to shorten |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CreateResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
8+
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `short_url` | [T.nilable(::SpeakeasyClientSDK::Shared::ShortURL)](../../models/shared/shorturl.md) | :heavy_minus_sign: | OK |
10+
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

docs/models/shared/shorturl.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ShortURL
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `full_url` | *::String* | :heavy_check_mark: | N/A |
9+
| `short_url` | *::String* | :heavy_check_mark: | N/A |

docs/sdks/shorturls/README.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# ShortURLs
2+
3+
4+
## Overview
5+
6+
REST APIs for managing short URLs
7+
8+
### Available Operations
9+
10+
* [create](#create) - Shorten a URL.
11+
12+
## create
13+
14+
Shorten a URL.
15+
16+
### Example Usage
17+
18+
```ruby
19+
require 'speakeasy_client_sdk_ruby'
20+
21+
22+
s = ::SpeakeasyClientSDK::SDK.new
23+
s.config_security(
24+
::SpeakeasyClientSDK::Shared::Security.new(
25+
api_key: "<YOUR_API_KEY_HERE>",
26+
)
27+
)
28+
29+
30+
req = ::SpeakeasyClientSDK::Operations::CreateRequestBody.new(
31+
url: "http://limp-pastry.org",
32+
)
33+
34+
res = s.short_ur_ls.create(req)
35+
36+
if ! res.short_url.nil?
37+
# handle response
38+
end
39+
40+
```
41+
42+
### Parameters
43+
44+
| Parameter | Type | Required | Description |
45+
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
46+
| `request` | [::SpeakeasyClientSDK::Operations::CreateRequestBody](../../models/operations/createrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
47+
48+
49+
### Response
50+
51+
**[T.nilable(::SpeakeasyClientSDK::Operations::CreateResponse)](../../models/operations/createresponse.md)**
52+

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
ruby:
13-
version: 4.2.11
13+
version: 4.2.12
1414
author: Speakeasy
1515
description: Ruby Client SDK Generated by Speakeasy
1616
imports:

lib/speakeasy_client_sdk/models/operations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ module Operations
111111
autoload :UploadReportRequestBody, 'speakeasy_client_sdk/models/operations/uploadreport_requestbody.rb'
112112
autoload :UploadReportUploadedReport, 'speakeasy_client_sdk/models/operations/uploadreport_uploadedreport.rb'
113113
autoload :UploadReportResponse, 'speakeasy_client_sdk/models/operations/uploadreport_response.rb'
114+
autoload :CreateRequestBody, 'speakeasy_client_sdk/models/operations/create_requestbody.rb'
115+
autoload :CreateResponse, 'speakeasy_client_sdk/models/operations/create_response.rb'
114116
autoload :ApplyOperationIDsRequestBody, 'speakeasy_client_sdk/models/operations/applyoperationids_requestbody.rb'
115117
autoload :ApplyOperationIDsRequest, 'speakeasy_client_sdk/models/operations/applyoperationids_request.rb'
116118
autoload :ApplyOperationIDsResponse, 'speakeasy_client_sdk/models/operations/applyoperationids_response.rb'

0 commit comments

Comments
 (0)