Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit b702dc6

Browse files
author
Tyler Ayers
committed
updated firestore spec
1 parent 9443d09 commit b702dc6

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

tutorial-demos/firestore-appsheet-demo/specs/jokes-api.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ openapi: 3.0.3
1414
info:
1515
version: 0.0.1
1616
title: Joke API
17-
description: API to get and maintain jokes
17+
description: API to get and maintain the best, and worst, jokes on the planet
1818
# Servers where this API is hosted
1919
servers:
20-
- url: https://emea-poc13-prod.apigee.net/firebasequick
20+
- url: https://emea-poc13-prod.apigee.net/importantstuff
2121

2222
security:
2323
- ApiKeyAuth: []
@@ -132,7 +132,21 @@ components:
132132
type: string
133133
punchline:
134134
description: 'Punchline of a joke.'
135-
type: string
135+
type: string
136+
location:
137+
description: 'The location of the joke'
138+
type: string
139+
example: "52.517568, 10.959388"
140+
timestamp:
141+
description: "The timestamp of the moment of inspiration for the joke"
142+
format: date-time
143+
type: string
144+
funny:
145+
description: "The scientific measurement if the joke is funny."
146+
type: boolean
147+
imagePath:
148+
description: "An image that gives the joke away"
149+
type: string
136150
ArrayOfJokes:
137151
title: ArrayOfJokes
138152
type: object

0 commit comments

Comments
 (0)