Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS-3265] Use standalone Redoc HTML #50

Merged
merged 2 commits into from
Aug 20, 2024
Merged

[DOCS-3265] Use standalone Redoc HTML #50

merged 2 commits into from
Aug 20, 2024

Conversation

jrodewig
Copy link
Contributor

@jrodewig jrodewig commented Aug 20, 2024

Problem

You have to run npm run docs to generate the API ref docs every time you update the OpenAPI spec.

Solution

Use the Redocly HTML standalone to render the OpenAPI spec as docs instead. The docs are automatically updated when anyone updates the spec.

Also adds a Github Action to validate changes to the OpenAPI spec.

Preview

https://refined-github-html-preview.kidonng.workers.dev/fauna/js-sample-app/raw/use-redoc-html/docs/index.html

@jrodewig jrodewig requested a review from Shadid12 August 20, 2024 00:47
@jrodewig jrodewig force-pushed the use-redoc-html branch 5 times, most recently from b56cb88 to 4e63fe9 Compare August 20, 2024 02:27
@jrodewig jrodewig merged commit 855dcb8 into main Aug 20, 2024
1 check passed
@jrodewig jrodewig deleted the use-redoc-html branch August 20, 2024 13:38
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