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

API Documentation select box is not shown on documentation page #841

Closed
frenchbread opened this issue Feb 2, 2016 · 2 comments
Closed
Labels

Comments

@frenchbread
Copy link
Contributor

  1. Add new API Backend
  2. Go to Edit API Backend page & upload new swagger documentation file
  3. Go to /documentation
  4. Select box for API documentation selection is not shown.
@frenchbread frenchbread added the bug label Feb 2, 2016
@frenchbread
Copy link
Contributor Author

Faced this issue locally. Was able to resolve it on my end, but this issue is still present at apinf.io

I droped ApiDocs collection and added API backend with new documentation file again. Then I was able to see the select box on Documentation page.

Reason is that template helper {{document.getApiBackendName}} fails while trying to find API Backend which has been removed.

Possible solution: check if API Backend (with provided API Backend ID) exists and then return an array of docs.

@frenchbread
Copy link
Contributor Author

Closing since this issue has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant