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 33 34 35 36 37 38 39 40 41 42 43 44
|
swagger: '2.0'
info:
title: Something definitions
contact:
name: Somebody
url: https://url.com
email: email@url.com
description: Something
version: v1
host: security.sonusnet.com
schemes:
- https
- http
basePath: /api/something/definitions
produces:
- application/json
- plain/text
paths:
/shared:
get:
operationId: Get
tags:
- Shared
responses:
200:
description: OK
schema:
properties:
name:
type: string
definitions:
Something:
description: Something
type: object
properties:
p1:
type: string
description: A string
p2:
type: integer
description: An integer
|