-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopenapi.yaml
More file actions
32 lines (32 loc) · 735 Bytes
/
Copy pathopenapi.yaml
File metadata and controls
32 lines (32 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
swagger: '2.0'
info:
title: Sample GKE API
description: Sample API project on GKE
version: v1.0.0
host: api.endpoints.sample-gke-api.cloud.goog
schemes:
- http
- https
paths:
/:
get:
summary: Health Check
operationId: healthCheck
description: Used to determine if API is healthy
responses:
200:
description: ok
/hello:
get:
summary: Hello World
operationId: sayHello
description: Returns a greeting to given name, or world
parameters:
- name: name
in: query
description: The name to greet
required: false
type: string
responses:
200:
description: Returns a 200 with greeting.