Repository navigation
[ruby-nextgen] Expose nested resources through clients #25002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
fbdbbc6
9008f1f
a445f4a
e52ac91
4c7645a
f2d7004
878043d
4b32572
7059296
9c0ac7e
35eafe4
826c8c9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| openapi: 3.0.3 | ||
| info: | ||
| title: Nested resources | ||
| version: 1.0.0 | ||
| paths: | ||
| /stables: | ||
| get: | ||
| operationId: listStables | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /stables/{stable}: | ||
| get: | ||
| operationId: getStable | ||
| parameters: | ||
| - name: stable | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /stables/{stable}/ponies/{pony}: | ||
| get: | ||
| operationId: getPony | ||
| parameters: | ||
| - name: stable | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| - name: pony | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /only/{only}/children/{child}: | ||
| get: | ||
| operationId: getChild | ||
| parameters: | ||
| - name: only | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| - name: child | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /only/{only}/siblings/{sibling}: | ||
| get: | ||
| operationId: getSibling | ||
| parameters: | ||
| - name: only | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| - name: sibling | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| openapi: 3.0.3 | ||
| info: | ||
| title: Resource accessor collisions | ||
| version: 1.0.0 | ||
| paths: | ||
| /stables: | ||
| get: | ||
| operationId: listStables | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /stables/{stable}/stats: | ||
| get: | ||
| operationId: stablesStats | ||
| parameters: | ||
| - name: stable | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /stables/{stable}/ponies/{pony}: | ||
| get: | ||
| operationId: getPony | ||
| parameters: | ||
| - name: stable | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| - name: pony | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /stables/{stable}/class/{class}: | ||
| get: | ||
| operationId: getClassResource | ||
| parameters: | ||
| - name: stable | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| - name: class | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK | ||
| /stables/{stable}/hash/{hash}: | ||
| get: | ||
| operationId: getHashResource | ||
| parameters: | ||
| - name: stable | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| - name: hash | ||
| in: path | ||
| required: true | ||
| schema: | ||
| type: string | ||
| responses: | ||
| '200': | ||
| description: OK |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
|
|
||
| Name | Type | Description | Notes | ||
| ------------ | ------------- | ------------- | ------------- | ||
| **Kind** | Pointer to **string** | | [optional] | ||
| **Kind** | Pointer to **NullableString** | | [optional] | ||
|
|
||
| ## Methods | ||
|
|
||
|
|
@@ -50,6 +50,16 @@ SetKind sets Kind field to given value. | |
|
|
||
| HasKind returns a boolean if a field has been set. | ||
|
|
||
| ### SetKindNil | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: These new entries advertise Prompt for AI agents |
||
|
|
||
| `func (o *EnumNullUnion) SetKindNil(b bool)` | ||
|
|
||
| SetKindNil sets the value for Kind to be an explicit nil | ||
|
|
||
| ### UnsetKind | ||
| `func (o *EnumNullUnion) UnsetKind()` | ||
|
|
||
| UnsetKind ensures that no value is present for Kind, not even an explicit nil | ||
|
|
||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.