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

Swagger doesn't appear to work with BASE_DIR #723

Closed
dorkmatt opened this issue Dec 5, 2016 · 2 comments
Closed

Swagger doesn't appear to work with BASE_DIR #723

dorkmatt opened this issue Dec 5, 2016 · 2 comments

Comments

@dorkmatt
Copy link

dorkmatt commented Dec 5, 2016

When defining a BASE_PATH = 'netbox/' the API doesn't appear to work.

image

I did adding a CORS response header. Nothing is returned, just "fetching resource list". I don't see any obvious error logging support, thoughts on how to debug this further?

@jeremystretch jeremystretch changed the title API doesn't appear to work with BASE_DIR Swagger doesn't appear to work with BASE_DIR Dec 6, 2016
@jeremystretch
Copy link
Member

jeremystretch commented Dec 6, 2016

Note that Swagger is merely the frontend documentation generator for the API. The API itself should work fine.

This was referenced Dec 6, 2016
@dorkmatt
Copy link
Author

dorkmatt commented Dec 6, 2016

Does not resolve the issue, patch applied - same problem.

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants