java.lang.IllegalArgumentException: Failed to read the Swagger source


Solutions on the web

Solution icon of github
via GitHub by zcb22000
, 9 months ago
Failed to read the Swagger source

Stack trace

java.lang.IllegalArgumentException: Failed to read the Swagger source
	at io.github.swagger2markup.Swagger2MarkupConverter$Builder.readSwagger(Swagger2MarkupConverter.java:323)
	at io.github.swagger2markup.Swagger2MarkupConverter$Builder.<init>(Swagger2MarkupConverter.java:301)
	at io.github.swagger2markup.Swagger2MarkupConverter.from(Swagger2MarkupConverter.java:116)
	at com.huawei.m2m.ecosystem.codegen.SpringServerGenerator.generateFiles(SpringServerGenerator.java:74)
	at com.huawei.m2m.ecosystem.codegen.SpringServerGenerator.main(SpringServerGenerator.java:51)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.