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

Absolute file path is not supported #2

Open
kibertoad opened this issue Feb 12, 2021 · 3 comments
Open

Absolute file path is not supported #2

kibertoad opened this issue Feb 12, 2021 · 3 comments

Comments

@kibertoad
Copy link

Current way of of loading specification file only supports relative path.

@kibertoad
Copy link
Author

I can send a PR for this issue.

@PavelPolyakov
Copy link
Owner

hi @kibertoad ,

This module was a draft, but then I contributes heavily to https://github.com/fastify/fastify-swagger itself. It's possible there to serve static swagger configuration as an option. I'd suggest you use that module over this one.

@kibertoad
Copy link
Author

Thanks! That definitely works way better. Would you consider updating description of this project to point into that library as the preferred option?

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

No branches or pull requests

2 participants