-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update samples for java/jersey2-java6 (and fix artifact ID) #5118
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
# Capitalization | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was added by #4458. |
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**smallCamel** | **String** | | [optional] | ||
**capitalCamel** | **String** | | [optional] | ||
**smallSnake** | **String** | | [optional] | ||
**capitalSnake** | **String** | | [optional] | ||
**scAETHFlowPoints** | **String** | | [optional] | ||
**ATT_NAME** | **String** | Name of the pet | [optional] | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
# ClassModel | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was added by #4237. |
||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**propertyClass** | **String** | | [optional] | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ Method | HTTP request | Description | |
|
||
To test \"client\" model | ||
|
||
To test \"client\" model | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This duplicated line is here because the summary and description is the same. With 9051848 (I don't see a PR for this) the key was fixed from |
||
|
||
### Example | ||
```java | ||
// Import classes: | ||
|
@@ -137,6 +139,8 @@ null (empty response body) | |
|
||
To test enum parameters | ||
|
||
To test enum parameters | ||
|
||
### Example | ||
```java | ||
// Import classes: | ||
|
@@ -151,7 +155,7 @@ List<String> enumHeaderStringArray = Arrays.asList("enumHeaderStringArray_exampl | |
String enumHeaderString = "-efg"; // String | Header parameter enum test (string) | ||
List<String> enumQueryStringArray = Arrays.asList("enumQueryStringArray_example"); // List<String> | Query parameter enum test (string array) | ||
String enumQueryString = "-efg"; // String | Query parameter enum test (string) | ||
BigDecimal enumQueryInteger = new BigDecimal(); // BigDecimal | Query parameter enum test (double) | ||
Integer enumQueryInteger = 56; // Integer | Query parameter enum test (double) | ||
Double enumQueryDouble = 3.4D; // Double | Query parameter enum test (double) | ||
try { | ||
apiInstance.testEnumParameters(enumFormStringArray, enumFormString, enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble); | ||
|
@@ -171,8 +175,8 @@ Name | Type | Description | Notes | |
**enumHeaderString** | **String**| Header parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] | ||
**enumQueryStringArray** | [**List<String>**](String.md)| Query parameter enum test (string array) | [optional] [enum: >, $] | ||
**enumQueryString** | **String**| Query parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] | ||
**enumQueryInteger** | **BigDecimal**| Query parameter enum test (double) | [optional] | ||
**enumQueryDouble** | **Double**| Query parameter enum test (double) | [optional] | ||
**enumQueryInteger** | **Integer**| Query parameter enum test (double) | [optional] [enum: 1, -2] | ||
**enumQueryDouble** | **Double**| Query parameter enum test (double) | [optional] [enum: 1.1, -1.2] | ||
|
||
### Return type | ||
|
||
|
@@ -184,6 +188,6 @@ No authorization required | |
|
||
### HTTP request headers | ||
|
||
- **Content-Type**: application/json | ||
- **Accept**: application/json | ||
- **Content-Type**: */* | ||
- **Accept**: */* | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**uuid** | **String** | | [optional] | ||
**uuid** | [**UUID**](UUID.md) | | [optional] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ePaul there's a discussion about updating (the issue was caused by the change that maps |
||
**dateTime** | [**DateTime**](DateTime.md) | | [optional] | ||
**map** | [**Map<String, Animal>**](Animal.md) | | [optional] | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
# OuterEnum | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
## Enum | ||
|
||
|
||
* `PLACED` (value: `"placed"`) | ||
|
||
* `APPROVED` (value: `"approved"`) | ||
|
||
* `DELIVERED` (value: `"delivered"`) | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From #4197.