Skip to content

Add Redoc code samples from official docs - #4

Merged
neeraj-wokelo merged 1 commit into
mainfrom
codex/redoc-code-samples-pass
Apr 28, 2026
Merged

neeraj-wokelo merged 1 commit into
mainfrom
codex/redoc-code-samples-pass

Conversation

@neeraj-wokelo

Copy link
Copy Markdown
Collaborator

Summary

  • add Redoc x-codeSamples sourced from the official markdown request examples without changing the tested API contract
  • keep all prior normalization decisions intact while normalizing sample-only inconsistencies such as token placeholders and the broken Product Reviews JS URL
  • store the curated sample set in a repo-local file so future rebuilds do not depend on the external docs workspace

Validation

  • python3 scripts/polish_specs.py
  • npm run build
  • Redocly lint passes with 0 warnings
  • master spec now exposes code samples for Login, Upload, and merged workflow/enrichment operations

@neeraj-wokelo
neeraj-wokelo merged commit 2a53f58 into main Apr 28, 2026
1 check passed
@neeraj-wokelo
neeraj-wokelo deleted the codex/redoc-code-samples-pass branch April 28, 2026 06:35
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.

2 participants