/**
 * @openapi
 * /api/assessment_results:
 *   get:
 *     tags: [Assessment Results]
 *     summary: List assessment results (tenant-scoped)
 *     description: Requires READ_ASSESSMENT_RESULTS.
 *     responses:
 *       200:
 *         description: List payload.
 *         content:
 *           application/json:
 *             schema: { $ref: '#/components/schemas/ListResponse' }
 *       401: { $ref: '#/components/responses/UnauthorizedError' }
 *       403: { $ref: '#/components/responses/ForbiddenError' }
 *   post:
 *     tags: [Assessment Results]
 *     summary: Create a assessment results record
 *     description: Requires CREATE_ASSESSMENT_RESULTS.
 *     responses:
 *       200: { description: Created. }
 *       400: { $ref: '#/components/responses/ValidationError' }
 *       403: { $ref: '#/components/responses/ForbiddenError' }
 * /api/assessment_results/count:
 *   get:
 *     tags: [Assessment Results]
 *     summary: Count assessment results
 *     description: Requires READ_ASSESSMENT_RESULTS.
 *     responses:
 *       200: { description: Count. }
 * /api/assessment_results/autocomplete:
 *   get:
 *     tags: [Assessment Results]
 *     summary: Autocomplete assessment results
 *     description: Requires READ_ASSESSMENT_RESULTS.
 *     responses:
 *       200: { description: Autocomplete results. }
 * /api/assessment_results/bulk-import:
 *   post:
 *     tags: [Assessment Results]
 *     summary: Bulk-import assessment results from CSV
 *     description: Requires CREATE_ASSESSMENT_RESULTS.
 *     responses:
 *       200: { description: Imported. }
 *       403: { $ref: '#/components/responses/ForbiddenError' }
 * /api/assessment_results/deleteByIds:
 *   post:
 *     tags: [Assessment Results]
 *     summary: Delete multiple assessment results records
 *     description: Requires DELETE_ASSESSMENT_RESULTS.
 *     responses:
 *       200: { description: Deleted. }
 *       403: { $ref: '#/components/responses/ForbiddenError' }
 * /api/assessment_results/{id}:
 *   get:
 *     tags: [Assessment Results]
 *     summary: Get a assessment results record by id
 *     description: Requires READ_ASSESSMENT_RESULTS.
 *     parameters:
 *       - in: path
 *         name: id
 *         required: true
 *         schema: { type: string, format: uuid }
 *     responses:
 *       200: { description: The record. }
 *       403: { $ref: '#/components/responses/ForbiddenError' }
 *       404: { description: Not found. }
 *   put:
 *     tags: [Assessment Results]
 *     summary: Update a assessment results record
 *     description: Requires UPDATE_ASSESSMENT_RESULTS.
 *     parameters:
 *       - in: path
 *         name: id
 *         required: true
 *         schema: { type: string, format: uuid }
 *     responses:
 *       200: { description: Updated. }
 *       400: { $ref: '#/components/responses/ValidationError' }
 *       403: { $ref: '#/components/responses/ForbiddenError' }
 *   delete:
 *     tags: [Assessment Results]
 *     summary: Delete a assessment results record
 *     description: Requires DELETE_ASSESSMENT_RESULTS.
 *     parameters:
 *       - in: path
 *         name: id
 *         required: true
 *         schema: { type: string, format: uuid }
 *     responses:
 *       200: { description: Deleted. }
 *       403: { $ref: '#/components/responses/ForbiddenError' }
 */
import controller from '@/api/controllers/assessment_results.controller';
import { createCrudRouter } from '@/api/http/crud-router';

export default createCrudRouter(controller, { permission: 'assessment_results' });
