All URIs are relative to http://petstore.swagger.io:80/v2
| Method | HTTP request | Description |
|---|---|---|
| fakeBigDecimalMap | GET /fake/BigDecimalMap | |
| fakeHealthGet | GET /fake/health | Health check endpoint |
| fakeHttpSignatureTest | GET /fake/http-signature-test | test http signature authentication |
| fakeOuterBooleanSerialize | POST /fake/outer/boolean | |
| fakeOuterCompositeSerialize | POST /fake/outer/composite | |
| fakeOuterNumberSerialize | POST /fake/outer/number | |
| fakeOuterStringSerialize | POST /fake/outer/string | |
| fakePropertyEnumIntegerSerialize | POST /fake/property/enum-int | |
| testAdditionalPropertiesReference | POST /fake/additionalProperties-reference | test referenced additionalProperties |
| testBodyWithBinary | PUT /fake/body-with-binary | |
| testBodyWithFileSchema | PUT /fake/body-with-file-schema | |
| testBodyWithQueryParams | PUT /fake/body-with-query-params | |
| testClientModel | PATCH /fake | To test "client" model |
| testEndpointParameters | POST /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 |
| testEnumParameters | GET /fake | To test enum parameters |
| testGroupParameters | DELETE /fake | Fake endpoint to test group parameters (optional) |
| testInlineAdditionalProperties | POST /fake/inline-additionalProperties | test inline additionalProperties |
| testInlineFreeformAdditionalProperties | POST /fake/inline-freeform-additionalProperties | test inline free-form additionalProperties |
| testJsonFormData | GET /fake/jsonFormData | test json serialization of form data |
| testNullable | POST /fake/nullable | test nullable parent property |
| testQueryParameterCollectionFormat | PUT /fake/test-query-parameters | |
| testStringMapReference | POST /fake/stringMap-reference | test referenced string map |
FakeBigDecimalMap200Response fakeBigDecimalMap()
for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
HealthCheckResult fakeHealthGet()
Health check endpoint
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | The instance started successfully | - |
void fakeHttpSignatureTest(pet, query1, header1)
test http signature authentication
| Name | Type | Description | Notes |
|---|---|---|---|
| pet | Pet | Pet object that needs to be added to the store | |
| query1 | String | query parameter | [optional] |
| header1 | String | header parameter | [optional] |
- Content-Type: application/json, application/xml
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | The instance started successfully | - |
Boolean fakeOuterBooleanSerialize(body)
Test serialization of outer boolean types
| Name | Type | Description | Notes |
|---|---|---|---|
| body | Boolean | Input boolean as post body | [optional] |
Boolean
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | Output boolean | - |
OuterComposite fakeOuterCompositeSerialize(outerComposite)
Test serialization of object with outer number type
| Name | Type | Description | Notes |
|---|---|---|---|
| outerComposite | OuterComposite | Input composite as post body | [optional] |
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | Output composite | - |
BigDecimal fakeOuterNumberSerialize(body)
Test serialization of outer number types
| Name | Type | Description | Notes |
|---|---|---|---|
| body | BigDecimal | Input number as post body | [optional] |
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | Output number | - |
String fakeOuterStringSerialize(body)
Test serialization of outer string types
| Name | Type | Description | Notes |
|---|---|---|---|
| body | String | Input string as post body | [optional] |
String
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | Output string | - |
OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty)
Test serialization of enum (int) properties with examples
| Name | Type | Description | Notes |
|---|---|---|---|
| outerObjectWithEnumProperty | OuterObjectWithEnumProperty | Input enum (int) as post body |
No authorization required
- Content-Type: application/json
- Accept: /
| Status code | Description | Response headers |
|---|---|---|
| 200 | Output enum (int) | - |
void testAdditionalPropertiesReference(requestBody)
test referenced additionalProperties
| Name | Type | Description | Notes |
|---|---|---|---|
| requestBody | Map<String, Object> | request body |
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
void testBodyWithBinary(body)
For this test, the body has to be a binary file.
| Name | Type | Description | Notes |
|---|---|---|---|
| body | File | image to upload |
No authorization required
- Content-Type: image/png
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
void testBodyWithFileSchema(fileSchemaTestClass)
For this test, the body for this request must reference a schema named `File`.
| Name | Type | Description | Notes |
|---|---|---|---|
| fileSchemaTestClass | FileSchemaTestClass |
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
void testBodyWithQueryParams(query, user)
| Name | Type | Description | Notes |
|---|---|---|---|
| query | String | ||
| user | User |
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
Client testClientModel(client)
To test "client" model
To test "client" model
| Name | Type | Description | Notes |
|---|---|---|---|
| client | Client | client model |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
void testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback)
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
| Name | Type | Description | Notes |
|---|---|---|---|
| number | BigDecimal | None | |
| _double | Double | None | |
| patternWithoutDelimiter | String | None | |
| _byte | byte[] | None | |
| integer | Integer | None | [optional] |
| int32 | Integer | None | [optional] |
| int64 | Long | None | [optional] |
| _float | Float | None | [optional] |
| string | String | None | [optional] |
| binary | File | None | [optional] |
| date | LocalDate | None | [optional] |
| dateTime | OffsetDateTime | None | [optional] |
| password | String | None | [optional] |
| paramCallback | String | None | [optional] |
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 400 | Invalid username supplied | - |
| 404 | User not found | - |
void testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, enumFormInteger, enumFormDouble)
To test enum parameters
To test enum parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| enumHeaderStringArray | List<String> | Header parameter enum test (string array) | [optional] [enum: >, $] |
| enumHeaderString | String | Header parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] |
| enumQueryStringArray | List<String> | Query parameter enum test (string array) | [optional] [enum: >, $] |
| enumQueryString | String | Query parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] |
| enumQueryInteger | Integer | Query parameter enum test (double) | [optional] [enum: 1, -2] |
| enumQueryDouble | Double | Query parameter enum test (double) | [optional] [enum: 1.1, -1.2] |
| enumQueryModelArray | List<EnumClass> | [optional] | |
| enumFormStringArray | List<String> | Form parameter enum test (string array) | [optional] [enum: >, $] |
| enumFormString | String | Form parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] |
| enumFormInteger | Integer | Form parameter enum test (integer) | [optional] [default to 1] [enum: 1, -1, 0] |
| enumFormDouble | BigDecimal | Form parameter enum test (double) | [optional] [default to 1.1] [enum: 1.1, -1.1, 0.1, 0.0] |
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 400 | Invalid request | - |
| 404 | Not found | - |
void testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group)
Fake endpoint to test group parameters (optional)
Fake endpoint to test group parameters (optional)
| Name | Type | Description | Notes |
|---|---|---|---|
| requiredStringGroup | Integer | Required String in group parameters | |
| requiredBooleanGroup | Boolean | Required Boolean in group parameters | |
| requiredInt64Group | Long | Required Integer in group parameters | |
| stringGroup | Integer | String in group parameters | [optional] |
| booleanGroup | Boolean | Boolean in group parameters | [optional] |
| int64Group | Long | Integer in group parameters | [optional] |
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 400 | Something wrong | - |
void testInlineAdditionalProperties(requestBody)
test inline additionalProperties
| Name | Type | Description | Notes |
|---|---|---|---|
| requestBody | Map<String, String> | request body |
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
void testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest)
test inline free-form additionalProperties
| Name | Type | Description | Notes |
|---|---|---|---|
| testInlineFreeformAdditionalPropertiesRequest | TestInlineFreeformAdditionalPropertiesRequest | request body |
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
void testJsonFormData(param, param2)
test json serialization of form data
| Name | Type | Description | Notes |
|---|---|---|---|
| param | String | field1 | |
| param2 | String | field2 |
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
void testNullable(childWithNullable)
test nullable parent property
| Name | Type | Description | Notes |
|---|---|---|---|
| childWithNullable | ChildWithNullable | request body |
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
void testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language)
To test the collection format in query parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pipe | List<String> | ||
| ioutil | List<String> | ||
| http | List<String> | ||
| url | List<String> | ||
| context | List<String> | ||
| allowEmpty | String | ||
| language | Map<String, String> | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
void testStringMapReference(requestBody)
test referenced string map
| Name | Type | Description | Notes |
|---|---|---|---|
| requestBody | Map<String, String> | request body |
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |