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

fikset noen feil i dokumentasjonen, inkl. feil plassering av elementer

parent f0fd4630
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@
"paths": {
"/article/{dict_id}/{art_id}": {
"get": {
"summary": "Article lookup",
"description": "Returns an article with a specific numerical ID",
"parameters": [
{
"name": "dict_id",
......@@ -27,6 +29,7 @@
"name": "art_id",
"in": "path",
"required": true,
"description": "The numerical ID of an article",
"schema": {
"type": "integer"
}
......@@ -52,13 +55,13 @@
}
},
"/article/{dict_id}/search": {
"summary": "Search for a word",
"description": "Search for words as an article lemmas, or words occurring in certain article elements. For instance, old norse _fljúga_ will match the article for modern Norwegian verb _fly_ (meaning to fly)",
"get": {
"summary": "Search for a word",
"description": "Search for words as an article lemmas, or words occurring in certain article elements. For instance, old norse _fljúga_ will match the article for modern Norwegian verb _fly_ (meaning to fly)",
"parameters": [
{
"name": "dict_id",
"description": "Dictionary to search, 'bob' for bokmål, 'nob' for nynorsk, 'bob,bob' for both",
"description": "Dictionary to search, 'bob' for bokmål, 'nob' for nynorsk, 'bob,nob' for both",
"in": "path",
"required": true,
"schema": {
......
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