question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for customisation in swagger-ui-react?

See original GitHub issue

Q&A (please complete the following information)

  • OS: All
  • Browser: All
  • Version: 3.x
  • Method of installation: npm
  • Swagger-UI version: 3.x
  • Swagger/OpenAPI version: OAS 3.0

How can we help?

Support for configuration in swagger-ui-react? Would like to be able to use a customised layout of swagger-ui within a react appliction with try out enabled. Issue #4745 seems to be fixed in swagger-ui-react but doesn’t allow configuration. Is there any recommended way to have a customised layout within a react app? @shockey

Alternatively are there any timelines for the support of custom plugins in swagger-ui-react?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:18
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
silverwindcommented, Jun 5, 2019

First, great work on swagger-ui-react, it solves quite a few issues related to embedding in React 👍

Would like to request the following properties to be made configurable:

  • validatorUrl
  • preauthorizeBasic
  • preauthorizeApiKey
0reactions
exit99commented, Apr 28, 2020

This ever get solved? Would be real nice to have custom layouts

Read more comments on GitHub >

github_iconTop Results From Across the Web

Swagger UI + Angular & ReactJS + Customization - Medium
If we need to Customize the Swagger UI using only Angular then we need to opt for using Renderer2 or its equivalent one...
Read more >
Plugin system overview - Swagger Documentation
The system is the heart of the Swagger UI application. At runtime, it's a JavaScript object that holds many things: React components; Bound...
Read more >
Customizing Swagger-UI Layout - reactjs - Stack Overflow
Swagger -UI docs shows an example of customizing the layout by using getComponent("operations") . ... This works fine in React.
Read more >
swagger-ui-react - npm
Start using swagger-ui-react in your project by running `npm i swagger-ui-react`. ... Custom plugins are not supported.
Read more >
reactjs-custom-swagger-ui - CodeSandbox
This Sandbox is in sync with master on GitHub. You have to fork to make changes. Fork. Files. public. src. SwaggerUI. App.js. index.js....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found