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
*[post_tags](docs/sdks/artifacts/README.md#post_tags) - Add tags to an existing revision
103
+
*[list_remote_sources](docs/sdks/artifacts/README.md#list_remote_sources) - Get remote sources attached to a particular namespace
104
+
*[create_remote_source](docs/sdks/artifacts/README.md#create_remote_source) - Configure a new remote source
102
105
*[get_manifest](docs/sdks/artifacts/README.md#get_manifest) - Get manifest for a particular reference
103
106
*[get_blob](docs/sdks/artifacts/README.md#get_blob) - Get blob for a particular digest
104
107
@@ -187,10 +190,16 @@ end
187
190
*[generate_open_api_spec](docs/sdks/speakeasyclientsdkapiendpoints/README.md#generate_open_api_spec) - Generate an OpenAPI specification for a particular ApiEndpoint.
188
191
*[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
201
*[generate](docs/sdks/suggest/README.md#generate) - Generate suggestions for improving an OpenAPI document.
202
+
*[suggest_items](docs/sdks/suggest/README.md#suggest_items) - Generate generic suggestions for a list of items.
194
203
*[openapi_registry](docs/sdks/suggest/README.md#openapi_registry) - Generate suggestions for improving an OpenAPI document stored in the registry.
195
204
196
205
### [Workspaces](docs/sdks/workspaces/README.md)
@@ -213,6 +222,41 @@ end
213
222
</details>
214
223
<!-- End Available Resources and Operations [operations] -->
215
224
225
+
<!-- Start Global Parameters [global-parameters] -->
226
+
## Global Parameters
227
+
228
+
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.
229
+
230
+
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.
231
+
232
+
233
+
### Available Globals
234
+
235
+
The following global parameter is available.
236
+
237
+
| Name | Type | Required | Description |
238
+
| ---- | ---- |:--------:| ----------- |
239
+
| workspace_id | ::String || The workspace_id parameter. |
240
+
241
+
242
+
### Example
243
+
244
+
```ruby
245
+
require'speakeasy_client_sdk_ruby'
246
+
247
+
248
+
s = ::OpenApiSDK::SpeakeasyClientSDK.new
249
+
250
+
251
+
res = s.auth.get_access_token(workspace_id="<id>")
252
+
253
+
if! res.access_token.nil?
254
+
# handle response
255
+
end
256
+
257
+
```
258
+
<!-- End Global Parameters [global-parameters] -->
0 commit comments