add initial comment to accompanying period

This commit is contained in:
2021-05-18 19:04:09 +02:00
parent d327dae9fa
commit 2610730219
4 changed files with 110 additions and 6 deletions

View File

@@ -202,7 +202,7 @@ paths:
patch:
tags:
- person
summary: "Return the description for an accompanying course (accompanying period)"
summary: "Alter an accompanying course (accompanying period)"
parameters:
- name: id
in: path
@@ -219,6 +219,22 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/AccompanyingPeriod'
examples:
Set the requestor as anonymous:
value:
type: accompanying_period
id: 12345
requestorAnonymous: true
Adding an initial comment:
value:
type: accompanying_period
id: 2668,
initialComment:
type: accompanying_period_comment
content: >
This is my an initial comment.
Say hello to the new "parcours"!
responses:
401:
description: "Unauthorized"