-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: oussama Dahmaz <dahmaz@MacBook-Pro-de-odahmaz.local>
- Loading branch information
Showing
18 changed files
with
1,617 additions
and
6 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
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
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
87 changes: 87 additions & 0 deletions
87
client/integration-tests/mutiny/src/main/openapi/quarkus-multiple-endpoints-openapi.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,87 @@ | ||
openapi: 3.0.3 | ||
info: | ||
title: Test API | ||
version: "1.0" | ||
paths: | ||
/testEndpoint1: | ||
get: | ||
tags: | ||
- Test Endpoint | ||
summary: Simple test endpoint that returns a plain message. | ||
operationId: testEndpoint1 | ||
responses: | ||
"200": | ||
description: Success | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "Test Endpoint 1 success!" | ||
/testEndpoint2: | ||
post: | ||
tags: | ||
- Test Endpoint | ||
summary: Test endpoint to validate POST requests. | ||
operationId: testEndpoint2 | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
input: | ||
type: string | ||
example: "Test input" | ||
responses: | ||
"200": | ||
description: Successfully received input. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "Test Endpoint 2 received the input." | ||
/testEndpoint3: | ||
put: | ||
tags: | ||
- Test Endpoint | ||
summary: Test PUT request with a JSON body. | ||
operationId: testEndpoint3 | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
example: "Test Name" | ||
value: | ||
type: integer | ||
example: 123 | ||
responses: | ||
"200": | ||
description: PUT request successful. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "Test Endpoint 3 processed the data successfully." | ||
components: | ||
schemas: | ||
Response: | ||
type: object | ||
properties: | ||
status: | ||
format: int32 | ||
type: integer | ||
entity: | ||
type: object |
Oops, something went wrong.