Skip to content
Snippets Groups Projects
Commit 90e62769 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

la til nødvendige elementer i swagger-filen

parent 2221a08a
No related branches found
No related tags found
No related merge requests found
......@@ -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": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment