Skip to content

Declare website API response contracts - #9

Merged
Aarekaz merged 5 commits into
masterfrom
codex/openapi-website-contracts
Aug 17, 2026
Merged

Declare website API response contracts#9
Aarekaz merged 5 commits into
masterfrom
codex/openapi-website-contracts

Conversation

@Aarekaz

@Aarekaz Aarekaz commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • declare reusable OpenAPI response schemas for the 14 GET operations consumed by the website
  • preserve actual nullability, normalized booleans, open JSON values, and additive fields
  • add generated-document tests for wrappers, nested properties, optionality, and OpenAPI 3.0 validity

Verification

  • 90/90 tests pass
  • TypeScript passes
  • 14/14 consumed operations expose declared response properties
  • no endpoint, database, authentication, deployment, or content behavior changed

Follow-up

This contract unblocks the website contract checker and the remaining website improvement plans.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
api 81e4869 Commit Preview URL

Branch Preview URL
Aug 17 2026, 12:19 AM

@Aarekaz
Aarekaz merged commit 1f5d5bb into master Aug 17, 2026
2 checks passed
@Aarekaz
Aarekaz deleted the codex/openapi-website-contracts branch August 17, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant