summaryrefslogtreecommitdiff
path: root/api/api.json
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2015-09-15 19:27:51 +0200
committerrautenberg <rautenberg@in-silico.ch>2015-09-15 19:27:51 +0200
commit63cd74696daf50ac8f33f71b955a832ac156deae (patch)
treeaaa43fca44e591f18a9d2a2213d8ef7c9fafaad3 /api/api.json
parent98f82570cee3e4da2e057fb59451a983c52568bb (diff)
add api/api.json route to API
Diffstat (limited to 'api/api.json')
-rw-r--r--api/api.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/api/api.json b/api/api.json
index 6f9a037..68997e8 100644
--- a/api/api.json
+++ b/api/api.json
@@ -108,6 +108,31 @@
}
}
}
+ },
+ "/api/api.json": {
+ "get": {
+ "tags": [
+ "api"
+ ],
+ "description": "Get swagger api in JSON",
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "$ref": "#/responses/200"
+ },
+ "400": {
+ "$ref": "#/responses/400"
+ },
+ "401": {
+ "$ref": "#/responses/401"
+ },
+ "500": {
+ "$ref": "#/responses/500"
+ }
+ }
+ }
}
},
"parameters": {
@@ -143,6 +168,10 @@
{
"name": "model",
"description": "Lazar Model Service"
+ },
+ {
+ "name": "api",
+ "description": "Swagger API representation in JSON"
}
]
} \ No newline at end of file