Skip to content

Commit edfa677

Browse files
committed
Update serve.ts
1 parent 30aa5c1 commit edfa677

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/cli/src/commands/serve.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export async function serve(options: { port: number; dir: string }) {
4242

4343
server.listen(options.port, () => {
4444
console.log(chalk.green(`\n🚀 Server ready at http://localhost:${options.port}`));
45+
console.log(chalk.blue(`📖 OpenAPI Spec: http://localhost:${options.port}/openapi.json`));
4546
console.log(chalk.gray('\nTry a curl command:'));
4647
console.log(`curl -X POST http://localhost:${options.port} -H "Content-Type: application/json" -d '{"op": "find", "object": "YourObject", "args": {}}'`);
4748
});

0 commit comments

Comments
 (0)