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

jsonSampleExpandLevel ignored when using redoc in HTML #2618

Open
paololazzari opened this issue Nov 12, 2024 · 0 comments
Open

jsonSampleExpandLevel ignored when using redoc in HTML #2618

paololazzari opened this issue Nov 12, 2024 · 0 comments

Comments

@paololazzari
Copy link

I have the following in an html file:

<body>
  <redoc spec-url=./api.json
  theme='{
    "openapi": {
      "jsonSampleExpandLevel": "all"
    }
  }'></redoc>
  <script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script>
</body>

When I open the html file in the browser I do not see the json payloads expanded

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

No branches or pull requests

1 participant