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

RedocTryItOut.init #3

Open
Sawmonabo opened this issue Jan 26, 2023 · 2 comments
Open

RedocTryItOut.init #3

Sawmonabo opened this issue Jan 26, 2023 · 2 comments

Comments

@Sawmonabo
Copy link

Sawmonabo commented Jan 26, 2023

I've been trying config the init, but it seems no matter what I include into the options, nothing seems to happen. Here's how I've been trying, is this correct or a bug?
``

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/redoc-try-it-out/dist/try-it-out.min.js"></script> <script> RedocTryItOut.init( `{openapi_url}`, {{ title: "{title}" , disableSearch: True, scrollYOffset: 50, authBtn: {{text: 'Try It Out'}} }}, document.getElementById("redoc_container") ) </script>

``

@homestar9
Copy link

I have run into the same problem. I can't seem to pass options to Redoc.

@jarlah
Copy link

jarlah commented Jan 17, 2024

see also #5 for a proof of the fact that for ex redocVersion is indeed not overridable.

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

3 participants