fix: reworked csrf
This commit is contained in:
parent
475266eef6
commit
bd868bb724
16 changed files with 39 additions and 150 deletions
|
|
@ -1,8 +1,6 @@
|
|||
get:
|
||||
summary: Get user title
|
||||
operationId: getUserTitle
|
||||
security:
|
||||
- JwtAuthCookies: []
|
||||
parameters:
|
||||
- in: path
|
||||
name: user_id
|
||||
|
|
@ -37,9 +35,8 @@ patch:
|
|||
description: User updating title list of watched
|
||||
operationId: updateUserTitle
|
||||
security:
|
||||
- JwtAuthCookies: []
|
||||
- XsrfAuthHeader: []
|
||||
parameters:
|
||||
- $ref: '../parameters/xsrf_token_header.yaml'
|
||||
- in: path
|
||||
name: user_id
|
||||
required: true
|
||||
|
|
@ -87,9 +84,8 @@ delete:
|
|||
description: User deleting title from list of watched
|
||||
operationId: deleteUserTitle
|
||||
security:
|
||||
- JwtAuthCookies: []
|
||||
- XsrfAuthHeader: []
|
||||
parameters:
|
||||
- $ref: '../parameters/xsrf_token_header.yaml'
|
||||
- in: path
|
||||
name: user_id
|
||||
required: true
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
get:
|
||||
summary: Get user info
|
||||
operationId: getUsersId
|
||||
security:
|
||||
- JwtAuthCookies: []
|
||||
parameters:
|
||||
- in: path
|
||||
name: user_id
|
||||
|
|
@ -30,15 +28,15 @@ get:
|
|||
|
||||
patch:
|
||||
summary: Partially update a user account
|
||||
security:
|
||||
- JwtAuthCookies: []
|
||||
description: |
|
||||
Update selected user profile fields (excluding password).
|
||||
Password updates must be done via the dedicated auth-service (`/auth/`).
|
||||
Fields not provided in the request body remain unchanged.
|
||||
operationId: updateUser
|
||||
security:
|
||||
XsrfAuthHeader: []
|
||||
parameters:
|
||||
- $ref: '../parameters/xsrf_token_header.yaml'
|
||||
# - $ref: '../parameters/xsrf_token_header.yaml'
|
||||
- name: user_id
|
||||
in: path
|
||||
required: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue