Повторение материала и проверка знаний работников по направлениям деятельности
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
988 B

2 weeks ago
paths:
api.v1.organizations:
get:
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: "../components.yaml#/components/schemas/organization"
description: Get all organizations
post:
summary: repo.createOrganization() Создает в базе запись о новой организации
description: Предварительных требований не предусмотрено
requestBody:
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: "../components.yaml#/components/schemas/organization"