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

@@ -97,7 +97,7 @@ components:
id:
name: id
in: query
description: "An entity's unique name"
description: "An entity's unique name, case insensitive for reads"
schema:
type: string
@@ -134,35 +134,7 @@ components:
schemas:
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
$ref: "./swagger.yaml#/components/schemas/one"
200:
content: