REST Naming convention

This commit is contained in:
2024-07-25 13:51:19 +02:00
parent 83c519fdfd
commit 9a2673aba2
7 changed files with 140 additions and 167 deletions
+2 -3
View File
@@ -200,7 +200,7 @@ paths:
value: { "code": "MissingField", "fields": ["content"] }
tags:
- Post
/post/{id}:
/posts/{id}:
patch:
summary: Update post
description: Update post with ID. <br>
@@ -401,8 +401,7 @@ paths:
$ref: "#/components/schemas/UserListResponse"
tags:
- User
/user/{id}:
/users/{id}:
get:
summary: Get user
description: Get user by ID.
File diff suppressed because one or more lines are too long