mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
API version 1.0.1 | fixed an error in /photos method
This commit is contained in:
parent
83763dd783
commit
29f8923ff2
1 changed files with 3 additions and 9 deletions
12
api/api.yaml
12
api/api.yaml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue