diff --git a/api_static/api/swagger.json b/api_static/api/swagger.json index d26e53a191a3fd0d0e8c3653e43c4e6e36b0237b..0c0c31f95a9f5e3dc4fc30e7a785a48240257522 100644 --- a/api_static/api/swagger.json +++ b/api_static/api/swagger.json @@ -4,7 +4,11 @@ "title": "ordbok-cache", "version": "2020-02-17T12:44:25Z" }, - "servers": [], + "servers": [ + { + "url": "/api" + } + ], "paths": { "/article/{dict_id}/{art_id}": { "get": { @@ -30,7 +34,19 @@ { "api_key": [] } - ] + ], + "responses": { + "200": { + "description": "bla bla", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } } }, "/article/{dict_id}/search": { @@ -57,7 +73,19 @@ { "api_key": [] } - ] + ], + "responses": { + "200": { + "description": "bla bla", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } } }, "/article/{dict_id}/suggest": { @@ -84,16 +112,24 @@ { "api_key": [] } - ] + ], + "responses": { + "200": { + "description": "bla bla", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } } } }, "components": { "schemas": { - "Empty": { - "title": "Empty Schema", - "type": "object" - } }, "securitySchemes": { "api_key": {