Skip to content

Commit

Permalink
test(generated): add db count stubs
Browse files Browse the repository at this point in the history
Generated SDK source code using:
- Generator version 3.99.0
- Specification version 1.0.0-dev0.1.25
- Automation (cloudant-sdks) version df0434a
  • Loading branch information
cloudant-sdks-automation authored and ricellis committed Jan 31, 2025
1 parent 92f5777 commit 56047c5
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions stubs/gen-its-mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,33 @@
},
"uuid": "e42d0204-7e2b-3850-bab6-3188dad08068"
},
{
"id" : "8593b1aa-6297-3120-a04e-c199e2808167",
"request" : {
"url" : "/_api/v2/user/capacity/databases",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"current\": {\"databases\":{\"total\":200}}}",
"headers" : {
"Server" : "Cloudant",
"X-Content-Type-Options" : "nosniff",
"X-Cloudant-Backend" : "bigblue",
"X-Couch-Request-ID" : "686418ce",
"X-Cloudant-Request-Class" : "unlimited",
"Date" : "Wed, 29 Jan 2025 00:26:57 GMT",
"Via" : "1.1 lb4.bigblue (Glum)",
"X-Frame-Options" : "DENY",
"X-Cloudant-Action" : "cloudantnosqldb.account-capacity-dbs.read",
"Strict-Transport-Security" : "max-age=31536000",
"content-security-policy" : "sandbox",
"Cache-Control" : "must-revalidate",
"Content-Type" : "application/json"
}
},
"uuid" : "8593b1aa-6297-3120-a04e-c199e2808167"
},
{
"id": "f3eef08d-1cac-3c95-90bb-e1d95690c74b",
"request": {
Expand Down Expand Up @@ -344,6 +371,33 @@
},
"uuid": "a2e4e696-e631-33f8-b168-5015048cdad8"
},
{
"id" : "8593b1aa-6297-3120-a04e-c199e2808167",
"request" : {
"url" : "/_api/v2/user/current/databases",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"databases\":{\"total\":42}}",
"headers" : {
"Server" : "Cloudant",
"X-Content-Type-Options" : "nosniff",
"X-Cloudant-Backend" : "bigblue",
"X-Couch-Request-ID" : "686418ce",
"X-Cloudant-Request-Class" : "unlimited",
"Date" : "Wed, 29 Jan 2025 00:26:57 GMT",
"Via" : "1.1 lb4.bigblue (Glum)",
"X-Frame-Options" : "DENY",
"X-Cloudant-Action" : "cloudantnosqldb.account-current-dbs.read",
"Strict-Transport-Security" : "max-age=31536000",
"content-security-policy" : "sandbox",
"Cache-Control" : "must-revalidate",
"Content-Type" : "application/json"
}
},
"uuid" : "8593b1aa-6297-3120-a04e-c199e2808167"
},
{
"id": "8c38b725-a6ac-3f63-a723-9f4925ae23fd",
"request": {
Expand Down

0 comments on commit 56047c5

Please sign in to comment.