Skip to content

Commit 91eef0d

Browse files
committed
Regenerated sources
1 parent d638be1 commit 91eef0d

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ public void setParameterExampleValue(CodegenParameter codegenParameter) {
16941694
} else if (Boolean.TRUE.equals(codegenParameter.isBoolean)) {
16951695
codegenParameter.example = "true";
16961696
} else if (Boolean.TRUE.equals(codegenParameter.isLong)) {
1697-
codegenParameter.example = "7•89";
1697+
codegenParameter.example = "789";
16981698
} else if (Boolean.TRUE.equals(codegenParameter.isInteger)) {
16991699
codegenParameter.example = "56";
17001700
} else if (Boolean.TRUE.equals(codegenParameter.isFloat)) {
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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

0 commit comments

Comments
 (0)