From 847bd66ee78f596dae342ddeac45d9741ec4010f Mon Sep 17 00:00:00 2001 From: Abhijit Kane Date: Fri, 5 Nov 2021 13:12:53 +0530 Subject: [PATCH] Added the actual greeting for users --- postman/schemas/schema.yaml | 1 + services/greeting.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/postman/schemas/schema.yaml b/postman/schemas/schema.yaml index 3ee87fb..fc22b32 100644 --- a/postman/schemas/schema.yaml +++ b/postman/schemas/schema.yaml @@ -23,6 +23,7 @@ paths: properties: message: type: string + maxLength: 200 default: description: Unexpected error content: diff --git a/services/greeting.js b/services/greeting.js index bc1475e..4c9d4a1 100644 --- a/services/greeting.js +++ b/services/greeting.js @@ -17,7 +17,7 @@ module.exports = { // throw new Error(''); // this will result in a 500 var data = { - "message": "", + "message": "Welcome to the API-first world!", }, status = '200';