fix(api): add a newline to openapi.json

This commit is contained in:
peaklabs-dev committed 2026-02-16 00:04:05 +01:00
1 parent 5d54bc1c96
commit 25ccde83fa
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -32,7 +32,8 @@ class OpenApi extends Command
echo $process->output();
$yaml = file_get_contents('openapi.yaml');
$json = json_encode(Yaml::parse($yaml), JSON_PRETTY_PRINT);
$json = json_encode(Yaml::parse($yaml), JSON_PRETTY_PRINT)."\n";
file_put_contents('openapi.json', $json);
echo "Converted OpenAPI YAML to JSON.\n";
}
+1 -1
View File
@@ -11300,4 +11300,4 @@
"description": "Teams"
}
]
}
}