Skip to content

Commit 66dc9ab

Browse files
authored
Merge pull request #258 from netlify/service-instance-swagger-fix
Fix service instance swagger definition
2 parents c2418f8 + 39c3a1a commit 66dc9ab

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

swagger.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ paths:
14451445
default:
14461446
$ref: '#/responses/error'
14471447
# end submission
1448-
# begin service instances
1448+
# begin service instances (addon instance)
14491449
/sites/{site_id}/services/{addon}/instances:
14501450
parameters:
14511451
- name: site_id
@@ -1474,6 +1474,20 @@ paths:
14741474
$ref: '#/definitions/serviceInstance'
14751475
default:
14761476
$ref: '#/responses/error'
1477+
/sites/{site_id}/services/{addon}/instances/{instance_id}:
1478+
parameters:
1479+
- name: site_id
1480+
type: string
1481+
in: path
1482+
required: true
1483+
- name: addon
1484+
type: string
1485+
in: path
1486+
required: true
1487+
- name: instance_id
1488+
type: string
1489+
in: path
1490+
required: true
14771491
get:
14781492
operationId: showServiceInstance
14791493
tags: [serviceInstance]

0 commit comments

Comments
 (0)