1swagger: 2.0
2info:
3 title: OpenAPI 2.0 servers example
4 version: 1
5host: foo.com
6basePath: /v1
7schemes:
8 - https
9paths:
10 /foo:
11 get:
12 produces:
13 - application/json
14 responses:
15 '200':
16 description: OK
17 schema:
18 type: string