-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KOGITO-9625: Upgrade quarkus-openapi-generator to 1.3.8 (#3130)
* KOGITO-9625: Upgrade quarkus-openapi-generator to 1.3.8
- Loading branch information
Showing
9 changed files
with
191 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.../integration-tests-quarkus-openapi-client/src/main/resources/openapi2-sec-no-auth.sw.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"id": "sec20noAuth", | ||
"version": "1.0", | ||
"name": "Create a thing in the third-party API", | ||
"start": "DoAppCreate", | ||
"functions": [ | ||
{ | ||
"name": "create", | ||
"operation": "specs/swagger2.0-security-no-auth.yaml#myapp.create" | ||
} | ||
], | ||
"states": [ | ||
{ | ||
"name": "DoAppCreate", | ||
"type": "operation", | ||
"actions": [ | ||
{ | ||
"functionRef": { | ||
"refName": "create" | ||
} | ||
} | ||
], | ||
"end": true | ||
} | ||
] | ||
} |
26 changes: 26 additions & 0 deletions
26
.../integration-tests-quarkus-openapi-client/src/main/resources/openapi3-sec-no-auth.sw.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"id": "sec30noAuth", | ||
"version": "1.0", | ||
"name": "Create a thing in the third-party API", | ||
"start": "DoAppCreate", | ||
"functions": [ | ||
{ | ||
"name": "create", | ||
"operation": "specs/openapi3.0-security-no-auth.yaml#doOperation" | ||
} | ||
], | ||
"states": [ | ||
{ | ||
"name": "DoAppCreate", | ||
"type": "operation", | ||
"actions": [ | ||
{ | ||
"functionRef": { | ||
"refName": "create" | ||
} | ||
} | ||
], | ||
"end": true | ||
} | ||
] | ||
} |
31 changes: 31 additions & 0 deletions
31
...on-tests-quarkus-openapi-client/src/main/resources/specs/openapi3.0-security-no-auth.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
openapi: 3.0.3 | ||
info: | ||
title: Generated API | ||
version: "1.0" | ||
paths: | ||
/unprotected: | ||
post: | ||
operationId: doOperation | ||
security: | ||
- client_id: [ ] | ||
- oauth: [ read, write ] | ||
- bearerAuth: [ ] | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/MultiplicationOperation' | ||
responses: | ||
"200": | ||
description: OK | ||
components: | ||
schemas: | ||
MultiplicationOperation: | ||
type: object | ||
securitySchemes: | ||
client_id: | ||
type: apiKey | ||
in: header | ||
name: X-Client-Id | ||
x-key-type: clientId |
51 changes: 51 additions & 0 deletions
51
...on-tests-quarkus-openapi-client/src/main/resources/specs/swagger2.0-security-no-auth.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
swagger: '2.0' | ||
info: | ||
title: myapp | ||
version: 2.0.0 | ||
basePath: / | ||
paths: | ||
/unprotected: | ||
post: | ||
tags: | ||
- myapp | ||
summary: Create a new instance of the model and persist it into the data source. | ||
operationId: myapp.create | ||
parameters: | ||
- name: data | ||
in: body | ||
#description: Model instance data | ||
required: false | ||
schema: | ||
#description: Model instance data | ||
$ref: '#/definitions/myapp' | ||
responses: | ||
'201': | ||
description: Request was successful | ||
schema: | ||
$ref: '#/definitions/myapp' | ||
deprecated: false | ||
definitions: | ||
myapp: | ||
#description: '' | ||
properties: | ||
userid: | ||
type: string | ||
required: | ||
- userid | ||
additionalProperties: false | ||
schemes: | ||
- https | ||
consumes: | ||
- application/json | ||
produces: | ||
- application/json | ||
securityDefinitions: | ||
client_id: | ||
type: apiKey | ||
in: header | ||
name: X-Client-Id | ||
x-key-type: clientId | ||
security: | ||
- client_id: [ ] | ||
tags: | ||
- name: myapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters