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

Clarification on RapidDoc configuration #493

Open
TheBigRoomXXL opened this issue Apr 19, 2023 · 0 comments
Open

Clarification on RapidDoc configuration #493

TheBigRoomXXL opened this issue Apr 19, 2023 · 0 comments
Labels

Comments

@TheBigRoomXXL
Copy link

TheBigRoomXXL commented Apr 19, 2023

I have two questions concerning RapidDoc configuration:

  1. Is it intended that inside the config object we need to pass boolean as string?
OPENAPI_RAPIDOC_CONFIG = {
    "allow-spec-file-load" : "false", # it work
    "allow-spec-url-load": False  # it does not work
}
  1. Is there any way to use slots? I tried the following but it did not work
OPENAPI_RAPIDOC_CONFIG = {
  "logo": '<img slot="nav-logo" src="http://localhost:5000/logo.svg" style="width:50px; height:50px"/>'
}

Thank you.

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

2 participants