From f88465e10406e58a14533ab885b1de49f825e30b Mon Sep 17 00:00:00 2001 From: navinger Date: Thu, 5 Apr 2018 15:54:31 -0700 Subject: [PATCH] Updates for the Developer Portal Updates so the sample API can be used easily in the Developer Portal. -- In schemes, it has to be "http" so that you can test the echo API in the Developer Portal. -- In the echoMessage definition, adding type: "object" provides a better user experience in the Developer Portal. --- endpoints/getting-started/openapi.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/endpoints/getting-started/openapi.yaml b/endpoints/getting-started/openapi.yaml index ead6b3c3a69..da8a04a8a47 100644 --- a/endpoints/getting-started/openapi.yaml +++ b/endpoints/getting-started/openapi.yaml @@ -15,7 +15,9 @@ consumes: produces: - "application/json" schemes: -- "https" +# Uncomment the next line if you configure SSL for this API. +#- "https" +- "http" paths: "/echo": post: @@ -81,6 +83,7 @@ paths: definitions: echoMessage: + type: "object" properties: message: type: "string"