-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add & update mutiny dependency for microprofile
- Loading branch information
Showing
74 changed files
with
8,918 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
generatorName: java | ||
outputDir: samples/client/petstore/java/microprofile-rest-client-3.0-mutiny | ||
library: microprofile | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/Java | ||
additionalProperties: | ||
artifactId: microprofile-rest-client-3-mutiny | ||
configKey: petstore | ||
microprofileRestClientVersion: "3.0" | ||
microprofileMutiny: true |
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,9 @@ | ||
generatorName: java | ||
outputDir: samples/client/petstore/java/microprofile-rest-client-mutiny | ||
library: microprofile | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/Java | ||
additionalProperties: | ||
artifactId: microprofile-rest-client-mutiny | ||
configKeyFromClassName: true | ||
microprofileMutiny: true |
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
23 changes: 23 additions & 0 deletions
23
samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/.openapi-generator-ignore
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,23 @@ | ||
# OpenAPI Generator Ignore | ||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator | ||
|
||
# Use this file to prevent files from being overwritten by the generator. | ||
# The patterns follow closely to .gitignore or .dockerignore. | ||
|
||
# As an example, the C# client generator defines ApiClient.cs. | ||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: | ||
#ApiClient.cs | ||
|
||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | ||
#foo/*/qux | ||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | ||
|
||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | ||
#foo/**/qux | ||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | ||
|
||
# You can also negate patterns with an exclamation (!). | ||
# For example, you can ignore all files in a docs folder with the file extension .md: | ||
#docs/*.md | ||
# Then explicitly reverse the ignore rule for a single file: | ||
#!docs/README.md |
32 changes: 32 additions & 0 deletions
32
samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/.openapi-generator/FILES
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,32 @@ | ||
.openapi-generator-ignore | ||
README.md | ||
docs/Category.md | ||
docs/ModelApiResponse.md | ||
docs/Order.md | ||
docs/Pet.md | ||
docs/PetApi.md | ||
docs/StoreApi.md | ||
docs/Tag.md | ||
docs/User.md | ||
docs/UserApi.md | ||
pom.xml | ||
src/main/java/org/openapitools/client/api/ApiException.java | ||
src/main/java/org/openapitools/client/api/ApiExceptionMapper.java | ||
src/main/java/org/openapitools/client/api/PetApi.java | ||
src/main/java/org/openapitools/client/api/StoreApi.java | ||
src/main/java/org/openapitools/client/api/UserApi.java | ||
src/main/java/org/openapitools/client/model/Category.java | ||
src/main/java/org/openapitools/client/model/ModelApiResponse.java | ||
src/main/java/org/openapitools/client/model/Order.java | ||
src/main/java/org/openapitools/client/model/Pet.java | ||
src/main/java/org/openapitools/client/model/Tag.java | ||
src/main/java/org/openapitools/client/model/User.java | ||
src/test/java/org/openapitools/client/api/PetApiTest.java | ||
src/test/java/org/openapitools/client/api/StoreApiTest.java | ||
src/test/java/org/openapitools/client/api/UserApiTest.java | ||
src/test/java/org/openapitools/client/model/CategoryTest.java | ||
src/test/java/org/openapitools/client/model/ModelApiResponseTest.java | ||
src/test/java/org/openapitools/client/model/OrderTest.java | ||
src/test/java/org/openapitools/client/model/PetTest.java | ||
src/test/java/org/openapitools/client/model/TagTest.java | ||
src/test/java/org/openapitools/client/model/UserTest.java |
1 change: 1 addition & 0 deletions
1
samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/.openapi-generator/VERSION
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 @@ | ||
7.10.0-SNAPSHOT |
9 changes: 9 additions & 0 deletions
9
samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/README.md
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,9 @@ | ||
# OpenAPI Petstore - MicroProfile Rest Client & MicroProfile Server | ||
|
||
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. | ||
|
||
## Overview | ||
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. | ||
[MicroProfile Rest Client](https://github.com/eclipse/microprofile-rest-client) is a type-safe way of calling | ||
REST services. The generated client contains an interface which acts as the client, you can inject it into dependent classes. | ||
|
15 changes: 15 additions & 0 deletions
15
samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/docs/Category.md
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,15 @@ | ||
|
||
|
||
# Category | ||
|
||
A category for a pet | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**id** | **Long** | | [optional] | | ||
|**name** | **String** | | [optional] | | ||
|
||
|
||
|
16 changes: 16 additions & 0 deletions
16
...ient/petstore/java/microprofile-rest-client-3.0-mutiny/docs/ModelApiResponse.md
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,16 @@ | ||
|
||
|
||
# ModelApiResponse | ||
|
||
Describes the result of uploading an image resource | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**code** | **Integer** | | [optional] | | ||
|**type** | **String** | | [optional] | | ||
|**message** | **String** | | [optional] | | ||
|
||
|
||
|
29 changes: 29 additions & 0 deletions
29
samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/docs/Order.md
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,29 @@ | ||
|
||
|
||
# Order | ||
|
||
An order for a pets from the pet store | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**id** | **Long** | | [optional] | | ||
|**petId** | **Long** | | [optional] | | ||
|**quantity** | **Integer** | | [optional] | | ||
|**shipDate** | **Date** | | [optional] | | ||
|**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional] | | ||
|**complete** | **Boolean** | | [optional] | | ||
|
||
|
||
|
||
## Enum: StatusEnum | ||
|
||
| Name | Value | | ||
|---- | -----| | ||
| PLACED | "placed" | | ||
| APPROVED | "approved" | | ||
| DELIVERED | "delivered" | | ||
|
||
|
||
|
29 changes: 29 additions & 0 deletions
29
samples/client/petstore/java/microprofile-rest-client-3.0-mutiny/docs/Pet.md
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,29 @@ | ||
|
||
|
||
# Pet | ||
|
||
A pet for sale in the pet store | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**id** | **Long** | | [optional] | | ||
|**category** | [**Category**](Category.md) | | [optional] | | ||
|**name** | **String** | | | | ||
|**photoUrls** | **List<String>** | | | | ||
|**tags** | [**List<Tag>**](Tag.md) | | [optional] | | ||
|**status** | [**StatusEnum**](#StatusEnum) | pet status in the store | [optional] | | ||
|
||
|
||
|
||
## Enum: StatusEnum | ||
|
||
| Name | Value | | ||
|---- | -----| | ||
| AVAILABLE | "available" | | ||
| PENDING | "pending" | | ||
| SOLD | "sold" | | ||
|
||
|
||
|
Oops, something went wrong.