remove route for testing move

This commit is contained in:
2021-06-10 13:02:35 +02:00
parent 89734c680c
commit 3e39dd9a1e
2 changed files with 0 additions and 85 deletions

View File

@@ -869,45 +869,3 @@ paths:
400:
description: "transition cannot be applyed"
/1.0/person/household/members/move/test.json:
post:
tags:
- household
summary: test the move of one or more person, without persisting changes in database
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
concerned:
type: array
items:
type: object
properties:
person:
$ref: '#/components/schemas/PersonById'
start_date:
$ref: '#/components/schemas/Date'
position:
$ref: '#/components/schemas/HouseholdPosition'
holder:
type: boolean
comment:
type: string
destination:
oneOf:
- $ref: '#/components/schemas/Household'
responses:
401:
description: "Unauthorized"
404:
description: "Not found"
200:
description: "OK"
422:
description: "Unprocessable entity (validation errors)"
400:
description: "transition cannot be applyed"