mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
swagger person: just sorting yaml tree items
This commit is contained in:
parent
d3ac8d8ceb
commit
b5760e82ea
@ -296,6 +296,7 @@ paths:
|
|||||||
$ref: "#/components/schemas/Person"
|
$ref: "#/components/schemas/Person"
|
||||||
403:
|
403:
|
||||||
description: "Unauthorized"
|
description: "Unauthorized"
|
||||||
|
|
||||||
/1.0/person/person.json:
|
/1.0/person/person.json:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
@ -358,39 +359,6 @@ paths:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/1.0/person/social-work/social-issue.json:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- social-issue
|
|
||||||
summary: Return a list of social work
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
description: "ok"
|
|
||||||
/1.0/person/social-work/social-issue/{id}.json:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- social-issue
|
|
||||||
summary: Return a social issue by id
|
|
||||||
parameters:
|
|
||||||
- name: id
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: The social issue's id
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: integer
|
|
||||||
minimum: 1
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
description: "ok"
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/SocialIssue'
|
|
||||||
404:
|
|
||||||
description: "not found"
|
|
||||||
401:
|
|
||||||
description: "Unauthorized"
|
|
||||||
/1.0/person/accompanying-course/{id}.json:
|
/1.0/person/accompanying-course/{id}.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -457,6 +425,7 @@ paths:
|
|||||||
description: "OK"
|
description: "OK"
|
||||||
422:
|
422:
|
||||||
description: "object with validation errors"
|
description: "object with validation errors"
|
||||||
|
|
||||||
/1.0/person/accompanying-course/{id}/requestor.json:
|
/1.0/person/accompanying-course/{id}/requestor.json:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
@ -908,6 +877,61 @@ paths:
|
|||||||
422:
|
422:
|
||||||
description: "object with validation errors"
|
description: "object with validation errors"
|
||||||
|
|
||||||
|
/1.0/person/accompanying-course/work/{id}.json:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- accompanying-course-work
|
||||||
|
summary: edit an existing accompanying course work
|
||||||
|
parameters:
|
||||||
|
- name: id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The accompanying course social work's id
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: integer
|
||||||
|
minimum: 1
|
||||||
|
responses:
|
||||||
|
401:
|
||||||
|
description: "Unauthorized"
|
||||||
|
404:
|
||||||
|
description: "Not found"
|
||||||
|
200:
|
||||||
|
description: "OK"
|
||||||
|
400:
|
||||||
|
description: "Bad Request"
|
||||||
|
|
||||||
|
put:
|
||||||
|
tags:
|
||||||
|
- accompanying-course-work
|
||||||
|
summary: edit an existing accompanying course work
|
||||||
|
parameters:
|
||||||
|
- name: id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The accompanying course social work's id
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: integer
|
||||||
|
minimum: 1
|
||||||
|
requestBody:
|
||||||
|
required: true
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/AccompanyingCourseWork'
|
||||||
|
responses:
|
||||||
|
401:
|
||||||
|
description: "Unauthorized"
|
||||||
|
404:
|
||||||
|
description: "Not found"
|
||||||
|
200:
|
||||||
|
description: "OK"
|
||||||
|
422:
|
||||||
|
description: "Unprocessable entity (validation errors)"
|
||||||
|
400:
|
||||||
|
description: "Bad Request"
|
||||||
|
|
||||||
/1.0/person/accompanying-course/{id}/confirm.json:
|
/1.0/person/accompanying-course/{id}/confirm.json:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
@ -932,6 +956,8 @@ paths:
|
|||||||
400:
|
400:
|
||||||
description: "transition cannot be applyed"
|
description: "transition cannot be applyed"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/1.0/person/household.json:
|
/1.0/person/household.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -1120,61 +1146,6 @@ paths:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/1.0/person/accompanying-course/work/{id}.json:
|
|
||||||
get:
|
|
||||||
tags:
|
|
||||||
- accompanying-course-work
|
|
||||||
summary: edit an existing accompanying course work
|
|
||||||
parameters:
|
|
||||||
- name: id
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: The accompanying course social work's id
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: integer
|
|
||||||
minimum: 1
|
|
||||||
responses:
|
|
||||||
401:
|
|
||||||
description: "Unauthorized"
|
|
||||||
404:
|
|
||||||
description: "Not found"
|
|
||||||
200:
|
|
||||||
description: "OK"
|
|
||||||
400:
|
|
||||||
description: "Bad Request"
|
|
||||||
|
|
||||||
put:
|
|
||||||
tags:
|
|
||||||
- accompanying-course-work
|
|
||||||
summary: edit an existing accompanying course work
|
|
||||||
parameters:
|
|
||||||
- name: id
|
|
||||||
in: path
|
|
||||||
required: true
|
|
||||||
description: The accompanying course social work's id
|
|
||||||
schema:
|
|
||||||
type: integer
|
|
||||||
format: integer
|
|
||||||
minimum: 1
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/AccompanyingCourseWork'
|
|
||||||
responses:
|
|
||||||
401:
|
|
||||||
description: "Unauthorized"
|
|
||||||
404:
|
|
||||||
description: "Not found"
|
|
||||||
200:
|
|
||||||
description: "OK"
|
|
||||||
422:
|
|
||||||
description: "Unprocessable entity (validation errors)"
|
|
||||||
400:
|
|
||||||
description: "Bad Request"
|
|
||||||
|
|
||||||
/1.0/person/social/social-action.json:
|
/1.0/person/social/social-action.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -1209,7 +1180,6 @@ paths:
|
|||||||
400:
|
400:
|
||||||
description: "Bad Request"
|
description: "Bad Request"
|
||||||
|
|
||||||
|
|
||||||
/1.0/person/social/social-action/by-social-issue/{id}.json:
|
/1.0/person/social/social-action/by-social-issue/{id}.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -1234,6 +1204,42 @@ paths:
|
|||||||
description: "Bad Request"
|
description: "Bad Request"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/1.0/person/social-work/social-issue.json:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- social-issue
|
||||||
|
summary: Return a list of social work
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "ok"
|
||||||
|
|
||||||
|
/1.0/person/social-work/social-issue/{id}.json:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- social-issue
|
||||||
|
summary: Return a social issue by id
|
||||||
|
parameters:
|
||||||
|
- name: id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The social issue's id
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
|
format: integer
|
||||||
|
minimum: 1
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "ok"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/SocialIssue'
|
||||||
|
404:
|
||||||
|
description: "not found"
|
||||||
|
401:
|
||||||
|
description: "Unauthorized"
|
||||||
|
|
||||||
/1.0/person/social-work/result.json:
|
/1.0/person/social-work/result.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -1268,7 +1274,6 @@ paths:
|
|||||||
400:
|
400:
|
||||||
description: "Bad Request"
|
description: "Bad Request"
|
||||||
|
|
||||||
|
|
||||||
/1.0/person/social-work/result/by-goal/{id}.json:
|
/1.0/person/social-work/result/by-goal/{id}.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@ -1349,7 +1354,6 @@ paths:
|
|||||||
400:
|
400:
|
||||||
description: "Bad Request"
|
description: "Bad Request"
|
||||||
|
|
||||||
|
|
||||||
/1.0/person/social-work/goal/by-social-action/{id}.json:
|
/1.0/person/social-work/goal/by-social-action/{id}.json:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user