Files
pad/internal/server/testdata/cloud_contract/auth_me.json
T
xarmian 503afd5c3a test(cloud): golden the pad responses pad-cloud decodes (#2026)
TestCloudContract drives the real handlers for every pad endpoint the
pad-cloud sidecar decodes (user-by-customer, plan, stripe-event-processed,
stripe-event-unmark, payment-failed, oauth-login, auth/me) and pins each
response's SHAPE (values replaced by type placeholders) in
testdata/cloud_contract/. pad-cloud keeps a copy and decodes each file
through its own client, so a key renamed or dropped on either side of
the repo boundary fails a test. The class this closes: user-by-customer
answered user_id while pad-cloud read id, so every subscription webhook
synced user "".
2026-10-10 14:41:23 -04:00

17 lines
321 B
JSON

{
"avatar_url": "",
"created_at": "<string>",
"email": "<string>",
"id": "<string>",
"name": "<string>",
"oauth_providers": [
"<string>"
],
"password_set": false,
"role": "<string>",
"stripe_customer_id": "<string>",
"totp_enabled": false,
"updated_at": "<string>",
"username": "<string>"
}