update samples

This commit is contained in:
William Cheng 2020-12-10 19:09:27 +08:00
parent a93a60b6eb
commit d20d9447a8
20 changed files with 43 additions and 51 deletions

View File

@ -7,13 +7,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**mapString** | **Map<String, String>** | | [optional]
**mapNumber** | [**Map<String, BigDecimal>**](BigDecimal.md) | | [optional]
**mapNumber** | **Map<String, BigDecimal>** | | [optional]
**mapInteger** | **Map<String, Integer>** | | [optional]
**mapBoolean** | **Map<String, Boolean>** | | [optional]
**mapArrayInteger** | [**Map<String, List<Integer>>**](List.md) | | [optional]
**mapArrayAnytype** | [**Map<String, List<Object>>**](List.md) | | [optional]
**mapMapString** | [**Map<String, Map<String, String>>**](Map.md) | | [optional]
**mapMapAnytype** | [**Map<String, Map<String, Object>>**](Map.md) | | [optional]
**mapArrayInteger** | **Map<String, List<Integer>>** | | [optional]
**mapArrayAnytype** | **Map<String, List<Object>>** | | [optional]
**mapMapString** | **Map<String, Map<String, String>>** | | [optional]
**mapMapAnytype** | **Map<String, Map<String, Object>>** | | [optional]
**anytype1** | **Object** | | [optional]
**anytype2** | **Object** | | [optional]
**anytype3** | **Object** | | [optional]

View File

@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**arrayArrayNumber** | [**List<List<BigDecimal>>**](List.md) | | [optional]
**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional]

View File

@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**arrayNumber** | [**List<BigDecimal>**](BigDecimal.md) | | [optional]
**arrayNumber** | **List<BigDecimal>** | | [optional]

View File

@ -7,8 +7,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**arrayOfString** | **List<String>** | | [optional]
**arrayArrayOfInteger** | [**List<List<Long>>**](List.md) | | [optional]
**arrayArrayOfModel** | [**List<List<ReadOnlyFirst>>**](List.md) | | [optional]
**arrayArrayOfInteger** | **List<List<Long>>** | | [optional]
**arrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional]

View File

@ -10,7 +10,7 @@ Name | Type | Description | Notes
**enumStringRequired** | [**EnumStringRequiredEnum**](#EnumStringRequiredEnum) | |
**enumInteger** | [**EnumIntegerEnum**](#EnumIntegerEnum) | | [optional]
**enumNumber** | [**EnumNumberEnum**](#EnumNumberEnum) | | [optional]
**outerEnum** | [**OuterEnum**](OuterEnum.md) | | [optional]
**outerEnum** | **OuterEnum** | | [optional]

View File

@ -228,7 +228,7 @@ public class Example {
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
FakeApi apiInstance = new FakeApi(defaultClient);
BigDecimal body = new BigDecimal(); // BigDecimal | Input number as post body
BigDecimal body = new BigDecimal(78); // BigDecimal | Input number as post body
try {
BigDecimal result = apiInstance.fakeOuterNumberSerialize(body);
System.out.println(result);
@ -542,7 +542,7 @@ public class Example {
http_basic_test.setPassword("YOUR PASSWORD");
FakeApi apiInstance = new FakeApi(defaultClient);
BigDecimal number = new BigDecimal(); // BigDecimal | None
BigDecimal number = new BigDecimal(78); // BigDecimal | None
Double _double = 3.4D; // Double | None
String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
byte[] _byte = null; // byte[] | None
@ -553,7 +553,7 @@ public class Example {
String string = "string_example"; // String | None
File binary = new File("/path/to/file"); // File | None
LocalDate date = new LocalDate(); // LocalDate | None
OffsetDateTime dateTime = new OffsetDateTime(); // OffsetDateTime | None
OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
String password = "password_example"; // String | None
String paramCallback = "paramCallback_example"; // String | None
try {

View File

@ -9,17 +9,17 @@ Name | Type | Description | Notes
**integer** | **Integer** | | [optional]
**int32** | **Integer** | | [optional]
**int64** | **Long** | | [optional]
**number** | [**BigDecimal**](BigDecimal.md) | |
**number** | **BigDecimal** | |
**_float** | **Float** | | [optional]
**_double** | **Double** | | [optional]
**string** | **String** | | [optional]
**_byte** | **byte[]** | |
**binary** | [**File**](File.md) | | [optional]
**date** | [**LocalDate**](LocalDate.md) | |
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
**uuid** | [**UUID**](UUID.md) | | [optional]
**binary** | **File** | | [optional]
**date** | **LocalDate** | |
**dateTime** | **OffsetDateTime** | | [optional]
**uuid** | **UUID** | | [optional]
**password** | **String** | |
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
**bigDecimal** | **BigDecimal** | | [optional]

View File

@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**mapMapOfString** | [**Map<String, Map<String, String>>**](Map.md) | | [optional]
**mapMapOfString** | **Map<String, Map<String, String>>** | | [optional]
**mapOfEnumString** | [**Map<String, InnerEnum>**](#Map<String, InnerEnum>) | | [optional]
**directMap** | **Map<String, Boolean>** | | [optional]
**indirectMap** | **Map<String, Boolean>** | | [optional]

View File

@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**uuid** | [**UUID**](UUID.md) | | [optional]
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
**uuid** | **UUID** | | [optional]
**dateTime** | **OffsetDateTime** | | [optional]
**map** | [**Map<String, Animal>**](Animal.md) | | [optional]

View File

@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**justNumber** | [**BigDecimal**](BigDecimal.md) | | [optional]
**justNumber** | **BigDecimal** | | [optional]

View File

@ -9,7 +9,7 @@ Name | Type | Description | Notes
**id** | **Long** | | [optional]
**petId** | **Long** | | [optional]
**quantity** | **Integer** | | [optional]
**shipDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
**shipDate** | **OffsetDateTime** | | [optional]
**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional]
**complete** | **Boolean** | | [optional]

View File

@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**myNumber** | [**BigDecimal**](BigDecimal.md) | | [optional]
**myNumber** | **BigDecimal** | | [optional]
**myString** | **String** | | [optional]
**myBoolean** | **Boolean** | | [optional]

View File

@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**stringItem** | **String** | |
**numberItem** | [**BigDecimal**](BigDecimal.md) | |
**numberItem** | **BigDecimal** | |
**integerItem** | **Integer** | |
**boolItem** | **Boolean** | |
**arrayItem** | **List<Integer>** | |

View File

@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**stringItem** | **String** | |
**numberItem** | [**BigDecimal**](BigDecimal.md) | |
**numberItem** | **BigDecimal** | |
**floatItem** | **Float** | |
**integerItem** | **Integer** | |
**boolItem** | **Boolean** | |

View File

@ -7,30 +7,30 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**attributeString** | **String** | | [optional]
**attributeNumber** | [**BigDecimal**](BigDecimal.md) | | [optional]
**attributeNumber** | **BigDecimal** | | [optional]
**attributeInteger** | **Integer** | | [optional]
**attributeBoolean** | **Boolean** | | [optional]
**wrappedArray** | **List<Integer>** | | [optional]
**nameString** | **String** | | [optional]
**nameNumber** | [**BigDecimal**](BigDecimal.md) | | [optional]
**nameNumber** | **BigDecimal** | | [optional]
**nameInteger** | **Integer** | | [optional]
**nameBoolean** | **Boolean** | | [optional]
**nameArray** | **List<Integer>** | | [optional]
**nameWrappedArray** | **List<Integer>** | | [optional]
**prefixString** | **String** | | [optional]
**prefixNumber** | [**BigDecimal**](BigDecimal.md) | | [optional]
**prefixNumber** | **BigDecimal** | | [optional]
**prefixInteger** | **Integer** | | [optional]
**prefixBoolean** | **Boolean** | | [optional]
**prefixArray** | **List<Integer>** | | [optional]
**prefixWrappedArray** | **List<Integer>** | | [optional]
**namespaceString** | **String** | | [optional]
**namespaceNumber** | [**BigDecimal**](BigDecimal.md) | | [optional]
**namespaceNumber** | **BigDecimal** | | [optional]
**namespaceInteger** | **Integer** | | [optional]
**namespaceBoolean** | **Boolean** | | [optional]
**namespaceArray** | **List<Integer>** | | [optional]
**namespaceWrappedArray** | **List<Integer>** | | [optional]
**prefixNsString** | **String** | | [optional]
**prefixNsNumber** | [**BigDecimal**](BigDecimal.md) | | [optional]
**prefixNsNumber** | **BigDecimal** | | [optional]
**prefixNsInteger** | **Integer** | | [optional]
**prefixNsBoolean** | **Boolean** | | [optional]
**prefixNsArray** | **List<Integer>** | | [optional]

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -82,6 +82,7 @@ esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
@ -129,6 +130,7 @@ fi
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath

View File

@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@ -37,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
if "%ERRORLEVEL%" == "0" goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@ -51,7 +54,7 @@ goto fail
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@ -61,28 +64,14 @@ echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell

View File

@ -2187,4 +2187,5 @@ components:
http_basic_test:
scheme: basic
type: http
x-original-swagger-version: "2.0"