| 1 |
swagger: '2.0' |
| 2 |
info: |
| 3 |
title: Something |
| 4 |
contact: |
| 5 |
name: Somebody |
| 6 |
url: https://url.com |
| 7 |
email: [email protected] |
| 8 |
description: Something |
| 9 |
version: v1 |
| 10 |
host: security.sonusnet.com |
| 11 |
schemes: |
| 12 |
- https |
| 13 |
- http |
| 14 |
basePath: /api |
| 15 |
produces: |
| 16 |
- application/json |
| 17 |
- plain/text |
| 18 |
|
| 19 |
paths: |
| 20 |
/whatnot: |
| 21 |
get: |
| 22 |
description: Get something |
| 23 |
responses: |
| 24 |
200: |
| 25 |
description: The something |
| 26 |
schema: |
| 27 |
$ref: '#/definitions/Something' |
| 28 |
500: |
| 29 |
description: Oops |
| 30 |
|
| 31 |
definitions: |
| 32 |
Something: |
| 33 |
description: A collection of service events |
| 34 |
type: object |
| 35 |
properties: |
| 36 |
page: |
| 37 |
$ref: '../../../../shared/definitions/page.yaml#/definitions/Page' |
| 38 |
something: |
| 39 |
#type: array |
| 40 |
#description: An array of something |
| 41 |
#items: |
| 42 |
$ref: '../../../../shared/something.yaml#/definitions/Something' |