REST Naming convention
This commit is contained in:
@@ -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
Reference in New Issue
Block a user