forked from loafle/openapi-generator-original
Refactor default and example values in Java generators (#1045)
* fix default, example for java okhttp * update java feign samples * update samples, doc * add new doc for dart-jaguar * update model template * update jaxrs spec model * update resteasy sample * update java samples
This commit is contained in:
@@ -88,8 +88,8 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**petId** | **kotlin.Long**| Pet id to delete |
|
||||
**apiKey** | **kotlin.String**| | [optional]
|
||||
**petId** | **kotlin.Long**| Pet id to delete | [default to null]
|
||||
**apiKey** | **kotlin.String**| | [optional] [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -136,7 +136,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**status** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [enum: available, pending, sold]
|
||||
**status** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Status values that need to be considered for filter | [default to null] [enum: available, pending, sold]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -183,7 +183,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**tags** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Tags to filter by |
|
||||
**tags** | [**kotlin.Array<kotlin.String>**](kotlin.String.md)| Tags to filter by | [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -230,7 +230,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**petId** | **kotlin.Long**| ID of pet to return |
|
||||
**petId** | **kotlin.Long**| ID of pet to return | [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -320,7 +320,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**petId** | **kotlin.Long**| ID of pet that needs to be updated |
|
||||
**petId** | **kotlin.Long**| ID of pet that needs to be updated | [default to null]
|
||||
**name** | **kotlin.String**| Updated name of the pet | [optional] [default to null]
|
||||
**status** | **kotlin.String**| Updated status of the pet | [optional] [default to null]
|
||||
|
||||
@@ -369,7 +369,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**petId** | **kotlin.Long**| ID of pet to update |
|
||||
**petId** | **kotlin.Long**| ID of pet to update | [default to null]
|
||||
**additionalMetadata** | **kotlin.String**| Additional data to pass to server | [optional] [default to null]
|
||||
**file** | **java.io.File**| file to upload | [optional] [default to null]
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**orderId** | **kotlin.String**| ID of the order that needs to be deleted |
|
||||
**orderId** | **kotlin.String**| ID of the order that needs to be deleted | [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -131,7 +131,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**orderId** | **kotlin.Long**| ID of pet that needs to be fetched |
|
||||
**orderId** | **kotlin.Long**| ID of pet that needs to be fetched | [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**username** | **kotlin.String**| The name that needs to be deleted |
|
||||
**username** | **kotlin.String**| The name that needs to be deleted | [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -224,7 +224,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. |
|
||||
**username** | **kotlin.String**| The name that needs to be fetched. Use user1 for testing. | [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -270,8 +270,8 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**username** | **kotlin.String**| The user name for login |
|
||||
**password** | **kotlin.String**| The password for login in clear text |
|
||||
**username** | **kotlin.String**| The user name for login | [default to null]
|
||||
**password** | **kotlin.String**| The password for login in clear text | [default to null]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -358,7 +358,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**username** | **kotlin.String**| name that need to be deleted |
|
||||
**username** | **kotlin.String**| name that need to be deleted | [default to null]
|
||||
**user** | [**User**](User.md)| Updated user object |
|
||||
|
||||
### Return type
|
||||
|
||||
Reference in New Issue
Block a user