Skip to content

fails to find api file with file:// scheme #2

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

Closed
hauner opened this issue Aug 10, 2020 · 0 comments · Fixed by #3
Closed

fails to find api file with file:// scheme #2

hauner opened this issue Aug 10, 2020 · 0 comments · Fixed by #3

Comments

@hauner
Copy link
Member

hauner commented Aug 10, 2020

Task :processJson FAILED
Exception while reading:
java.lang.RuntimeException: Could not find file://C:/Development/openapi-processor/openapi-processor-samples/samples/spring-mvc/src/api/openapi.yaml on the classpath
at io.swagger.v3.parser.util.ClasspathHelper.loadFileFromClasspath(ClasspathHelper.java:31)
at io.swagger.v3.parser.OpenAPIV3Parser.readWithInfo(OpenAPIV3Parser.java:150)
at io.swagger.v3.parser.OpenAPIV3Parser.readLocation(OpenAPIV3Parser.java:59)
at com.github.hauner.openapi.json.processor.JsonProcessor.run(JsonProcessor.kt:75)
at io.openapiprocessor.api.OpenApiProcessor$run$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)

@hauner hauner linked a pull request Aug 10, 2020 that will close this issue
@hauner hauner closed this as completed in #3 Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant