Files to uuids only

This commit is contained in:
breel
2020-08-26 20:31:08 -06:00
parent c85465accf
commit bb9b91eef5
7 changed files with 58 additions and 56 deletions

View File

@@ -0,0 +1,17 @@
paths:
summary: "Create files"
post:
tags:
- files
parameters:
- $ref: "#/components/parameters/token"
requestBody:
$ref: "#/components/schemas/requestForm"
components:
parameters:
token:
$ref: "../swagger.yaml#/components/parameters/token"
schemas:
requestForm:
$ref: "../swagger.yaml#/components/schemas/requestForm"

View File

@@ -6,14 +6,6 @@ paths:
parameters:
- $ref: "#/components/parameters/token"
- $ref: "#/components/parameters/path"
post:
tags:
- files
parameters:
- $ref: "#/components/parameters/token"
- $ref: "#/components/parameters/path"
requestBody:
$ref: "#/components/schemas/requestForm"
put:
tags:
- files
@@ -32,9 +24,9 @@ paths:
components:
parameters:
token:
$ref: "./swagger.yaml#/components/parameters/token"
$ref: "../swagger.yaml#/components/parameters/token"
path:
$ref: "./swagger.yaml#/components/parameters/path"
$ref: "../swagger.yaml#/components/parameters/path"
schemas:
requestForm:
$ref: "./swagger.yaml#/components/schemas/requestForm"
$ref: "../swagger.yaml#/components/schemas/requestForm"

View File

@@ -17,8 +17,10 @@ servers:
paths:
/version:
$ref: "./version.yaml#/paths"
/files:
$ref: "./files/index.yaml#/paths"
/files/{path}:
$ref: "./files.yaml#/paths"
$ref: "./files/one.yaml#/paths"
/users/register:
$ref: "./users/register.yaml#/paths"
/users/login: