| 1 |
swagger: '2.0' |
| 2 |
info: |
| 3 |
title: Something definitions |
| 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/something/definitions |
| 15 |
produces: |
| 16 |
- application/json |
| 17 |
- plain/text |
| 18 |
|
| 19 |
paths: |
| 20 |
/shared: |
| 21 |
get: |
| 22 |
operationId: Get |
| 23 |
tags: |
| 24 |
- Shared |
| 25 |
responses: |
| 26 |
200: |
| 27 |
description: OK |
| 28 |
schema: |
| 29 |
properties: |
| 30 |
name: |
| 31 |
type: string |
| 32 |
|
| 33 |
definitions: |
| 34 |
Something: |
| 35 |
description: Something |
| 36 |
type: object |
| 37 |
properties: |
| 38 |
p1: |
| 39 |
type: string |
| 40 |
description: A string |
| 41 |
p2: |
| 42 |
type: integer |
| 43 |
description: An integer |
| 44 |
|