Skip to content

Commit f0ac085

Browse files
committed
unused
1 parent 06431db commit f0ac085

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/main/groovy/com/github/hauner/openapi/test/ProcessorTestBase.groovy

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)