Skip to content

Commit c9bd3e6

Browse files
committed
chore: add swagger api documentation for the template api
1 parent d452727 commit c9bd3e6

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

modules/rest/src/main/resources/documentation/swagger.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3235,6 +3235,55 @@
32353235
}
32363236
}
32373237
},
3238+
"/template/{storage}/{prefix}/{name}/directory" : {
3239+
"delete" : {
3240+
"parameters" : [ {
3241+
"name" : "storage",
3242+
"in" : "path",
3243+
"required" : true,
3244+
"schema" : {
3245+
"type" : "string"
3246+
}
3247+
}, {
3248+
"name" : "prefix",
3249+
"in" : "path",
3250+
"required" : true,
3251+
"schema" : {
3252+
"type" : "string"
3253+
}
3254+
}, {
3255+
"name" : "name",
3256+
"in" : "path",
3257+
"required" : true,
3258+
"schema" : {
3259+
"type" : "string"
3260+
}
3261+
}, {
3262+
"name" : "path",
3263+
"in" : "query",
3264+
"required" : true,
3265+
"schema" : {
3266+
"type" : "string"
3267+
}
3268+
} ],
3269+
"tags" : [ "Templates" ],
3270+
"summary" : "Deletes a directory and all its contents recursively from a template",
3271+
"responses" : {
3272+
"200" : {
3273+
"$ref" : "#/components/responses/Success"
3274+
},
3275+
"400" : {
3276+
"$ref" : "#/components/responses/BadRequest"
3277+
},
3278+
"401" : {
3279+
"$ref" : "#/components/responses/Unauthorized"
3280+
},
3281+
"403" : {
3282+
"$ref" : "#/components/responses/Forbidden"
3283+
}
3284+
}
3285+
}
3286+
},
32383287
"/serviceversion" : {
32393288
"get" : {
32403289
"tags" : [ "Service Versions" ],

0 commit comments

Comments
 (0)