diff options
author | elinuxhenrik <henrik.b.andersson@est.tech> | 2020-12-07 14:54:19 +0100 |
---|---|---|
committer | elinuxhenrik <henrik.b.andersson@est.tech> | 2020-12-08 09:34:41 +0100 |
commit | f28594d423c9da9988d6a23ab49c4e787a5ae089 (patch) | |
tree | 2666813cab4ec122160f2e8bc28adfef706747a4 /a1-policy-management/src/test/java | |
parent | acfcde2e7729939a9a9f9f8a085951585033c081 (diff) |
Add generation of API yaml file
Change-Id: I3f3091c76b926425f9a2187e43dd03a1cdb4bda6
Issue-ID: CCSDK-2736
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Diffstat (limited to 'a1-policy-management/src/test/java')
-rw-r--r-- | a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ApplicationTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ApplicationTest.java b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ApplicationTest.java index 30ce4c3e..2170b3c1 100644 --- a/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ApplicationTest.java +++ b/a1-policy-management/src/test/java/org/onap/ccsdk/oran/a1policymanagementservice/controllers/v2/ApplicationTest.java @@ -218,7 +218,7 @@ class ApplicationTest { ResponseEntity<String> resp = restClient("", false).getForEntity(url).block(); assertThat(resp.getStatusCode()).isEqualTo(HttpStatus.OK); String indented = (new JSONObject(resp.getBody())).toString(4); - String docDir = "../docs/offeredapis/swagger/"; + String docDir = "api/"; Files.createDirectories(Paths.get(docDir)); try (PrintStream out = new PrintStream(new FileOutputStream(docDir + "pms-api.json"))) { out.print(indented); |