some fixes and changes

This commit is contained in:
Thulio Prado
2020-09-29 19:39:41 -03:00
parent 1cf8bde981
commit 8c60dc41dd
5 changed files with 11 additions and 7 deletions

View File

@@ -21,8 +21,10 @@ properties:
invalid-credentials,
]
action_by:
$ref: "./user.yaml"
description: The user who caused this action.
oneOf:
- type: string
- $ref: "../openapi.yaml#/components/schemas/User"
nullable: true # States the SQL structure
action_on:
description: When the action happened.

View File

@@ -25,7 +25,7 @@ properties:
example: null
nullable: true
display_template:
description:
description: Text representation of how items from this collection are shown across the system.
type: string
example: null
nullable: true

View File

@@ -52,12 +52,12 @@ properties:
example: null
nullable: true
storage_asset_transform:
description:
description: ""
type: string
example: "all"
nullable: true
storage_asset_presets:
description:
description: ""
type: string
example: null
nullable: true

View File

@@ -35,12 +35,14 @@ properties:
description: The user's description.
example: null
type: string
nullable:
nullable: true
tags:
description: The user's tags.
example: null
type: array
nullable: true
items:
type: string
avatar:
description: The user's avatar.
example: null

View File

@@ -6,9 +6,9 @@ get:
security:
- Auth: []
parameters:
- name: key
- name: id
in: path
description: private_hash of the file
description: The id of the file.
required: true
schema:
type: string