Skip to content

Commit

Permalink
Updates for the Developer Portal (#1084)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
navinger authored and lesv committed Apr 19, 2018
1 parent 02728d7 commit 2514e09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion endpoints/getting-started/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -78,6 +80,7 @@ paths:
google_id_token: []
definitions:
echoMessage:
type: "object"
properties:
message:
type: "string"
Expand Down

0 comments on commit 2514e09

Please sign in to comment.