Last active
September 25, 2020 13:26
-
-
Save didil/f35072b247c3ba493bd82daf80b2fbd7 to your computer and use it in GitHub Desktop.
Gateway OpenAPI spec
This file contains hidden or 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: gateway-demo | |
description: API Gateway demo with 2 cloud run backends | |
version: 1.0.0 | |
schemes: | |
- https | |
produces: | |
- application/json | |
paths: | |
/users: | |
get: | |
summary: Users svc | |
operationId: list-users | |
x-google-backend: | |
address: https://users-svc-qqx6qmklha-ew.a.run.app/all | |
responses: | |
'200': | |
description: OK | |
/locations: | |
get: | |
summary: Locations svc | |
operationId: list-locations | |
x-google-backend: | |
address: https://locations-svc-qqx6qmklha-ew.a.run.app/all | |
responses: | |
'200': | |
description: OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment