Skip to content

Demo/api docs exploration#772

Open
brad-dow wants to merge 8 commits intomainfrom
demo/api-docs-exploration
Open

Demo/api docs exploration#772
brad-dow wants to merge 8 commits intomainfrom
demo/api-docs-exploration

Conversation

@brad-dow
Copy link
Copy Markdown
Contributor

@brad-dow brad-dow commented Mar 31, 2026

This is an experimental branch — do not merge.

Explores potential improvements to how we publish the Open Payments API reference. Three things to look at:

  • Spec improvements: proposed fixes to the OpenAPI YAML files: better labels on complex schema types, missing field descriptions, and cleanup of outdated content. See the /resources/spec-improvements/ page in the sidebar for the full list and rationale.
  • Scalar: an alternative API docs generator tool. Check it out under "Demo: Scalar" in the sidebar.
  • Redoc: a second alternative API docs generator tool. Check it out under "Demo: Redoc" in the sidebar.

Scalar includes a built-in API console where you can make live test calls directly from the browser. Redoc is a read-only reference with a more traditional three-panel layout. Both are worth comparing against each other and against the existing Starlight plugin.

Required

  • Used LinkOut component on external links
  • Reviewed Vale errors and made changes where appropriate
  • Ran Prettier
  • Previewed updates in Netlify
  • Received SME and/or peer approval if updates are significant
  • Included a "fixes #" comment

Conditional

  • Ensured sequence diagrams follow our style guide
  • Included code samples where appropriate
  • Updated related READMEs

Showcases three areas of improvement for the Open Payments API reference docs:

1. Spec improvements — proposed fixes to the OpenAPI YAML files including
   titles on anonymous oneOf/anyOf objects, missing field descriptions, removal
   of the orphaned wallet-address tag and unimplemented /did.json endpoint, and
   updated info.description fields across all three specs. Changes are local
   only and documented in docs/src/content/docs/resources/spec-improvements.mdx.

2. Scalar — full-page API reference viewer added as an alternative to the
   existing Starlight plugin. Serves specs at runtime from docs/public/specs/.
   Pages at /apis/scalar/{resource,auth,wallet-address}-server.

3. Redoc — pre-built self-contained HTML API reference added as a second
   alternative. Pre-built files committed to docs/public/apis/redoc/. Thin
   Astro wrapper pages at /apis/redoc/{resource,auth,wallet-address}-server.
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 31, 2026

Deploy Preview for openpayments-preview ready!

Name Link
🔨 Latest commit 6f3eacf
🔍 Latest deploy log https://app.netlify.com/projects/openpayments-preview/deploys/69cc2b4bf07847000830106f
😎 Deploy Preview https://deploy-preview-772--openpayments-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 13, 2026

Deploy Preview for openpayments ready!

Name Link
🔨 Latest commit 2629ee3
🔍 Latest deploy log https://app.netlify.com/projects/openpayments/deploys/69dce15f554af00007171294
😎 Deploy Preview https://deploy-preview-772--openpayments.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@brad-dow
Copy link
Copy Markdown
Contributor Author

There are two Netlify bot comments on this PR. The first deploy preview broke, so the next commit triggered a new build. Use this link for the preview: https://deploy-preview-772--openpayments.netlify.app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant