Skip to content
Snippets Groups Projects
Unverified Commit 625e454b authored by REIG Julien's avatar REIG Julien
Browse files

fix schemas

parent c2c8772f
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ paths:
properties:
resource:
type: object
$ref: "#/components/schemas/resourceSimple"
$ref: "#/components/schemas/resource"
responses:
201:
description: Successfully duplicated resource.
......@@ -285,14 +285,6 @@ paths:
$ref: "#/components/schemas/resource"
400:
description: Resource is missing from body or already exists.
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: "Resource is missing from body"
403:
$ref: "#/components/responses/serverOffline"
default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment