| 1 |
{ |
| 2 |
"produces":[ |
| 3 |
"application/json", |
| 4 |
"plain/text" |
| 5 |
], |
| 6 |
"schemes":[ |
| 7 |
"https", |
| 8 |
"http" |
| 9 |
], |
| 10 |
"swagger":"2.0", |
| 11 |
"info":{ |
| 12 |
"description":"Something", |
| 13 |
"title":"Something", |
| 14 |
"contact":{ |
| 15 |
"name":"Somebody", |
| 16 |
"url":"https://url.com", |
| 17 |
"email":"[email protected]" |
| 18 |
}, |
| 19 |
"version":"v1" |
| 20 |
}, |
| 21 |
"host":"security.sonusnet.com", |
| 22 |
"basePath":"/api", |
| 23 |
"paths":{ |
| 24 |
"/whatnot":{ |
| 25 |
"get":{ |
| 26 |
"description":"Get something", |
| 27 |
"responses":{ |
| 28 |
"200":{ |
| 29 |
"description":"The something", |
| 30 |
"schema":{ |
| 31 |
"description":"A collection of service events", |
| 32 |
"type":"object", |
| 33 |
"properties":{ |
| 34 |
"page":{ |
| 35 |
"description":"A description of a paged result", |
| 36 |
"type":"object", |
| 37 |
"properties":{ |
| 38 |
"page":{ |
| 39 |
"description":"the page that was requested", |
| 40 |
"type":"integer" |
| 41 |
}, |
| 42 |
"page_items":{ |
| 43 |
"description":"the number of items per page requested", |
| 44 |
"type":"integer" |
| 45 |
}, |
| 46 |
"pages":{ |
| 47 |
"description":"the total number of pages available", |
| 48 |
"type":"integer" |
| 49 |
}, |
| 50 |
"total_items":{ |
| 51 |
"description":"the total number of items available", |
| 52 |
"type":"integer", |
| 53 |
"format":"int64" |
| 54 |
} |
| 55 |
} |
| 56 |
}, |
| 57 |
"something":{ |
| 58 |
"description":"Something", |
| 59 |
"type":"object", |
| 60 |
"properties":{ |
| 61 |
"p1":{ |
| 62 |
"description":"A string", |
| 63 |
"type":"string" |
| 64 |
}, |
| 65 |
"p2":{ |
| 66 |
"description":"An integer", |
| 67 |
"type":"integer" |
| 68 |
} |
| 69 |
} |
| 70 |
} |
| 71 |
} |
| 72 |
} |
| 73 |
}, |
| 74 |
"500":{ |
| 75 |
"description":"Oops" |
| 76 |
} |
| 77 |
} |
| 78 |
} |
| 79 |
} |
| 80 |
}, |
| 81 |
"definitions":{ |
| 82 |
"Something":{ |
| 83 |
"description":"A collection of service events", |
| 84 |
"type":"object", |
| 85 |
"properties":{ |
| 86 |
"page":{ |
| 87 |
"description":"A description of a paged result", |
| 88 |
"type":"object", |
| 89 |
"properties":{ |
| 90 |
"page":{ |
| 91 |
"description":"the page that was requested", |
| 92 |
"type":"integer" |
| 93 |
}, |
| 94 |
"page_items":{ |
| 95 |
"description":"the number of items per page requested", |
| 96 |
"type":"integer" |
| 97 |
}, |
| 98 |
"pages":{ |
| 99 |
"description":"the total number of pages available", |
| 100 |
"type":"integer" |
| 101 |
}, |
| 102 |
"total_items":{ |
| 103 |
"description":"the total number of items available", |
| 104 |
"type":"integer", |
| 105 |
"format":"int64" |
| 106 |
} |
| 107 |
} |
| 108 |
}, |
| 109 |
"something":{ |
| 110 |
"description":"Something", |
| 111 |
"type":"object", |
| 112 |
"properties":{ |
| 113 |
"p1":{ |
| 114 |
"description":"A string", |
| 115 |
"type":"string" |
| 116 |
}, |
| 117 |
"p2":{ |
| 118 |
"description":"An integer", |
| 119 |
"type":"integer" |
| 120 |
} |
| 121 |
} |
| 122 |
} |
| 123 |
} |
| 124 |
} |
| 125 |
} |
| 126 |
} |