fix custodian Swagger docs missing some path parameters (#4196)

This commit is contained in:
Aryan J 2022-10-06 06:03:39 -04:00 committed by GitHub
parent 880635d615
commit ced63baed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,15 @@
],
"summary": "Add a custodial account to a store.",
"description": "Add a custodial account to a store.",
"parameters": [
{
"name": "storeId",
"in": "path",
"required": true,
"description": "The Store ID",
"schema": { "type": "string" }
}
],
"requestBody": {
"x-name": "request",
"content": {
@ -182,6 +191,26 @@
],
"summary": "Update custodial account",
"description": "Update custodial account",
"parameters": [
{
"name": "storeId",
"in": "path",
"required": true,
"description": "The Store ID",
"schema": {
"type": "string"
}
},
{
"name": "accountId",
"in": "path",
"required": true,
"description": "The Custodian Account ID",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"x-name": "request",
"content": {
@ -225,6 +254,26 @@
],
"summary": "Delete store custodian account",
"description": "Deletes a custodial account",
"parameters": [
{
"name": "storeId",
"in": "path",
"required": true,
"description": "The Store ID",
"schema": {
"type": "string"
}
},
{
"name": "accountId",
"in": "path",
"required": true,
"description": "The Custodian Account ID",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Custodian account deleted"