Skip to content

Validate cluster.delete_component_template Endpoint #247

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

Merged
merged 3 commits into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 20 additions & 36 deletions output/schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33834,22 +33834,6 @@
"attachedBehaviors": [
"CommonQueryParameters"
],
"body": {
"kind": "properties",
"properties": [
{
"name": "stub_c",
"required": true,
"type": {
"kind": "instance_of",
"type": {
"name": "string",
"namespace": "internal"
}
}
}
]
},
"inherits": [
{
"type": {
Expand All @@ -33865,26 +33849,38 @@
},
"path": [
{
"name": "stub_a",
"description": "The name of the template",
"name": "name",
"required": true,
"type": {
"kind": "instance_of",
"type": {
"name": "string",
"name": "Name",
"namespace": "internal"
}
}
}
],
"query": [
{
"name": "stub_b",
"required": true,
"name": "master_timeout",
"required": false,
"type": {
"kind": "instance_of",
"type": {
"name": "string",
"namespace": "internal"
"name": "Time",
"namespace": "common_options.time_unit"
}
}
},
{
"name": "timeout",
"required": false,
"type": {
"kind": "instance_of",
"type": {
"name": "Time",
"namespace": "common_options.time_unit"
}
}
}
Expand All @@ -33894,7 +33890,7 @@
"inherits": [
{
"type": {
"name": "ResponseBase",
"name": "AcknowledgedResponseBase",
"namespace": "common_abstractions.response"
}
}
Expand All @@ -33904,19 +33900,7 @@
"name": "ClusterDeleteComponentTemplateResponse",
"namespace": "cluster.cluster_delete_component_template"
},
"properties": [
{
"name": "stub",
"required": true,
"type": {
"kind": "instance_of",
"type": {
"name": "integer",
"namespace": "internal"
}
}
}
]
"properties": []
},
{
"attachedBehaviors": [
Expand Down
11 changes: 4 additions & 7 deletions output/typescript/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3048,15 +3048,12 @@ export interface ClusterComponentTemplateExistsResponse extends ResponseBase {
}

export interface ClusterDeleteComponentTemplateRequest extends RequestBase {
stub_a: string
stub_b: string
body?: {
stub_c: string
}
name: Name
master_timeout?: Time
timeout?: Time
}

export interface ClusterDeleteComponentTemplateResponse extends ResponseBase {
stub: integer
export interface ClusterDeleteComponentTemplateResponse extends AcknowledgedResponseBase {
}

export interface ClusterDeleteVotingConfigExclusionsRequest extends RequestBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@
*/
interface ClusterDeleteComponentTemplateRequest extends RequestBase {
path_parts?: {
stub_a: string
name: Name
}
query_parameters?: {
stub_b: string
}
body?: {
stub_c: string
master_timeout?: Time // Default: 30s
timeout?: Time // Default: 30s
}
body?: {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
* under the License.
*/

class ClusterDeleteComponentTemplateResponse extends ResponseBase {
stub: integer
}
class ClusterDeleteComponentTemplateResponse extends AcknowledgedResponseBase {}