API version 1.0.1 | fixed an error in /photos method

This commit is contained in:
Marco Realacci 2022-11-08 15:00:53 +01:00
parent 83763dd783
commit 29f8923ff2

View file

@ -1,9 +1,9 @@
openapi: 3.0.3 openapi: 3.0.3
info: info:
title: Simplified login API specification title: WASAPhoto API
description: |- description: |-
This OpenAPI document describes the simplified login API. Keep in touch with your friends by sharing photos of special moments, thanks to WASAPhoto! You can
Copy and paste the API from the `paths` key to your OpenAPI document. upload your photos directly from your PC, and they will be visible to everyone following you.
version: "1" version: "1"
paths: paths:
/session: /session:
@ -222,12 +222,6 @@ paths:
operationId: uploadPhoto operationId: uploadPhoto
security: security:
- BearerAuth: [] - BearerAuth: []
parameters:
- name: username
in: path
schema:
$ref: "#/components/schemas/name"
required: true
requestBody: requestBody:
content: content:
image/jpeg: image/jpeg: