Skip to content

Commit e37a4fa

Browse files
authored
Merge pull request #2699 from Hye-Dev/main
Correct response documentation for recursively fetching an instance
2 parents b1c7652 + c5842bd commit e37a4fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/incusd/instance_get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import (
9393
// description: Status code
9494
// example: 200
9595
// metadata:
96-
// $ref: "#/definitions/Instance"
96+
// $ref: "#/definitions/InstanceFull"
9797
// "403":
9898
// $ref: "#/responses/Forbidden"
9999
// "500":

doc/rest-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10710,7 +10710,7 @@ paths:
1071010710
description: Sync response
1071110711
properties:
1071210712
metadata:
10713-
$ref: '#/definitions/Instance'
10713+
$ref: '#/definitions/InstanceFull'
1071410714
status:
1071510715
description: Status description
1071610716
example: Success

0 commit comments

Comments
 (0)