Skip to content

Commit e5791d4

Browse files
committed
add test api
1 parent a98c8dc commit e5791d4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright 2024 https://github.com/openapi-processor/openapi-processor-test
3+
* PDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
package io.openapiprocessor.api.v2;
7+
8+
/**
9+
* (integration) test support.
10+
* provides the destination folders in the targetDir depending on the targetDir layout.
11+
*/
12+
public interface OpenApiProcessorTest {
13+
/**
14+
* provides the target source root folder in targetDir.
15+
*
16+
* @return the source root below the targetDir or null if the targetDir is the source root.
17+
*/
18+
String getSourceRoot();
19+
20+
/**
21+
* provides the target resource root folder in targetDir.
22+
*
23+
* @return the resource root below the targetDir or null.
24+
*/
25+
String getResourceRoot();
26+
}

0 commit comments

Comments
 (0)