Swagger for import-exoprt

This commit is contained in:
breel
2020-07-25 20:20:12 -06:00
parent 09507d38e9
commit b423adde4a
8 changed files with 350 additions and 32 deletions

View File

@@ -19,6 +19,8 @@ paths:
$ref: "./swagger-who.yaml#/paths"
/register:
$ref: "./swagger-register.yaml#/paths"
/port:
$ref: "./swagger-port.yaml#/paths"
/__files__/{path}:
$ref: "./swagger-files.yaml#/paths"
@@ -43,13 +45,42 @@ components:
ok:
content:
application/json:
schema:
type: object
properties:
status:
type: string
example: "ok"
one:
title: "One entity"
type: object
properties:
name:
type: string
example: "Jeff Snow"
type:
type: string
example: "doggo"
title:
type: string
example: "Meme Lord"
text:
type: string
example: "Lorem ipsum"
relationship:
type: string
example: "Good boi"
modified:
type: int
example: 8675309
attachments:
type: object
additionalProperties:
type: string
connections:
type: object
additionalProperties:
type: object
securitySchemes:
token:
type: apiKey