File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
lowcoder-sdk/src/main/java/org/lowcoder/sdk/config Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ public class CommonConfig {
3333 private boolean cloud ;
3434 private Security security = new Security ();
3535 private String version ;
36+ private String apiVersion ;
3637 private boolean blockHoundEnable ;
3738 private String cookieName ;
3839 private int maxQueryTimeout = 300 ;
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ public class OpenAPIDocsConfiguration {
1717 private CommonConfig commonConfig ;
1818
1919 @ Bean
20- public OpenAPI customizeOpenAPI () {
20+ OpenAPI customizeOpenAPI () {
2121 final String securitySchemeName = commonConfig .getCookieName ();
2222 return new OpenAPI ()
2323 .info (new Info ()
2424 .title ("Lowcoder API" )
25- .version ("1.0" ))
25+ .version (commonConfig . getApiVersion () ))
2626 .addServersItem (new Server ()
2727 .url ("/" ))
2828 .addSecurityItem (new SecurityRequirement ()
Original file line number Diff line number Diff line change 33 mongodb :
44 authentication-database : admin
55 auto-index-creation : false
6- uri : mongodb://192.168.1.111 :27017/lowcoder?authSource=admin
6+ uri : mongodb://lowcoder:secret123@localhost :27017/lowcoder?authSource=admin
77 redis :
8- url : redis://192.168.1.111 :6379
8+ url : redis://localhost :6379
99 main :
1010 allow-bean-definition-overriding : true
1111 allow-circular-references : true
@@ -39,7 +39,8 @@ common:
3939 security :
4040 cors-allowed-domains :
4141 - ' *'
42- version : 1.1.8
42+ version : 2.1.4
43+ apiVersion : 1.1
4344 block-hound-enable : false
4445 js-executor :
4546 host : http://127.0.0.1:6060
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ common:
4040 default-value : lowcoder.org
4141 cloud : false
4242 version : 2.1.4
43+ apiVersion : 1.1
4344 block-hound-enable : false
4445 js-executor :
4546 host : ${LOWCODER_NODE_SERVICE_URL:http://127.0.0.1:6060}
You can’t perform that action at this time.
0 commit comments