From 38d3eb6c961b4b290c66cb65f592f950bdf794a8 Mon Sep 17 00:00:00 2001 From: "Henrik.Askjer" <henrik.askjer@uib.no> Date: Wed, 2 Feb 2022 15:26:29 +0000 Subject: [PATCH] Dev --- api_static/api/swagger.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api_static/api/swagger.yml b/api_static/api/swagger.yml index 660ee8ef..8339c67c 100644 --- a/api_static/api/swagger.yml +++ b/api_static/api/swagger.yml @@ -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 -- GitLab