Skip to content

Commit

Permalink
Updates for the Developer Portal (#600)
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 jmdobry committed Apr 6, 2018
1 parent 13f22ea commit 13d0d44
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 @@ -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:
Expand Down Expand Up @@ -60,6 +62,7 @@ paths:
- google_id_token: []
definitions:
echoMessage:
type: "object"
properties:
message:
type: "string"
Expand Down

0 comments on commit 13d0d44

Please sign in to comment.