From e95b356424d3c1ea7548bcc74195b459a5de2ec9 Mon Sep 17 00:00:00 2001 From: navinger Date: Thu, 5 Apr 2018 16:26: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 840f2bd290..0607fac7aa 100644 --- a/endpoints/getting-started/openapi.yaml +++ b/endpoints/getting-started/openapi.yaml @@ -12,7 +12,9 @@ consumes: produces: - "application/json" schemes: -- "https" +# Uncomment the next line if you configure SSL for this API. +#- "https" +- "http" paths: "/echo": post: @@ -60,6 +62,7 @@ paths: - google_id_token: [] definitions: echoMessage: + type: "object" properties: message: type: "string"