Skip to content

Commit

Permalink
Change the Snapshot VM's Function ID of Swagger docs with create-myimage
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Nov 14, 2024
1 parent 128de95 commit 4672bc5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api-runtime/rest-runtime/MyImageRest.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ type MyImageSnapshotRequest struct {
}

// snapshotVM godoc
// @ID snapshot-vm
// @ID create-myimage
// @Summary Snapshot VM
// @Description Create a new MyImage snapshot from a specified VM. 🕷️ [[Concept Guide](https://github.com/cloud-barista/cb-spider/wiki/MyImage-and-Driver-API)], [[Snapshot-MyImage,Disk Guide](https://github.com/cloud-barista/cb-spider/wiki/VM-Snapshot,-MyImage-and-Disk-Overview)]
// @Tags [MyImage Management]
Expand Down
2 changes: 1 addition & 1 deletion api/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3960,7 +3960,7 @@ const docTemplate = `{
"[MyImage Management]"
],
"summary": "Snapshot VM",
"operationId": "snapshot-vm",
"operationId": "create-myimage",
"parameters": [
{
"description": "Request body for creating a MyImage snapshot",
Expand Down
2 changes: 1 addition & 1 deletion api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3957,7 +3957,7 @@
"[MyImage Management]"
],
"summary": "Snapshot VM",
"operationId": "snapshot-vm",
"operationId": "create-myimage",
"parameters": [
{
"description": "Request body for creating a MyImage snapshot",
Expand Down
2 changes: 1 addition & 1 deletion api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5502,7 +5502,7 @@ paths:
description: "Create a new MyImage snapshot from a specified VM. \U0001F577
[[Concept Guide](https://github.com/cloud-barista/cb-spider/wiki/MyImage-and-Driver-API)],
[[Snapshot-MyImage,Disk Guide](https://github.com/cloud-barista/cb-spider/wiki/VM-Snapshot,-MyImage-and-Disk-Overview)]"
operationId: snapshot-vm
operationId: create-myimage
parameters:
- description: Request body for creating a MyImage snapshot
in: body
Expand Down

0 comments on commit 4672bc5

Please sign in to comment.