Changeset 2461


Ignore:
Timestamp:
Jan 18, 2020, 6:12:05 PM (5 weeks ago)
Author:
Bruno Cornec
Message:

Remove swagger2 module dep as not maintained anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-server/lib/ProjectBuilder.pm

    r2323 r2461  
    2525  #   +/confs/(:id)  DELETE  "remove"
    2626  #   +/confs/(:id)  GET     "show"
    27   $self->plugin(swagger2 => {url => $self->home->rel_file('api.yml')});
     27  $self->plugin(openapi => {url => $self->home->rel_file('api.yml')});
    2828
    2929  # Regular web pages
     
    4646  $r->delete('/conconfid')->to('conf#remove')->name('remove_conf');
    4747
    48   require Swagger2::Editor;
    49   my $editor = Swagger2::Editor->new(specification_file => $self->home->rel_file('api.yml'));
    50   $r->route('/editor')->detour(app => $editor);
     48  # Swagger2 module not maintained anymore
     49  #require Swagger2::Editor;
     50  #my $editor = Swagger2::Editor->new(specification_file => $self->home->rel_file('api.yml'));
     51  #$r->route('/editor')->detour(app => $editor);
    5152}
    5253
Note: See TracChangeset for help on using the changeset viewer.