In Swagger 2.0 all the API is exported as a single file. The header part of the file, contains general information. It is stored as an external file so it will be easy to modify when needed. Signed-off-by: Amnon Heiman <amnon@scylladb.com>
30 lines
612 B
JSON
30 lines
612 B
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"version": "1.0.0",
|
|
"title": "Scylla API",
|
|
"description": "The scylla API version 2.0",
|
|
"termsOfService": "http://www.scylladb.com/tos/",
|
|
"contact": {
|
|
"name": "Scylla Team",
|
|
"email": "info@scylladb.com",
|
|
"url": "http://scylladb.com"
|
|
},
|
|
"license": {
|
|
"name": "AGPL",
|
|
"url": "https://github.com/scylladb/scylla/blob/master/LICENSE.AGPL"
|
|
}
|
|
},
|
|
"host": "{{Host}}",
|
|
"basePath": "/v2",
|
|
"schemes": [
|
|
"http"
|
|
],
|
|
"consumes": [
|
|
"application/json"
|
|
],
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"paths": {
|