Skip to content

Commit

Permalink
Update Swagger REST API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-github-robot authored and web-flow committed Nov 21, 2024
1 parent c503de3 commit 530c005
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/api/rest/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -14139,9 +14139,9 @@ const docTemplate = `{
"example": "My K8sCluster"
},
"id": {
"description": "Id is unique identifier for the object",
"description": "Id is unique identifier for the object, same as Name",
"type": "string",
"example": "aws-ap-southeast-1"
"example": "k8scluster-01"
},
"label": {
"description": "Label is for describing the object by keywords",
Expand All @@ -14153,7 +14153,7 @@ const docTemplate = `{
"name": {
"description": "Name is human-readable string to represent the object",
"type": "string",
"example": "aws-ap-southeast-1"
"example": "k8scluster-01"
},
"resourceType": {
"description": "ResourceType is the type of the resource",
Expand Down
6 changes: 3 additions & 3 deletions src/api/rest/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -14132,9 +14132,9 @@
"example": "My K8sCluster"
},
"id": {
"description": "Id is unique identifier for the object",
"description": "Id is unique identifier for the object, same as Name",
"type": "string",
"example": "aws-ap-southeast-1"
"example": "k8scluster-01"
},
"label": {
"description": "Label is for describing the object by keywords",
Expand All @@ -14146,7 +14146,7 @@
"name": {
"description": "Name is human-readable string to represent the object",
"type": "string",
"example": "aws-ap-southeast-1"
"example": "k8scluster-01"
},
"resourceType": {
"description": "ResourceType is the type of the resource",
Expand Down
6 changes: 3 additions & 3 deletions src/api/rest/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10594,8 +10594,8 @@ components:
example: My K8sCluster
id:
type: string
description: Id is unique identifier for the object
example: aws-ap-southeast-1
description: "Id is unique identifier for the object, same as Name"
example: k8scluster-01
label:
type: object
additionalProperties:
Expand All @@ -10604,7 +10604,7 @@ components:
name:
type: string
description: Name is human-readable string to represent the object
example: aws-ap-southeast-1
example: k8scluster-01
resourceType:
type: string
description: ResourceType is the type of the resource
Expand Down

0 comments on commit 530c005

Please sign in to comment.