#69 Format HTTP error

add 403 for /articles route
This commit is contained in:
2021-03-26 01:53:41 +01:00
parent 6b66130ddc
commit 5f0b8de159
3 changed files with 97 additions and 8 deletions

View File

@@ -108,6 +108,18 @@ paths:
type: integer
401:
$ref: '#/components/responses/401'
403:
description: Forbiden
content:
application/json:
schema:
description: Forbiden
properties:
statusCode:
type: integer
title:
type: string
/articles/{article}:
parameters:
- $ref: '#/components/parameters/article'