arakoodev / FlySpring

Developer-friendly Spring Boot flavor. Supercharged cli "flyfly" to make you fall in love with Java again
MIT License
7 stars 7 forks source link

Refactoring and fixing a bug #13

Closed Ans-Elnagar closed 1 year ago

Ans-Elnagar commented 1 year ago

Contents

Refactoring of RouterFunctionConfig.java

Refactoring of GeneratorApplication.java

Bug: problem when reading folders.

When reading folders next to each other for example myapi/function and myapi/user. code read them as myapi/function and myapi/function/user.
Fixed on line 75 by using the subDirectory variable.

github-actions[bot] commented 1 year ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

Ans-Elnagar commented 1 year ago

I have read the Arakoo CLA Document and I hereby sign the CLA

sandys commented 1 year ago

this PR is not proper. it is OS dependent. please add code with Use FileSystem.getSeparator() or System.getProperty("file.separator") instead of using slashes.