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

Add publish_apidoc flag to SpecTree constructor #311

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 14, 2023

  1. 🔖 chore(spec.py): add publish_apidoc flag to SpecTree constructor

    The `publish_apidoc` flag is added to the `SpecTree` constructor to allow users to disable publishing of the API documentation. If the flag is set to `False`, the `register_route` method will not be called, and the `backend.app` attribute will be set to the `app` attribute.
    AndreasBBS committed May 14, 2023
    Configuration menu
    Copy the full SHA
    f0ea3c8 View commit details
    Browse the repository at this point in the history
  2. 🐛 fix(spectree): remove unnecessary app attribute from backend

    The app attribute was being set in the backend, but it was not being used. This commit removes the app attribute from the backend.
    AndreasBBS committed May 14, 2023
    Configuration menu
    Copy the full SHA
    7d585b6 View commit details
    Browse the repository at this point in the history