2022-12-08 00:30:07 +08:00
# PathApi
All URIs are relative to * http://localhost:3000 *
| Method | HTTP request | Description |
|------------- | ------------- | -------------|
2023-10-10 11:10:30 +02:00
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath** ](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath ) | **GET ** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo** ](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo ) | **GET ** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
2022-12-08 00:30:07 +08:00
2023-10-10 11:10:30 +02:00
## testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
2022-12-08 00:30:07 +08:00
2023-10-10 11:10:30 +02:00
> String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
2022-12-08 00:30:07 +08:00
Test path parameter(s)
Test path parameter(s)
### Example
``` java
// Import classes:
import org.openapitools.client.ApiClient ;
import org.openapitools.client.ApiException ;
import org.openapitools.client.Configuration ;
import org.openapitools.client.models.* ;
import org.openapitools.client.api.PathApi ;
public class Example {
public static void main ( String [ ] args ) {
ApiClient defaultClient = Configuration . getDefaultApiClient ( ) ;
defaultClient . setBasePath ( " http://localhost:3000 " ) ;
PathApi apiInstance = new PathApi ( defaultClient ) ;
String pathString = " pathString_example " ; // String |
Integer pathInteger = 56 ; // Integer |
2023-10-10 11:10:30 +02:00
String enumNonrefStringPath = " success " ; // String |
StringEnumRef enumRefStringPath = StringEnumRef . fromValue ( " success " ) ; // StringEnumRef |
2022-12-08 00:30:07 +08:00
try {
2023-10-10 11:10:30 +02:00
String result = apiInstance . testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath ( pathString , pathInteger , enumNonrefStringPath , enumRefStringPath ) ;
2022-12-08 00:30:07 +08:00
System . out . println ( result ) ;
} catch ( ApiException e ) {
2023-10-10 11:10:30 +02:00
System . err . println ( " Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath " ) ;
2022-12-08 00:30:07 +08:00
System . err . println ( " Status code: " + e . getCode ( ) ) ;
System . err . println ( " Reason: " + e . getResponseBody ( ) ) ;
System . err . println ( " Response headers: " + e . getResponseHeaders ( ) ) ;
e . printStackTrace ( ) ;
}
}
}
```
### Parameters
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **pathString ** | **String ** | | |
| **pathInteger ** | **Integer ** | | |
2023-10-10 11:10:30 +02:00
| **enumNonrefStringPath ** | **String ** | | [enum: success, failure, unclassified] |
| **enumRefStringPath ** | [**StringEnumRef** ](.md )| | [enum: success, failure, unclassified] |
2022-12-08 00:30:07 +08:00
### Return type
**String **
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200 ** | Successful operation | - |
2023-10-10 11:10:30 +02:00
## testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo
2022-12-08 00:30:07 +08:00
2023-10-10 11:10:30 +02:00
> ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
2022-12-08 00:30:07 +08:00
Test path parameter(s)
Test path parameter(s)
### Example
``` java
// Import classes:
import org.openapitools.client.ApiClient ;
import org.openapitools.client.ApiException ;
import org.openapitools.client.ApiResponse ;
import org.openapitools.client.Configuration ;
import org.openapitools.client.models.* ;
import org.openapitools.client.api.PathApi ;
public class Example {
public static void main ( String [ ] args ) {
ApiClient defaultClient = Configuration . getDefaultApiClient ( ) ;
defaultClient . setBasePath ( " http://localhost:3000 " ) ;
PathApi apiInstance = new PathApi ( defaultClient ) ;
String pathString = " pathString_example " ; // String |
Integer pathInteger = 56 ; // Integer |
2023-10-10 11:10:30 +02:00
String enumNonrefStringPath = " success " ; // String |
StringEnumRef enumRefStringPath = StringEnumRef . fromValue ( " success " ) ; // StringEnumRef |
2022-12-08 00:30:07 +08:00
try {
2023-10-10 11:10:30 +02:00
ApiResponse < String > response = apiInstance . testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo ( pathString , pathInteger , enumNonrefStringPath , enumRefStringPath ) ;
2022-12-08 00:30:07 +08:00
System . out . println ( " Status code: " + response . getStatusCode ( ) ) ;
System . out . println ( " Response headers: " + response . getHeaders ( ) ) ;
System . out . println ( " Response body: " + response . getData ( ) ) ;
} catch ( ApiException e ) {
2023-10-10 11:10:30 +02:00
System . err . println ( " Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath " ) ;
2022-12-08 00:30:07 +08:00
System . err . println ( " Status code: " + e . getCode ( ) ) ;
System . err . println ( " Response headers: " + e . getResponseHeaders ( ) ) ;
System . err . println ( " Reason: " + e . getResponseBody ( ) ) ;
e . printStackTrace ( ) ;
}
}
}
```
### Parameters
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **pathString ** | **String ** | | |
| **pathInteger ** | **Integer ** | | |
2023-10-10 11:10:30 +02:00
| **enumNonrefStringPath ** | **String ** | | [enum: success, failure, unclassified] |
| **enumRefStringPath ** | [**StringEnumRef** ](.md )| | [enum: success, failure, unclassified] |
2022-12-08 00:30:07 +08:00
### Return type
ApiResponse<**String**>
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200 ** | Successful operation | - |