diff --git a/backend-nest/src/app.service.ts b/backend-nest/src/app.service.ts index 07de6b45..503d9ee7 100644 --- a/backend-nest/src/app.service.ts +++ b/backend-nest/src/app.service.ts @@ -3,6 +3,14 @@ import { Injectable } from "@nestjs/common"; @Injectable() export class AppService { getHello(): string { - return "Hello World!"; + return ` +

+ Hello, fellow developerđź‘‹ +

+

+ Thank you for checking out my project. + You can find the API documentation here. +

+ `; } } diff --git a/docs/src/pages/docs/rest-api.mdx b/docs/src/pages/docs/rest-api.mdx index fdc97986..52b1abf4 100644 --- a/docs/src/pages/docs/rest-api.mdx +++ b/docs/src/pages/docs/rest-api.mdx @@ -46,9 +46,9 @@ GET https://api.metronow.dev/metro?station=["Anděl","Dejvická"] { [platform id]: [ { - "delay": "number", // seconds + "delay": "int", // in seconds (can be negative) "departure": "string", // ISO 8601 - "heading": "string", // station + "heading": "string", // last stop "line": "A" | "B" | "C" } ]