mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
Removed authorization when unneeded | fixed typos
This commit is contained in:
parent
29f8923ff2
commit
f9a789764d
1 changed files with 3 additions and 7 deletions
10
api/api.yaml
10
api/api.yaml
|
@ -181,11 +181,9 @@ paths:
|
||||||
/profile/{username}: #todo maybe username not here
|
/profile/{username}: #todo maybe username not here
|
||||||
get:
|
get:
|
||||||
tags: ["profile"]
|
tags: ["profile"]
|
||||||
summary: Return user profile
|
summary: Returns user profile
|
||||||
description: todo
|
description: todo
|
||||||
operationId: getUserProfile
|
operationId: getUserProfile
|
||||||
security:
|
|
||||||
- BearerAuth: [] #todo maybe not needed
|
|
||||||
parameters:
|
parameters:
|
||||||
- name: username
|
- name: username
|
||||||
in: path
|
in: path
|
||||||
|
@ -237,8 +235,6 @@ paths:
|
||||||
summary: Download a photo
|
summary: Download a photo
|
||||||
description: Returns the requested photo
|
description: Returns the requested photo
|
||||||
operationId: getUserPhoto
|
operationId: getUserPhoto
|
||||||
security:
|
|
||||||
- BearerAuth: [] #todo maybe not needed
|
|
||||||
parameters:
|
parameters:
|
||||||
- name: username
|
- name: username
|
||||||
in: path
|
in: path
|
||||||
|
@ -288,7 +284,7 @@ paths:
|
||||||
/photos/{username}/{photoID}/comments:
|
/photos/{username}/{photoID}/comments:
|
||||||
post:
|
post:
|
||||||
tags: ["comments"]
|
tags: ["comments"]
|
||||||
summary: Comment a photo #todo review
|
summary: Comments a photo #todo review
|
||||||
description: aaa #todo review
|
description: aaa #todo review
|
||||||
operationId: commentPhoto
|
operationId: commentPhoto
|
||||||
security:
|
security:
|
||||||
|
@ -351,7 +347,7 @@ paths:
|
||||||
/stream: #todo parametri per lazy loading
|
/stream: #todo parametri per lazy loading
|
||||||
get:
|
get:
|
||||||
tags: ["stream"]
|
tags: ["stream"]
|
||||||
summary: Return user stream
|
summary: Returns user stream
|
||||||
description: todo
|
description: todo
|
||||||
operationId: getMyStream
|
operationId: getMyStream
|
||||||
security:
|
security:
|
||||||
|
|
Loading…
Reference in a new issue