10000 Updates for the Developer Portal (#1084) · ScarTheSilent/java-docs-samples@2514e09 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2514e09

Browse files
navingerlesv
authored andcommitted
Updates for the Developer Portal (GoogleCloudPlatform#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.
1 parent 02728d7 commit 2514e09

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

endpoints/getting-started/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ consumes:
2525
produces:
2626
- "application/json"
2727
schemes:
28-
- "https"
28+
# Uncomment the next line if you configure SSL for this API.
29+
# - "https"
30+
- "http"
2931
paths:
3032
"/echo":
3133
post:
@@ -78,6 +80,7 @@ paths:
7880
google_id_token: []
7981
definitions:
8082
echoMessage:
83+
type: "object"
8184
properties:
8285
message:
8386
type: "string"

0 commit comments

Comments
 (0)
0