Outdated Documentation
See original GitHub issuehttp://swagger.io/docs/swagger-tools/#swagger-ui-documentation-29
The above documentation specifies there’s a HTML folder however this seems to have been removed in the following commit: https://github.com/swagger-api/swagger-ui/commit/bd8344c80879f245cf6bbff8122967137f37ceff
How can I now edit the html template? I’m looking to rename the <title> tag but can however find no reference to it.
The build file always seems to have a hardcoded:
<title>Swagger UI</title>
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Outdated Documentation | How It Can Cost You | by Jacquie ...
This article by Jacquie Samuels discusses how outdated documentation can cost your brand and your company.
Read more >The Holy Grail of “Always-Up-to-Date” Documentation
When you ask someone what's wrong with your documentation, the top 3 answers will be: no one reads it, it is misleading, and...
Read more >Outdated Documentation - Ubuntu Community Hub
The most visible resource on Ubuntu is its documentation. help.ubuntu.com articles come up in any search for information on Ubuntu.
Read more >Outdated Documentation - tardis
Outdated Installation FAQs. The following pages are no longer applicable to the TARDIS documentation in its current form, but will be edited ...
Read more >Check all documentation, mark outdated ... - GitHub
Many documentation documents are (partly) outdated and have to be updated! Suggested change. Mark outdated documentation as outdated; Begin ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

As I mentioned before,
dist/index.htmlis a static file, not a generated file, so making changes to it is safe and won’t be destroyed by later builds.If modifying the HTML directly doesn’t suit your taste: you could write a plugin that uses react-helmet to manage the document
<head>, or just do adocument.title = "My Title".Alternatives to changing the Swagger specification URL that’s loaded via
index.htmlinclude providing a?url=http://mycompany.com/swagger.jsonquery parameter when you open Swagger-UI.I’m using 3.x and looking to change the <title> tag as well as the default .json file that’s loaded
I know these can be changed in the generated .html file but would prefer if it’s possible to do it through the build process.