Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 27329b6

Browse filesBrowse files
navingerandrewsg
authored andcommitted
Updates for the Developer Portal (GoogleCloudPlatform#1438)
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 986e56b commit 27329b6
Copy full SHA for 27329b6

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎endpoints/getting-started/openapi.yaml

Copy file name to clipboardExpand all lines: endpoints/getting-started/openapi.yaml
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ consumes:
1111
produces:
1212
- "application/json"
1313
schemes:
14-
- "https"
14+
# Uncomment the next line if you configure SSL for this API.
15+
#- "https"
16+
- "http"
1517
paths:
1618
"/echo":
1719
post:
@@ -77,6 +79,7 @@ paths:
7779

7880
definitions:
7981
echoMessage:
82+
type: "object"
8083
properties:
8184
message:
8285
type: "string"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.