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

(-)a/Koha/REST/V1.pm (+3 lines)
Lines 78-83 sub startup { Link Here
78
        }
78
        }
79
    );
79
    );
80
80
81
    # Force charset=utf8 in Content-Type header for JSON responses
82
    $self->types->type(json => 'application/json; charset=utf8');
83
81
    $self->plugin(Swagger2 => {
84
    $self->plugin(Swagger2 => {
82
        route => $route,
85
        route => $route,
83
        url => $self->home->rel_file("api/v1/swagger.json"),
86
        url => $self->home->rel_file("api/v1/swagger.json"),

Return to bug 13799