Created
October 1, 2021 19:54
-
-
Save BerangerNt/f3157f34baffc78289c7c010c7bd4383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
title: smoothie-api | |
description: Send me Smoothies | |
version: 2.0.0 | |
schemes: | |
- https | |
produces: | |
- application/json | |
paths: | |
/listSmoothies: | |
get: | |
summary: Get the best smoothies | |
consumes: | |
- application/json | |
operationId: listSmoothies | |
x-google-backend: | |
address: https://europe-west2-steam-outlet-209412.cloudfunctions.net/listSmoothies | |
responses: | |
'200': | |
description: Successful response | |
schema: | |
type: string | |
security: | |
- api_key: [] | |
/orderSmoothie: | |
post: | |
summary: Order a wonderful smoothie | |
consumes: | |
- application/json | |
operationId: orderSmoothie | |
x-google-backend: | |
address: https://europe-west2-steam-outlet-209412.cloudfunctions.net/orderSmoothies | |
responses: | |
'200': | |
description: Successful response | |
schema: | |
type: string | |
security: | |
- api_key: [] | |
securityDefinitions: | |
api_key: | |
type: "apiKey" | |
name: "key" | |
in: "query" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment