File tree Expand file tree Collapse file tree 2 files changed +46
-1
lines changed
modules/openapi-generator/src
main/java/org/openapitools/codegen Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -1694,7 +1694,7 @@ public void setParameterExampleValue(CodegenParameter codegenParameter) {
1694
1694
} else if (Boolean .TRUE .equals (codegenParameter .isBoolean )) {
1695
1695
codegenParameter .example = "true" ;
1696
1696
} else if (Boolean .TRUE .equals (codegenParameter .isLong )) {
1697
- codegenParameter .example = "7•89 " ;
1697
+ codegenParameter .example = "789 " ;
1698
1698
} else if (Boolean .TRUE .equals (codegenParameter .isInteger )) {
1699
1699
codegenParameter .example = "56" ;
1700
1700
} else if (Boolean .TRUE .equals (codegenParameter .isFloat )) {
Original file line number Diff line number Diff line change
1
+ openapi : 3.0.0
2
+ info :
3
+ title : test api
4
+ version : 0.0.1
5
+ paths :
6
+ /imports :
7
+ post :
8
+ summary : Creates import
9
+ operationId : createImport
10
+ responses :
11
+ 201 :
12
+ description : created
13
+ security :
14
+ - oauth_auth :
15
+ - import:create
16
+ /imports/{importId}/state :
17
+ put :
18
+ summary : Changes import state
19
+ operationId : changeImportState
20
+ parameters :
21
+ - name : importId
22
+ in : path
23
+ required : true
24
+ schema :
25
+ type : string
26
+ responses :
27
+ 200 :
28
+ description : State changed
29
+ security :
30
+ - oauht_auth :
31
+ - import:process
32
+ components :
33
+ securitySchemes :
34
+ oauth_auth :
35
+ type : oauth2
36
+ flows :
37
+ password :
38
+ tokenUrl : " ../auth/realms/master/protocol/openid-connect/token"
39
+ scopes :
40
+ import:create : create import
41
+ clientCredentials :
42
+ tokenUrl : " ../auth/realms/master/protocol/openid-connect/token"
43
+ scopes :
44
+ import:create : create import
45
+ import:process : process import
You can’t perform that action at this time.
0 commit comments