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 {
33
33
private boolean cloud ;
34
34
private Security security = new Security ();
35
35
private String version ;
36
+ private String apiVersion ;
36
37
private boolean blockHoundEnable ;
37
38
private String cookieName ;
38
39
private int maxQueryTimeout = 300 ;
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ public class OpenAPIDocsConfiguration {
17
17
private CommonConfig commonConfig ;
18
18
19
19
@ Bean
20
- public OpenAPI customizeOpenAPI () {
20
+ OpenAPI customizeOpenAPI () {
21
21
final String securitySchemeName = commonConfig .getCookieName ();
22
22
return new OpenAPI ()
23
23
.info (new Info ()
24
24
.title ("Lowcoder API" )
25
- .version ("1.0" ))
25
+ .version (commonConfig . getApiVersion () ))
26
26
.addServersItem (new Server ()
27
27
.url ("/" ))
28
28
.addSecurityItem (new SecurityRequirement ()
Original file line number Diff line number Diff line change 3
3
mongodb :
4
4
authentication-database : admin
5
5
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
7
7
redis :
8
- url : redis://192.168.1.111 :6379
8
+ url : redis://localhost :6379
9
9
main :
10
10
allow-bean-definition-overriding : true
11
11
allow-circular-references : true
@@ -39,7 +39,8 @@ common:
39
39
security :
40
40
cors-allowed-domains :
41
41
- ' *'
42
- version : 1.1.8
42
+ version : 2.1.4
43
+ apiVersion : 1.1
43
44
block-hound-enable : false
44
45
js-executor :
45
46
host : http://127.0.0.1:6060
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ common:
40
40
default-value : lowcoder.org
41
41
cloud : false
42
42
version : 2.1.4
43
+ apiVersion : 1.1
43
44
block-hound-enable : false
44
45
js-executor :
45
46
host : ${LOWCODER_NODE_SERVICE_URL:http://127.0.0.1:6060}
You can’t perform that action at this time.
0 commit comments