<?php

it('documents outside-hours summary and trend schemas in openapi', function (): void {
    $content = department_daily_reports_openapi_content_or_skip();

    expect($content)->toContain('/departments/daily-reports/transaction-count:');
    expect($content)->toContain('/departments/daily-reports/outside-hours-trend:');
    expect($content)->toContain('DepartmentDailyReportTransactionCountResponse:');
    expect($content)->toContain('DepartmentDailyReportOutsideHoursSummary:');
    expect($content)->toContain('DepartmentDailyReportOutsideHoursTrendResponse:');
    expect($content)->toContain('DepartmentDailyReportOutsideHoursBreakdown:');
    expect($content)->toContain('outside_hours:');
    expect($content)->toContain('missing_department_ids:');
});
