From 0099fb4add7cf3882ecdfb6aefbddeea3d823d5b Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Wed, 13 Mar 2024 09:46:58 +0000 Subject: [PATCH] Update cli args Signed-off-by: Prabhu Subramanian --- src/main/scala/io/appthreat/atom/Atom.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/io/appthreat/atom/Atom.scala b/src/main/scala/io/appthreat/atom/Atom.scala index 5545a2d..e08adcc 100644 --- a/src/main/scala/io/appthreat/atom/Atom.scala +++ b/src/main/scala/io/appthreat/atom/Atom.scala @@ -365,7 +365,7 @@ object Atom: saveSlice(config.outputSliceFile, sliceCpg(ag).map(_.toJson)) if u.extractEndpoints then val result = ExternalCommand.run( - s"atom-tools convert -u ${config.outputSliceFile} -t ${config.language} -f openapi3.1.0 -o ${config.inputPath.pathAsString}${java.io.File.separator}openapi.generated.json", + s"atom-tools convert -i ${config.outputSliceFile} -t ${config.language} -f openapi3.1.0 -q -o ${config.inputPath.pathAsString}${java.io.File.separator}openapi.generated.json", "." ) result match