Skip to content

Commit

Permalink
rewrite describing post endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowOfTheSpace committed Nov 28, 2024
1 parent 9e5b5ba commit b9f5870
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions docs/attachments/attachment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,17 @@ paths:
- Attachments
summary: Create new attachments.
description: Saves new attachments to the database.
consumes:
- multipart/form-data
parameters:
- in: formData
name: files
type: file
description: Array of files to upload
required: true
- in: formData
name: fileName
type: string
description: File name for the attachment
required: true
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
files:
type: array
items:
type: string
format: binary
responses:
201:
description: Created
Expand Down

0 comments on commit b9f5870

Please sign in to comment.