Could not render e, see the console in swagger-ui
See original GitHub issueHi, please, help
I use swagger version 3.0.0-SNAPSHOT
After last updating I got such error in showing swagger-ui.html:

/swagger/swagger-resources is empty:

My dependencies: springfox-swagger-ui, springfox-swagger2, springfox-spring-webflux
Services which use old version of 3.0.0-SNAPSHOT work correctly
metadata of snapshot:
<metadata modelVersion="1.1.0">
<groupId>io.springfox</groupId>
<artifactId>springfox-core</artifactId>
<version>3.0.0-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20181129.020224</timestamp>
<buildNumber>19</buildNumber>
</snapshot>
<lastUpdated>20181129020255</lastUpdated>
<snapshotVersions>
<snapshotVersion>
<classifier>javadoc</classifier>
<extension>jar</extension>
<value>3.0.0-20181129.020224-19</value>
<updated>20181129020224</updated>
</snapshotVersion>
<snapshotVersion>
<classifier>sources</classifier>
<extension>jar</extension>
<value>3.0.0-20181129.020224-19</value>
<updated>20181129020224</updated>
</snapshotVersion>
<snapshotVersion>
<extension>jar</extension>
<value>3.0.0-20181129.020224-19</value>
<updated>20181129020224</updated>
</snapshotVersion>
<snapshotVersion>
<extension>pom</extension>
<value>3.0.0-20181129.020224-19</value>
<updated>20181129020224</updated>
</snapshotVersion>
</snapshotVersions>
</versioning>
</metadata>
I think it’s may be caused by this commit https://github.com/springfox/springfox/commit/51e25ac7bcbe7e6dba63e8c40f29ccfbd089cf76#diff-86946cb6d8e8cd492ceb2aae5ee51af0
Thanks in advance
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Swagger UI Response: Could not render n, see the console
When using references ($ref) to define the various API Response codes, the message " Could not render n, see the console" is displayed ......
Read more >swagger: is ' Could not render this component, see the ...
The issue was caused by this bug that affected the display of cURL commands for multipart/* requests. This bug was fixed in Swagger...
Read more >Getting the error " Could not render n, see the console."
I am using the openAPI3 and added all apis there but when i run in browser, i am not getting any response, instead...
Read more >is ' Could not render this component, see the console' an ...
Hi, I was wondering if the, ' Could not render this component, see the console' was an error message or if...
Read more >Detecting your Swagger UI version
Some distinct identifiers to Swagger UI 2.x: The API version appears at the bottom of the page. Schemes are not rendered. Authorization, if...
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

(+1)
I also noticed that
/swagger-resourcesreturns an empty array after adding the spring integration starter.EDIT: I was able to fix the problem by adding additional packages: https://springfox.github.io/springfox/docs/snapshot/#springfox-spring-integration-support-incubating
springfox-spring-integration-webfluxandspring-integration-webfluxin my case.@lukasjapan that was it for me as well! Using
3.0.0-SNAPSHOTversions of springfox:a bit odd that we are forced to add
spring-integration-*as a direct dependency into our app even though we aren’t using it.