Skip to content

Fix #23: Add OpenAPI spec generator and Redoc UI#44

Open
vratprem-art wants to merge 1 commit into
Dipraise1:mainfrom
vratprem-art:main
Open

Fix #23: Add OpenAPI spec generator and Redoc UI#44
vratprem-art wants to merge 1 commit into
Dipraise1:mainfrom
vratprem-art:main

Conversation

@vratprem-art

Copy link
Copy Markdown

What does this PR do?

This PR generates an OpenAPI 3 spec from the miner's route definitions using an AST parser script. It includes auth scheme docs, a Redoc UI page, and a CI check.
Closes #23

Changes

  • scripts/generate_openapi.py: Added AST parser script to auto-generate specs from code
  • docs/openapi.yaml & docs/openapi.json: Generated API specs
  • docs/index.html: Added Redoc UI
  • .github/workflows/openapi-check.yml: Added CI check to ensure specs stay in sync

How to test

  1. Open docs/index.html in browser to view the Redoc UI
  2. Run python scripts/generate_openapi.py locally and verify files are updated

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

@vratprem-art is attempting to deploy a commit to the praise's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[docs] OpenAPI spec for miner HTTP endpoints

1 participant