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

Flasgger Reports Errors on Apache Server but Works Fine on Local #591

Open
Hongwei-W opened this issue Aug 18, 2023 · 0 comments
Open

Flasgger Reports Errors on Apache Server but Works Fine on Local #591

Hongwei-W opened this issue Aug 18, 2023 · 0 comments

Comments

@Hongwei-W
Copy link

Hi there, I was working on a local Windows machine with flask==2.3.2, flask-restful==0.3.10, and flasgger==0.9.7.1. My flasgger initializes in create_app() as Swagger(app). And each endpoint with @swag_from({path_to_a_yml_dir}). This worked fine on my local machine, no error showed up. However, after I deployed on my Apache server with the same libraries versions, it showed me the following page
image

This page persisted after I deleted all swag_from and deleted the entire yml directory. Might you have any ideas why? Any help is appreciated.

Thanks.

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

1 participant