@@ -17,7 +17,7 @@ And if you thought APIs were complicated, think again! With ConnectLib, it's lik
1717---
1818
1919``` java
20- Stable Version : 0.3 . 2 - STABLE
20+ Stable Version : 0.3 . 5 - STABLE
2121```
2222
2323---
@@ -34,8 +34,8 @@ Hook -----------------------|
3434---
3535## LangManager
3636```
37- EN : Released - Version 1.2
38- FR : Sorti - Version 1.1
37+ EN : Released - Version 1.3 - Latest Version
38+ FR : Sorti - Version 1.2 - Dernière version
3939 ```
4040
4141---
@@ -115,40 +115,10 @@ repositories {
115115
116116dependencies {
117117
118- implementation(" fr.sandro642.github:ConnectLib:0.3.2 -STABLE" )
118+ implementation(" fr.sandro642.github:ConnectLib:0.3.5 -STABLE" )
119119
120120}
121121
122- ```
123- Library Initialization
124- ``` java
125- public class Example {
126-
127- // Initialization with an enumeration
128- public enum RouteList implements ConvertEnum .RouteImport {
129- VERSION (" /api/mcas/info/version" ),
130- INFO (" /api/mcas/info/info" );
131-
132- String route;
133-
134- TestRoutes (String route ) {
135- this . route = route;
136- }
137-
138- @Override
139- public String route () {
140- return route;
141- }
142- }
143-
144- ConnectLib.initialize (ResourceType .MAIN_RESOURCES , RouteList .class );
145-
146-
147- // /////////////////////////////////////////////////////////////////////////
148- ConnectLib.initialize (ResourceType .MAIN_RESOURCES );
149-
150- // Add your routes in the infos.yml file
151- }
152122```
153123
154124More examples HERE: [ ExampleUsages.java] ( src/main/java/fr/sandro642/github/example/ExampleUsages.java )
0 commit comments