paths: api.v1.organizations: get: responses: '200': description: Получение перечня организаций 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"