You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[get_all](docs/sdks/speakeasyclientsdkapiendpoints/README.md#get_all) - Get all ApiEndpoints for a particular apiID and versionID.
86
+
*[find](docs/sdks/speakeasyclientsdkapiendpoints/README.md#find) - Find an ApiEndpoint via its displayName.
87
+
*[delete](docs/sdks/speakeasyclientsdkapiendpoints/README.md#delete) - Delete an ApiEndpoint.
88
+
*[get](docs/sdks/speakeasyclientsdkapiendpoints/README.md#get) - Get an ApiEndpoint.
89
+
*[upsert](docs/sdks/speakeasyclientsdkapiendpoints/README.md#upsert) - Upsert an ApiEndpoint.
90
+
*[generate_open_api_spec](docs/sdks/speakeasyclientsdkapiendpoints/README.md#generate_open_api_spec) - Generate an OpenAPI specification for a particular ApiEndpoint.
91
+
*[generate_postman_collection](docs/sdks/speakeasyclientsdkapiendpoints/README.md#generate_postman_collection) - Generate a Postman collection for a particular ApiEndpoint.
*[get_all](docs/sdks/organizations/README.md#get_all) - Get organizations for a user
147
161
*[create](docs/sdks/organizations/README.md#create) - Create an organization
148
162
*[get](docs/sdks/organizations/README.md#get) - Get organization
149
163
*[create_free_trial](docs/sdks/organizations/README.md#create_free_trial) - Create a free trial for an organization
150
164
*[get_usage](docs/sdks/organizations/README.md#get_usage) - Get billing usage summary for a particular organization
151
165
152
-
### [Reports](docs/sdks/reports/README.md)
166
+
### [reports](docs/sdks/reports/README.md)
153
167
154
168
*[upload](docs/sdks/reports/README.md#upload) - Upload a report.
155
169
*[get_signed_url](docs/sdks/reports/README.md#get_signed_url) - Get the signed access url for the linting reports for a particular document.
156
170
*[get_changes_signed_url](docs/sdks/reports/README.md#get_changes_signed_url) - Get the signed access url for the change reports for a particular document.
157
171
158
-
### [Requests](docs/sdks/requests/README.md)
172
+
### [requests](docs/sdks/requests/README.md)
159
173
160
174
*[query](docs/sdks/requests/README.md#query) - Query the event log to retrieve a list of requests.
161
175
*[get](docs/sdks/requests/README.md#get) - Get information about a particular request.
162
176
*[generate_postman_collection](docs/sdks/requests/README.md#generate_postman_collection) - Generate a Postman collection for a particular request.
163
177
164
-
### [Schemas](docs/sdks/schemas/README.md)
178
+
### [schemas](docs/sdks/schemas/README.md)
165
179
166
180
*[get_latest](docs/sdks/schemas/README.md#get_latest) - Get information about the latest schema.
167
181
*[post](docs/sdks/schemas/README.md#post) - Register a schema.
@@ -172,28 +186,29 @@ end
172
186
*[download_revision](docs/sdks/schemas/README.md#download_revision) - Download a particular schema revision for an Api.
173
187
*[get](docs/sdks/schemas/README.md#get) - Get information about all schemas associated with a particular apiID.
174
188
175
-
### [ShortURLs](docs/sdks/shorturls/README.md)
189
+
### [short_ur_ls](docs/sdks/shorturls/README.md)
176
190
177
191
*[create](docs/sdks/shorturls/README.md#create) - Shorten a URL.
*[generate_code_sample_preview](docs/sdks/speakeasyclientsdk/README.md#generate_code_sample_preview) - Generate Code Sample previews from a file and configuration parameters.
196
+
*[generate_code_sample_preview_async](docs/sdks/speakeasyclientsdk/README.md#generate_code_sample_preview_async) - Initiate asynchronous Code Sample preview generation from a file and configuration parameters, receiving an async JobID response for polling.
197
+
*[get_code_sample_preview_async](docs/sdks/speakeasyclientsdk/README.md#get_code_sample_preview_async) - Poll for the result of an asynchronous Code Sample preview generation.
181
198
182
-
*[get_all](docs/sdks/speakeasyclientsdkapiendpoints/README.md#get_all) - Get all ApiEndpoints for a particular apiID and versionID.
183
-
*[find](docs/sdks/speakeasyclientsdkapiendpoints/README.md#find) - Find an ApiEndpoint via its displayName.
184
-
*[delete](docs/sdks/speakeasyclientsdkapiendpoints/README.md#delete) - Delete an ApiEndpoint.
185
-
*[get](docs/sdks/speakeasyclientsdkapiendpoints/README.md#get) - Get an ApiEndpoint.
186
-
*[upsert](docs/sdks/speakeasyclientsdkapiendpoints/README.md#upsert) - Upsert an ApiEndpoint.
187
-
*[generate_open_api_spec](docs/sdks/speakeasyclientsdkapiendpoints/README.md#generate_open_api_spec) - Generate an OpenAPI specification for a particular ApiEndpoint.
188
-
*[generate_postman_collection](docs/sdks/speakeasyclientsdkapiendpoints/README.md#generate_postman_collection) - Generate a Postman collection for a particular ApiEndpoint.
*[openapi](docs/sdks/suggest/README.md#openapi) - (DEPRECATED) Generate suggestions for improving an OpenAPI document.
193
207
*[generate](docs/sdks/suggest/README.md#generate) - Generate suggestions for improving an OpenAPI document.
208
+
*[suggest_items](docs/sdks/suggest/README.md#suggest_items) - Generate generic suggestions for a list of items.
194
209
*[openapi_registry](docs/sdks/suggest/README.md#openapi_registry) - Generate suggestions for improving an OpenAPI document stored in the registry.
195
210
196
-
### [Workspaces](docs/sdks/workspaces/README.md)
211
+
### [workspaces](docs/sdks/workspaces/README.md)
197
212
198
213
*[get_all](docs/sdks/workspaces/README.md#get_all) - Get workspaces for a user
199
214
*[get](docs/sdks/workspaces/README.md#get) - Get workspace by context
@@ -213,24 +228,119 @@ end
213
228
</details>
214
229
<!-- End Available Resources and Operations [operations] -->
215
230
216
-
<!-- Start Server Selection [server] -->
217
-
## Server Selection
231
+
<!-- Start Global Parameters [global-parameters] -->
232
+
## Global Parameters
233
+
234
+
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
235
+
236
+
For example, you can set `workspace_id` to `"<id>"` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_access_token`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
| workspace_id | ::String | The workspace_id parameter. |
246
+
247
+
### Example
248
+
249
+
```ruby
250
+
require'speakeasy_client_sdk_ruby'
251
+
252
+
253
+
s = ::OpenApiSDK::SpeakeasyClientSDK.new
254
+
255
+
256
+
res = s.auth.get_access_token(workspace_id="<id>")
257
+
258
+
if! res.access_token.nil?
259
+
# handle response
260
+
end
261
+
262
+
```
263
+
<!-- End Global Parameters [global-parameters] -->
264
+
265
+
<!-- Start Server Selection [server] -->
219
266
## Server Selection
220
267
221
268
### Select Server by Name
222
269
223
-
You can override the default server globally by passing a server name to the `server: str` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
270
+
You can override the default server globally by passing a server name to the `server (Symbol)` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
312
+
The default server can also be overridden globally by passing a URL to the `server_url (String)` optional parameter when initializing the SDK client instance. For example:
|`content_type`|*::String*|:heavy_check_mark:| HTTP response content type for this operation |
9
+
|`status_code`|*::Integer*|:heavy_check_mark:| HTTP response status code for this operation |
10
+
|`raw_response`|[Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response)|:heavy_check_mark:| Raw HTTP response; suitable for custom response parsing |
|`registry_subscription`|[::OpenApiSDK::Shared::RegistrySubscription](../../models/shared/registrysubscription.md)|:heavy_check_mark:| The subscription to create |
9
+
|`workspace_id`|*T.nilable(::String)*|:heavy_minus_sign:| The workspace ID |
0 commit comments