Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Jul 1, 2024
2 parents db410e0 + ceb9745 commit 705a2a2
Show file tree
Hide file tree
Showing 9 changed files with 830 additions and 165 deletions.
156 changes: 78 additions & 78 deletions api-docs/openapi/v3_0/aggregated.json
Original file line number Diff line number Diff line change
Expand Up @@ -12186,8 +12186,8 @@
},
"/apis/security.halo.run/v1alpha1/devices": {
"get": {
"description": "List v1alpha1",
"operationId": "listv1alpha1",
"description": "List Device",
"operationId": "listDevice",
"parameters": [
{
"description": "Page number. Default is 0.",
Expand Down Expand Up @@ -12246,20 +12246,20 @@
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/v1alpha1List"
"$ref": "#/components/schemas/DeviceList"
}
}
},
"description": "Response devices"
}
},
"tags": [
"v1alpha1V1alpha1"
"DeviceV1alpha1"
]
},
"post": {
"description": "Create v1alpha1",
"operationId": "createv1alpha1",
"description": "Create Device",
"operationId": "createDevice",
"requestBody": {
"content": {
"*/*": {
Expand All @@ -12283,14 +12283,14 @@
}
},
"tags": [
"v1alpha1V1alpha1"
"DeviceV1alpha1"
]
}
},
"/apis/security.halo.run/v1alpha1/devices/{name}": {
"delete": {
"description": "Delete v1alpha1",
"operationId": "deletev1alpha1",
"description": "Delete Device",
"operationId": "deleteDevice",
"parameters": [
{
"description": "Name of device",
Expand All @@ -12308,12 +12308,12 @@
}
},
"tags": [
"v1alpha1V1alpha1"
"DeviceV1alpha1"
]
},
"get": {
"description": "Get v1alpha1",
"operationId": "getv1alpha1",
"description": "Get Device",
"operationId": "getDevice",
"parameters": [
{
"description": "Name of device",
Expand All @@ -12338,12 +12338,12 @@
}
},
"tags": [
"v1alpha1V1alpha1"
"DeviceV1alpha1"
]
},
"patch": {
"description": "Patch v1alpha1",
"operationId": "patchv1alpha1",
"description": "Patch Device",
"operationId": "patchDevice",
"parameters": [
{
"description": "Name of device",
Expand Down Expand Up @@ -12377,12 +12377,12 @@
}
},
"tags": [
"v1alpha1V1alpha1"
"DeviceV1alpha1"
]
},
"put": {
"description": "Update v1alpha1",
"operationId": "updatev1alpha1",
"description": "Update Device",
"operationId": "updateDevice",
"parameters": [
{
"description": "Name of device",
Expand Down Expand Up @@ -12417,7 +12417,7 @@
}
},
"tags": [
"v1alpha1V1alpha1"
"DeviceV1alpha1"
]
}
},
Expand Down Expand Up @@ -16646,6 +16646,65 @@
}
}
},
"DeviceList": {
"required": [
"first",
"hasNext",
"hasPrevious",
"items",
"last",
"page",
"size",
"total",
"totalPages"
],
"type": "object",
"properties": {
"first": {
"type": "boolean",
"description": "Indicates whether current page is the first page."
},
"hasNext": {
"type": "boolean",
"description": "Indicates whether current page has previous page."
},
"hasPrevious": {
"type": "boolean",
"description": "Indicates whether current page has previous page."
},
"items": {
"type": "array",
"description": "A chunk of items.",
"items": {
"$ref": "#/components/schemas/Device"
}
},
"last": {
"type": "boolean",
"description": "Indicates whether current page is the last page."
},
"page": {
"type": "integer",
"description": "Page number, starts from 1. If not set or equal to 0, it means no pagination.",
"format": "int32"
},
"size": {
"type": "integer",
"description": "Size of each page. If not set or equal to 0, it means no pagination.",
"format": "int32"
},
"total": {
"type": "integer",
"description": "Total elements.",
"format": "int64"
},
"totalPages": {
"type": "integer",
"description": "Indicates total pages.",
"format": "int64"
}
}
},
"DeviceSpec": {
"required": [
"ipAddress",
Expand Down Expand Up @@ -22939,65 +22998,6 @@
"type": "string"
}
}
},
"v1alpha1List": {
"required": [
"first",
"hasNext",
"hasPrevious",
"items",
"last",
"page",
"size",
"total",
"totalPages"
],
"type": "object",
"properties": {
"first": {
"type": "boolean",
"description": "Indicates whether current page is the first page."
},
"hasNext": {
"type": "boolean",
"description": "Indicates whether current page has previous page."
},
"hasPrevious": {
"type": "boolean",
"description": "Indicates whether current page has previous page."
},
"items": {
"type": "array",
"description": "A chunk of items.",
"items": {
"$ref": "#/components/schemas/Device"
}
},
"last": {
"type": "boolean",
"description": "Indicates whether current page is the last page."
},
"page": {
"type": "integer",
"description": "Page number, starts from 1. If not set or equal to 0, it means no pagination.",
"format": "int32"
},
"size": {
"type": "integer",
"description": "Size of each page. If not set or equal to 0, it means no pagination.",
"format": "int32"
},
"total": {
"type": "integer",
"description": "Total elements.",
"format": "int64"
},
"totalPages": {
"type": "integer",
"description": "Indicates total pages.",
"format": "int64"
}
}
}
},
"securitySchemes": {
Expand Down
Loading

0 comments on commit 705a2a2

Please sign in to comment.