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

(-)a/Koha/REST/V1.pm (-1 / +3 lines)
Lines 76-81 sub startup { Link Here
76
    }
76
    }
77
77
78
    my $spec_file = $self->home->rel_file("api/v1/swagger/swagger_bundle.json");
78
    my $spec_file = $self->home->rel_file("api/v1/swagger/swagger_bundle.json");
79
    if (!-f $spec_file) {
80
        $spec_file = $self->home->rel_file("api/v1/swagger/swagger.yaml");
81
    }
79
82
80
    push @{$self->routes->namespaces}, 'Koha::Plugin';
83
    push @{$self->routes->namespaces}, 'Koha::Plugin';
81
84
82
- 

Return to bug 36546