File tree Expand file tree Collapse file tree
src/main/groovy/com/github/hauner/openapi/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -284,18 +284,6 @@ abstract class ProcessorTestBase {
284284 }
285285 }
286286
287- protected String preparePath (String path ) {
288- // the openapi4j parser works properly with custom protocols. To load the test files from
289- // the resources we the test "resource:" protocol
290-
291- // the swagger parser works with http(s) & file protocols only.
292- // If it is something different (or nothing) it tries to find the given path as-is on the
293- // file system. If that fails it tries to load the path as resource. To load the test files
294- // from the resources it must not have a protocol.
295-
296- testSet. parser == " OPENAPI4J" ? " resource:${ path} " : path
297- }
298-
299287 protected InputStream getResource (String path ) {
300288 this . class. getResourceAsStream (path)
301289 }
You can’t perform that action at this time.
0 commit comments