From 2514e09e976b65384f0255f71a7bb56303f7edd3 Mon Sep 17 00:00:00 2001 From: navinger Date: Thu, 19 Apr 2018 10:30:53 -0700 Subject: [PATCH] Updates for the Developer Portal (#1084) 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 b0a9f31946e..6c3aa0e278f 100644 --- a/endpoints/getting-started/openapi.yaml +++ b/endpoints/getting-started/openapi.yaml @@ -25,7 +25,9 @@ consumes: produces: - "application/json" schemes: - - "https" +# Uncomment the next line if you configure SSL for this API. +# - "https" + - "http" paths: "/echo": post: @@ -78,6 +80,7 @@ paths: google_id_token: [] definitions: echoMessage: + type: "object" properties: message: type: "string"