File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
modules/jooby-openapi/src/main/java/io/jooby Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020import java .util .List ;
2121import java .util .stream .Collectors ;
2222
23- public class RouteReader {
23+ public class RouteParser {
2424
2525 public List <RouteDescriptor > routes (ExecutionContext ctx ) {
2626 List <RouteDescriptor > handlerList = new ArrayList <>();
Original file line number Diff line number Diff line change 44import io .jooby .internal .openapi .DebugOption ;
55import io .jooby .internal .openapi .ExecutionContext ;
66import io .jooby .internal .openapi .RouteDescriptor ;
7- import io .jooby .internal .openapi .RouteReader ;
7+ import io .jooby .internal .openapi .RouteParser ;
88import io .jooby .internal .openapi .TypeFactory ;
99
1010import java .nio .file .Path ;
@@ -23,7 +23,7 @@ public class OpenApiTool {
2323 public List <RouteDescriptor > process (String classname ) {
2424 ClassSource source = new ClassSource (targetDir );
2525
26- RouteReader routes = new RouteReader ();
26+ RouteParser routes = new RouteParser ();
2727 ExecutionContext ctx = new ExecutionContext (source , TypeFactory .fromJavaName (classname ), debug );
2828 return routes .routes (ctx );
2929 }
You can’t perform that action at this time.
0 commit comments