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

Serve docs from the server #435

Merged
merged 7 commits into from
May 11, 2022
Merged

Serve docs from the server #435

merged 7 commits into from
May 11, 2022

Conversation

svix-dylan
Copy link
Contributor

Includes our OpenAPI documentation as static files, and serves them
from the Rust server.

@svix-dylan
Copy link
Contributor Author

Open to suggestions on where these files and this module should live. I thought about putting them in the /endpoints/v1 folder, but since they're available at /docs I don't feel great putting them in a directory that represents a nested path.

@svix-dylan svix-dylan requested a review from a team May 11, 2022 20:30
Copy link
Member

@tasn tasn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just a few tiny comments.

server/svix-server/src/lib.rs Outdated Show resolved Hide resolved
server/svix-server/src/lib.rs Show resolved Hide resolved
server/svix-server/src/lib.rs Outdated Show resolved Hide resolved
server/svix-server/src/static/docs.html Outdated Show resolved Hide resolved
server/svix-server/src/lib.rs Show resolved Hide resolved
svix-dylan and others added 2 commits May 11, 2022 17:52
Co-authored-by: Tom Hacohen <tasn@users.noreply.github.com>
server/svix-server/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Tom Hacohen <tasn@users.noreply.github.com>
server/svix-server/src/lib.rs Show resolved Hide resolved
@svix-dylan svix-dylan merged commit 84e7e28 into svix:main May 11, 2022
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