Skip to content

Commit

Permalink
updated firestore spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Ayers committed Oct 8, 2020
1 parent 9443d09 commit b702dc6
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions tutorial-demos/firestore-appsheet-demo/specs/jokes-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ openapi: 3.0.3
info:
version: 0.0.1
title: Joke API
description: API to get and maintain jokes
description: API to get and maintain the best, and worst, jokes on the planet
# Servers where this API is hosted
servers:
- url: https://emea-poc13-prod.apigee.net/firebasequick
- url: https://emea-poc13-prod.apigee.net/importantstuff

security:
- ApiKeyAuth: []
Expand Down Expand Up @@ -132,7 +132,21 @@ components:
type: string
punchline:
description: 'Punchline of a joke.'
type: string
type: string
location:
description: 'The location of the joke'
type: string
example: "52.517568, 10.959388"
timestamp:
description: "The timestamp of the moment of inspiration for the joke"
format: date-time
type: string
funny:
description: "The scientific measurement if the joke is funny."
type: boolean
imagePath:
description: "An image that gives the joke away"
type: string
ArrayOfJokes:
title: ArrayOfJokes
type: object
Expand Down

0 comments on commit b702dc6

Please sign in to comment.