Skip to content

Commit 4dafd39

Browse files
committed
refactor(api): update welcome message comment
- Simplify the comment above the welcome message - Remove reference to API version as it's already included in the response
1 parent 6d89589 commit 4dafd39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routes/api/v1/index.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import 'package:dart_frog/dart_frog.dart';
66
///
77
/// Returns a simple welcome message indicating the API is running.
88
Response onRequest(RequestContext context) {
9-
// You could potentially add more information here, like API version
10-
// or links to documentation in a real application.
9+
// You could potentially add more information here
10+
// like links to documentation.
1111
return Response.json(
1212
statusCode: HttpStatus.ok, // 200
1313
body: {'message': 'Welcome to the Headlines Toolkit API V1!'},

0 commit comments

Comments
 (0)