Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add generation of API yaml file
[nonrtric.git]
/
enrichment-coordinator-service
/
src
/
test
/
java
/
org
/
oransc
/
enrichment
/
ApplicationTest.java
diff --git
a/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
b/enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
index
c5ee82a
..
51d0ee1
100644
(file)
--- a/
enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
+++ b/
enrichment-coordinator-service/src/test/java/org/oransc/enrichment/ApplicationTest.java
@@
-162,7
+162,7
@@
class ApplicationTest {
assertThat(resp.getStatusCode()).isEqualTo(HttpStatus.OK);
String indented = (new JSONObject(resp.getBody())).toString(4);
assertThat(resp.getStatusCode()).isEqualTo(HttpStatus.OK);
String indented = (new JSONObject(resp.getBody())).toString(4);
- try (PrintStream out = new PrintStream(new FileOutputStream("
../docs/offeredapis/swagger
/ecs-api.json"))) {
+ try (PrintStream out = new PrintStream(new FileOutputStream("
api
/ecs-api.json"))) {
out.print(indented);
}
}
out.print(indented);
}
}