View | Details | Raw Unified | Return to bug 13799
Collapse All | Expand All

(-)a/Koha/REST/V1.pm (+3 lines)
Lines 16-21 sub startup { Link Here
16
        }
16
        }
17
    );
17
    );
18
18
19
    # Force charset=utf8 in Content-Type header for JSON responses
20
    $self->types->type(json => 'application/json; charset=utf8');
21
19
    $self->plugin(Swagger2 => {
22
    $self->plugin(Swagger2 => {
20
        route => $route,
23
        route => $route,
21
        url => $self->home->rel_file("api/v1/swagger.json"),
24
        url => $self->home->rel_file("api/v1/swagger.json"),

Return to bug 13799