Skip to content
Snippets Groups Projects
Commit 38d3eb6c authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Dev

parent cbd1de5b
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ paths:
schema:
type: string
example: int
responses:
'200':
description: OK
......@@ -99,7 +99,7 @@ paths:
/{dict}/article/{article_id}.json:
get:
summary: Article lookup
description: Returns an article with a specific numeric ID
description: Returns an article with a specific numeric ID
parameters:
- name: dict
in: path
......@@ -107,19 +107,19 @@ paths:
description: Dictionary code, 'bm' for bokmål, 'nn' for nynorsk, 'bm,nn' for both
schema:
type: string
example: bm,nn
example: bm
- name: article_id
in: path
required: true
description: The numeric ID of an article
schema:
type: integer
example: 15544
example: 54131
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
\ No newline at end of file
type: object
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