Removed authorization when unneeded | fixed typos

This commit is contained in:
Marco Realacci 2022-11-08 15:10:12 +01:00
parent 29f8923ff2
commit f9a789764d

View file

@ -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: