forked from loafle/openapi-generator-original
generate samples and docs
This commit is contained in:
@@ -4,14 +4,14 @@ All URIs are relative to *http://localhost:3000*
|
||||
|
||||
| Method | HTTP request | Description |
|
||||
|------------- | ------------- | -------------|
|
||||
| [**testsPathStringPathStringIntegerPathInteger**](PathApi.md#testsPathStringPathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) |
|
||||
| [**testsPathStringPathStringIntegerPathIntegerWithHttpInfo**](PathApi.md#testsPathStringPathStringIntegerPathIntegerWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) |
|
||||
| [**testsPathStringpathStringIntegerPathInteger**](PathApi.md#testsPathStringpathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) |
|
||||
| [**testsPathStringpathStringIntegerPathIntegerWithHttpInfo**](PathApi.md#testsPathStringpathStringIntegerPathIntegerWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) |
|
||||
|
||||
|
||||
|
||||
## testsPathStringPathStringIntegerPathInteger
|
||||
## testsPathStringpathStringIntegerPathInteger
|
||||
|
||||
> String testsPathStringPathStringIntegerPathInteger(pathString, pathInteger)
|
||||
> String testsPathStringpathStringIntegerPathInteger(pathString, pathInteger)
|
||||
|
||||
Test path parameter(s)
|
||||
|
||||
@@ -36,10 +36,10 @@ public class Example {
|
||||
String pathString = "pathString_example"; // String |
|
||||
Integer pathInteger = 56; // Integer |
|
||||
try {
|
||||
String result = apiInstance.testsPathStringPathStringIntegerPathInteger(pathString, pathInteger);
|
||||
String result = apiInstance.testsPathStringpathStringIntegerPathInteger(pathString, pathInteger);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathInteger");
|
||||
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathInteger");
|
||||
System.err.println("Status code: " + e.getCode());
|
||||
System.err.println("Reason: " + e.getResponseBody());
|
||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||
@@ -76,9 +76,9 @@ No authorization required
|
||||
|-------------|-------------|------------------|
|
||||
| **200** | Successful operation | - |
|
||||
|
||||
## testsPathStringPathStringIntegerPathIntegerWithHttpInfo
|
||||
## testsPathStringpathStringIntegerPathIntegerWithHttpInfo
|
||||
|
||||
> ApiResponse<String> testsPathStringPathStringIntegerPathInteger testsPathStringPathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger)
|
||||
> ApiResponse<String> testsPathStringpathStringIntegerPathInteger testsPathStringpathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger)
|
||||
|
||||
Test path parameter(s)
|
||||
|
||||
@@ -104,12 +104,12 @@ public class Example {
|
||||
String pathString = "pathString_example"; // String |
|
||||
Integer pathInteger = 56; // Integer |
|
||||
try {
|
||||
ApiResponse<String> response = apiInstance.testsPathStringPathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger);
|
||||
ApiResponse<String> response = apiInstance.testsPathStringpathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger);
|
||||
System.out.println("Status code: " + response.getStatusCode());
|
||||
System.out.println("Response headers: " + response.getHeaders());
|
||||
System.out.println("Response body: " + response.getData());
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathInteger");
|
||||
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathInteger");
|
||||
System.err.println("Status code: " + e.getCode());
|
||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||
System.err.println("Reason: " + e.getResponseBody());
|
||||
|
||||
Reference in New Issue
Block a user