forked from loafle/openapi-generator-original
Merge branch 'improve-camlization-in-default-codegen' of https://github.com/timcbaoth/openapi-generator into timcbaoth-improve-camlization-in-default-codegen
This commit is contained in:
commit
5a988d719f
@ -6181,7 +6181,13 @@ public class DefaultCodegen implements CodegenConfig {
|
|||||||
* @return camelized string
|
* @return camelized string
|
||||||
*/
|
*/
|
||||||
protected String removeNonNameElementToCamelCase(final String name, final String nonNameElementPattern) {
|
protected String removeNonNameElementToCamelCase(final String name, final String nonNameElementPattern) {
|
||||||
String result = Arrays.stream(name.split(nonNameElementPattern))
|
String[] splitString = name.split(nonNameElementPattern);
|
||||||
|
|
||||||
|
if (splitString.length > 0) {
|
||||||
|
splitString[0] = camelize(splitString[0], CamelizeOption.LOWERCASE_FIRST_CHAR);
|
||||||
|
}
|
||||||
|
|
||||||
|
String result = Arrays.stream(splitString)
|
||||||
.map(StringUtils::capitalize)
|
.map(StringUtils::capitalize)
|
||||||
.collect(Collectors.joining(""));
|
.collect(Collectors.joining(""));
|
||||||
if (result.length() > 0) {
|
if (result.length() > 0) {
|
||||||
|
@ -117,6 +117,7 @@ public class StringUtils {
|
|||||||
|
|
||||||
private static Pattern camelizeSlashPattern = Pattern.compile("\\/(.?)");
|
private static Pattern camelizeSlashPattern = Pattern.compile("\\/(.?)");
|
||||||
private static Pattern camelizeUppercasePattern = Pattern.compile("(\\.?)(\\w)([^\\.]*)$");
|
private static Pattern camelizeUppercasePattern = Pattern.compile("(\\.?)(\\w)([^\\.]*)$");
|
||||||
|
private static Pattern camelizeUppercaseStartPattern = Pattern.compile("^([A-Z]+)(([A-Z][a-z].*)|([^a-zA-Z].*)|$)$");
|
||||||
private static Pattern camelizeUnderscorePattern = Pattern.compile("(_)(.)");
|
private static Pattern camelizeUnderscorePattern = Pattern.compile("(_)(.)");
|
||||||
private static Pattern camelizeHyphenPattern = Pattern.compile("(-)(.)");
|
private static Pattern camelizeHyphenPattern = Pattern.compile("(-)(.)");
|
||||||
private static Pattern camelizeDollarPattern = Pattern.compile("\\$");
|
private static Pattern camelizeDollarPattern = Pattern.compile("\\$");
|
||||||
@ -135,8 +136,15 @@ public class StringUtils {
|
|||||||
return camelizedWordsCache.get(key, pair -> {
|
return camelizedWordsCache.get(key, pair -> {
|
||||||
String word = pair.getKey();
|
String word = pair.getKey();
|
||||||
CamelizeOption option = pair.getValue();
|
CamelizeOption option = pair.getValue();
|
||||||
|
|
||||||
|
// Lowercase acronyms at start of word if not UPPERCASE_FIRST_CHAR
|
||||||
|
Matcher m = camelizeUppercaseStartPattern.matcher(word);
|
||||||
|
if (camelizeOption != UPPERCASE_FIRST_CHAR && m.find()) {
|
||||||
|
word = m.group(1).toLowerCase(Locale.ROOT) + m.group(2);
|
||||||
|
}
|
||||||
|
|
||||||
// Replace all slashes with dots (package separator)
|
// Replace all slashes with dots (package separator)
|
||||||
Matcher m = camelizeSlashPattern.matcher(word);
|
m = camelizeSlashPattern.matcher(word);
|
||||||
while (m.find()) {
|
while (m.find()) {
|
||||||
word = m.replaceFirst("." + m.group(1).replace("\\", "\\\\")/*.toUpperCase()*/);
|
word = m.replaceFirst("." + m.group(1).replace("\\", "\\\\")/*.toUpperCase()*/);
|
||||||
m = camelizeSlashPattern.matcher(word);
|
m = camelizeSlashPattern.matcher(word);
|
||||||
|
@ -4913,4 +4913,16 @@ public class DefaultCodegenTest {
|
|||||||
Assert.assertEquals(co.operationId, "newPetGet");
|
Assert.assertEquals(co.operationId, "newPetGet");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testRemoveNonNameElementToCamelCase() {
|
||||||
|
final DefaultCodegen codegen = new DefaultCodegen();
|
||||||
|
|
||||||
|
final String alreadyCamelCase = "aVATRate";
|
||||||
|
Assert.assertEquals(codegen.removeNonNameElementToCamelCase(alreadyCamelCase), alreadyCamelCase);
|
||||||
|
|
||||||
|
final String startWithCapitals = "VATRate";
|
||||||
|
Assert.assertEquals(codegen.removeNonNameElementToCamelCase(startWithCapitals), "vatRate");
|
||||||
|
|
||||||
|
final String startWithCapitalsThenNonNameElement = "DELETE_Invoice";
|
||||||
|
Assert.assertEquals(codegen.removeNonNameElementToCamelCase(startWithCapitalsThenNonNameElement), "deleteInvoice");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -170,8 +170,8 @@ public class CSharpModelEnumTest {
|
|||||||
{ "foo-bar", "fooBar", camelCase },
|
{ "foo-bar", "fooBar", camelCase },
|
||||||
{ "foo_bar", "fooBar", camelCase },
|
{ "foo_bar", "fooBar", camelCase },
|
||||||
{ "foo bar", "fooBar", camelCase },
|
{ "foo bar", "fooBar", camelCase },
|
||||||
{ "FOO-BAR", "fOOBAR", camelCase }, // camelize doesn't support uppercase
|
// { "FOO-BAR", "fOOBAR", camelCase }, // camelize doesn't support uppercase
|
||||||
{ "FOO_BAR", "fOOBAR", camelCase }, // ditto
|
// { "FOO_BAR", "fOOBAR", camelCase }, // ditto
|
||||||
{ "FooBar", "FooBar", PascalCase },
|
{ "FooBar", "FooBar", PascalCase },
|
||||||
{ "fooBar", "FooBar", PascalCase },
|
{ "fooBar", "FooBar", PascalCase },
|
||||||
{ "foo-bar", "FooBar", PascalCase },
|
{ "foo-bar", "FooBar", PascalCase },
|
||||||
|
@ -282,6 +282,7 @@ public class AbstractKotlinCodegenTest {
|
|||||||
CodegenProperty cp1 = cm1.vars.get(0);
|
CodegenProperty cp1 = cm1.vars.get(0);
|
||||||
Assert.assertEquals(cp1.getEnumName(), "PropertyName");
|
Assert.assertEquals(cp1.getEnumName(), "PropertyName");
|
||||||
Assert.assertEquals(cp1.getDefaultValue(), "PropertyName.VALUE");
|
Assert.assertEquals(cp1.getDefaultValue(), "PropertyName.VALUE");
|
||||||
|
//Assert.assertEquals(cp1.getDefaultValue(), "PropertyName.`value`");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(description = "Issue #3804")
|
@Test(description = "Issue #3804")
|
||||||
|
@ -35,6 +35,14 @@ public class StringUtilsTest {
|
|||||||
|
|
||||||
Assert.assertEquals(camelize("some-value", LOWERCASE_FIRST_CHAR), "someValue");
|
Assert.assertEquals(camelize("some-value", LOWERCASE_FIRST_CHAR), "someValue");
|
||||||
Assert.assertEquals(camelize("$type", LOWERCASE_FIRST_CHAR), "$Type");
|
Assert.assertEquals(camelize("$type", LOWERCASE_FIRST_CHAR), "$Type");
|
||||||
|
|
||||||
|
Assert.assertEquals(camelize("aVATRate", LOWERCASE_FIRST_CHAR), "aVATRate");
|
||||||
|
Assert.assertEquals(camelize("VATRate", LOWERCASE_FIRST_CHAR), "vatRate");
|
||||||
|
Assert.assertEquals(camelize("DELETE_Invoice", LOWERCASE_FIRST_CHAR), "deleteInvoice");
|
||||||
|
|
||||||
|
Assert.assertEquals(camelize("aVATRate"), "AVATRate");
|
||||||
|
Assert.assertEquals(camelize("VATRate"), "VATRate");
|
||||||
|
Assert.assertEquals(camelize("DELETE_Invoice"), "DELETEInvoice");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -133,7 +133,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**TestFormObjectMultipart**](docs/FormApi.md#testformobjectmultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**TestFormObjectMultipart**](docs/FormApi.md#testformobjectmultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**TestFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**TestFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**TestEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**TestEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**TestQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**TestQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**TestQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**TestQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,11 +4,11 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
|--------|--------------|-------------|
|
|--------|--------------|-------------|
|
||||||
| [**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
<a id="testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath"></a>
|
<a id="testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath"></a>
|
||||||
# **TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
# **TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
||||||
> string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath (string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath)
|
> string TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath (string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ using Org.OpenAPITools.Model;
|
|||||||
|
|
||||||
namespace Example
|
namespace Example
|
||||||
{
|
{
|
||||||
public class TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExample
|
public class TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExample
|
||||||
{
|
{
|
||||||
public static void Main()
|
public static void Main()
|
||||||
{
|
{
|
||||||
@ -39,12 +39,12 @@ namespace Example
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Test path parameter(s)
|
// Test path parameter(s)
|
||||||
string result = apiInstance.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
string result = apiInstance.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
Debug.WriteLine(result);
|
Debug.WriteLine(result);
|
||||||
}
|
}
|
||||||
catch (ApiException e)
|
catch (ApiException e)
|
||||||
{
|
{
|
||||||
Debug.Print("Exception when calling PathApi.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: " + e.Message);
|
Debug.Print("Exception when calling PathApi.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: " + e.Message);
|
||||||
Debug.Print("Status Code: " + e.ErrorCode);
|
Debug.Print("Status Code: " + e.ErrorCode);
|
||||||
Debug.Print(e.StackTrace);
|
Debug.Print(e.StackTrace);
|
||||||
}
|
}
|
||||||
@ -53,21 +53,21 @@ namespace Example
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Using the TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo variant
|
#### Using the TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo variant
|
||||||
This returns an ApiResponse object which contains the response data, status code and headers.
|
This returns an ApiResponse object which contains the response data, status code and headers.
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Test path parameter(s)
|
// Test path parameter(s)
|
||||||
ApiResponse<string> response = apiInstance.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
ApiResponse<string> response = apiInstance.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
Debug.Write("Status Code: " + response.StatusCode);
|
Debug.Write("Status Code: " + response.StatusCode);
|
||||||
Debug.Write("Response Headers: " + response.Headers);
|
Debug.Write("Response Headers: " + response.Headers);
|
||||||
Debug.Write("Response Body: " + response.Data);
|
Debug.Write("Response Body: " + response.Data);
|
||||||
}
|
}
|
||||||
catch (ApiException e)
|
catch (ApiException e)
|
||||||
{
|
{
|
||||||
Debug.Print("Exception when calling PathApi.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo: " + e.Message);
|
Debug.Print("Exception when calling PathApi.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo: " + e.Message);
|
||||||
Debug.Print("Status Code: " + e.ErrorCode);
|
Debug.Print("Status Code: " + e.ErrorCode);
|
||||||
Debug.Print(e.StackTrace);
|
Debug.Print(e.StackTrace);
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="enumRefStringPath"></param>
|
/// <param name="enumRefStringPath"></param>
|
||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <returns>string</returns>
|
/// <returns>string</returns>
|
||||||
string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
|
string TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test path parameter(s)
|
/// Test path parameter(s)
|
||||||
@ -55,7 +55,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="enumRefStringPath"></param>
|
/// <param name="enumRefStringPath"></param>
|
||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <returns>ApiResponse of string</returns>
|
/// <returns>ApiResponse of string</returns>
|
||||||
ApiResponse<string> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
|
ApiResponse<string> TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0);
|
||||||
#endregion Synchronous Operations
|
#endregion Synchronous Operations
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
||||||
/// <returns>Task of string</returns>
|
/// <returns>Task of string</returns>
|
||||||
System.Threading.Tasks.Task<string> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
|
System.Threading.Tasks.Task<string> TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test path parameter(s)
|
/// Test path parameter(s)
|
||||||
@ -95,7 +95,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
||||||
/// <returns>Task of ApiResponse (string)</returns>
|
/// <returns>Task of ApiResponse (string)</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<string>> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
|
System.Threading.Tasks.Task<ApiResponse<string>> TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
|
||||||
#endregion Asynchronous Operations
|
#endregion Asynchronous Operations
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -226,9 +226,9 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="enumRefStringPath"></param>
|
/// <param name="enumRefStringPath"></param>
|
||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <returns>string</returns>
|
/// <returns>string</returns>
|
||||||
public string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
|
public string TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
|
||||||
{
|
{
|
||||||
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
return localVarResponse.Data;
|
return localVarResponse.Data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -242,18 +242,18 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="enumRefStringPath"></param>
|
/// <param name="enumRefStringPath"></param>
|
||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <returns>ApiResponse of string</returns>
|
/// <returns>ApiResponse of string</returns>
|
||||||
public Org.OpenAPITools.Client.ApiResponse<string> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
|
public Org.OpenAPITools.Client.ApiResponse<string> TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0)
|
||||||
{
|
{
|
||||||
// verify the required parameter 'pathString' is set
|
// verify the required parameter 'pathString' is set
|
||||||
if (pathString == null)
|
if (pathString == null)
|
||||||
{
|
{
|
||||||
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathString' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathString' when calling PathApi->TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumNonrefStringPath' is set
|
// verify the required parameter 'enumNonrefStringPath' is set
|
||||||
if (enumNonrefStringPath == null)
|
if (enumNonrefStringPath == null)
|
||||||
{
|
{
|
||||||
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'enumNonrefStringPath' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'enumNonrefStringPath' when calling PathApi->TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
|
Org.OpenAPITools.Client.RequestOptions localVarRequestOptions = new Org.OpenAPITools.Client.RequestOptions();
|
||||||
@ -283,7 +283,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
localVarRequestOptions.PathParameters.Add("enum_nonref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumNonrefStringPath)); // path parameter
|
localVarRequestOptions.PathParameters.Add("enum_nonref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumNonrefStringPath)); // path parameter
|
||||||
localVarRequestOptions.PathParameters.Add("enum_ref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumRefStringPath)); // path parameter
|
localVarRequestOptions.PathParameters.Add("enum_ref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumRefStringPath)); // path parameter
|
||||||
|
|
||||||
localVarRequestOptions.Operation = "PathApi.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath";
|
localVarRequestOptions.Operation = "PathApi.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath";
|
||||||
localVarRequestOptions.OperationIndex = operationIndex;
|
localVarRequestOptions.OperationIndex = operationIndex;
|
||||||
|
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
var localVarResponse = this.Client.Get<string>("/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}", localVarRequestOptions, this.Configuration);
|
var localVarResponse = this.Client.Get<string>("/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}", localVarRequestOptions, this.Configuration);
|
||||||
if (this.ExceptionFactory != null)
|
if (this.ExceptionFactory != null)
|
||||||
{
|
{
|
||||||
Exception _exception = this.ExceptionFactory("TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", localVarResponse);
|
Exception _exception = this.ExceptionFactory("TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", localVarResponse);
|
||||||
if (_exception != null)
|
if (_exception != null)
|
||||||
{
|
{
|
||||||
throw _exception;
|
throw _exception;
|
||||||
@ -312,9 +312,9 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
||||||
/// <returns>Task of string</returns>
|
/// <returns>Task of string</returns>
|
||||||
public async System.Threading.Tasks.Task<string> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
|
public async System.Threading.Tasks.Task<string> TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
|
||||||
{
|
{
|
||||||
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, operationIndex, cancellationToken).ConfigureAwait(false);
|
Org.OpenAPITools.Client.ApiResponse<string> localVarResponse = await TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, operationIndex, cancellationToken).ConfigureAwait(false);
|
||||||
return localVarResponse.Data;
|
return localVarResponse.Data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -329,18 +329,18 @@ namespace Org.OpenAPITools.Api
|
|||||||
/// <param name="operationIndex">Index associated with the operation.</param>
|
/// <param name="operationIndex">Index associated with the operation.</param>
|
||||||
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
|
||||||
/// <returns>Task of ApiResponse (string)</returns>
|
/// <returns>Task of ApiResponse (string)</returns>
|
||||||
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
|
public async System.Threading.Tasks.Task<Org.OpenAPITools.Client.ApiResponse<string>> TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfoAsync(string pathString, int pathInteger, string enumNonrefStringPath, StringEnumRef enumRefStringPath, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
|
||||||
{
|
{
|
||||||
// verify the required parameter 'pathString' is set
|
// verify the required parameter 'pathString' is set
|
||||||
if (pathString == null)
|
if (pathString == null)
|
||||||
{
|
{
|
||||||
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathString' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'pathString' when calling PathApi->TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumNonrefStringPath' is set
|
// verify the required parameter 'enumNonrefStringPath' is set
|
||||||
if (enumNonrefStringPath == null)
|
if (enumNonrefStringPath == null)
|
||||||
{
|
{
|
||||||
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'enumNonrefStringPath' when calling PathApi->TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new Org.OpenAPITools.Client.ApiException(400, "Missing required parameter 'enumNonrefStringPath' when calling PathApi->TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -371,7 +371,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
localVarRequestOptions.PathParameters.Add("enum_nonref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumNonrefStringPath)); // path parameter
|
localVarRequestOptions.PathParameters.Add("enum_nonref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumNonrefStringPath)); // path parameter
|
||||||
localVarRequestOptions.PathParameters.Add("enum_ref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumRefStringPath)); // path parameter
|
localVarRequestOptions.PathParameters.Add("enum_ref_string_path", Org.OpenAPITools.Client.ClientUtils.ParameterToString(enumRefStringPath)); // path parameter
|
||||||
|
|
||||||
localVarRequestOptions.Operation = "PathApi.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath";
|
localVarRequestOptions.Operation = "PathApi.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath";
|
||||||
localVarRequestOptions.OperationIndex = operationIndex;
|
localVarRequestOptions.OperationIndex = operationIndex;
|
||||||
|
|
||||||
|
|
||||||
@ -380,7 +380,7 @@ namespace Org.OpenAPITools.Api
|
|||||||
|
|
||||||
if (this.ExceptionFactory != null)
|
if (this.ExceptionFactory != null)
|
||||||
{
|
{
|
||||||
Exception _exception = this.ExceptionFactory("TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", localVarResponse);
|
Exception _exception = this.ExceptionFactory("TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", localVarResponse);
|
||||||
if (_exception != null)
|
if (_exception != null)
|
||||||
{
|
{
|
||||||
throw _exception;
|
throw _exception;
|
||||||
|
@ -92,7 +92,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormAPI* | [**TestFormIntegerBooleanString**](docs/FormAPI.md#testformintegerbooleanstring) | **Post** /form/integer/boolean/string | Test form parameter(s)
|
*FormAPI* | [**TestFormIntegerBooleanString**](docs/FormAPI.md#testformintegerbooleanstring) | **Post** /form/integer/boolean/string | Test form parameter(s)
|
||||||
*FormAPI* | [**TestFormOneof**](docs/FormAPI.md#testformoneof) | **Post** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormAPI* | [**TestFormOneof**](docs/FormAPI.md#testformoneof) | **Post** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderAPI* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderAPI.md#testheaderintegerbooleanstringenums) | **Get** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderAPI* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderAPI.md#testheaderintegerbooleanstringenums) | **Get** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathAPI* | [**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathAPI.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathAPI* | [**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathAPI.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryAPI* | [**TestEnumRefString**](docs/QueryAPI.md#testenumrefstring) | **Get** /query/enum_ref_string | Test query parameter(s)
|
*QueryAPI* | [**TestEnumRefString**](docs/QueryAPI.md#testenumrefstring) | **Get** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryAPI* | [**TestQueryDatetimeDateString**](docs/QueryAPI.md#testquerydatetimedatestring) | **Get** /query/datetime/date/string | Test query parameter(s)
|
*QueryAPI* | [**TestQueryDatetimeDateString**](docs/QueryAPI.md#testquerydatetimedatestring) | **Get** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryAPI* | [**TestQueryIntegerBooleanString**](docs/QueryAPI.md#testqueryintegerbooleanstring) | **Get** /query/integer/boolean/string | Test query parameter(s)
|
*QueryAPI* | [**TestQueryIntegerBooleanString**](docs/QueryAPI.md#testqueryintegerbooleanstring) | **Get** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
// PathAPIService PathAPI service
|
// PathAPIService PathAPI service
|
||||||
type PathAPIService service
|
type PathAPIService service
|
||||||
|
|
||||||
type ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct {
|
type ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *PathAPIService
|
ApiService *PathAPIService
|
||||||
pathString string
|
pathString string
|
||||||
@ -33,12 +33,12 @@ type ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefSt
|
|||||||
enumRefStringPath StringEnumRef
|
enumRefStringPath StringEnumRef
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) Execute() (string, *http.Response, error) {
|
func (r ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) Execute() (string, *http.Response, error) {
|
||||||
return r.ApiService.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r)
|
return r.ApiService.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath Test path parameter(s)
|
TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath Test path parameter(s)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -47,10 +47,10 @@ Test path parameter(s)
|
|||||||
@param pathInteger
|
@param pathInteger
|
||||||
@param enumNonrefStringPath
|
@param enumNonrefStringPath
|
||||||
@param enumRefStringPath
|
@param enumRefStringPath
|
||||||
@return ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest
|
@return ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest
|
||||||
*/
|
*/
|
||||||
func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx context.Context, pathString string, pathInteger int32, enumNonrefStringPath string, enumRefStringPath StringEnumRef) ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest {
|
func (a *PathAPIService) TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx context.Context, pathString string, pathInteger int32, enumNonrefStringPath string, enumRefStringPath StringEnumRef) ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest {
|
||||||
return ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest{
|
return ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
pathString: pathString,
|
pathString: pathString,
|
||||||
@ -62,7 +62,7 @@ func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefSt
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) (string, *http.Response, error) {
|
func (a *PathAPIService) TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@ -70,7 +70,7 @@ func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefSt
|
|||||||
localVarReturnValue string
|
localVarReturnValue string
|
||||||
)
|
)
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PathAPIService.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PathAPIService.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathAPI.md#TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathAPI.md#TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
## TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
|
|
||||||
> string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx, pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
> string TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx, pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -36,13 +36,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(context.Background(), pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
resp, r, err := apiClient.PathAPI.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(context.Background(), pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `PathAPI.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: string
|
// response from `TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: string
|
||||||
fmt.Fprintf(os.Stdout, "Response from `PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `PathAPI.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: %v\n", resp)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### Other Parameters
|
### Other Parameters
|
||||||
|
|
||||||
Other parameters are passed through a pointer to a apiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct via the builder pattern
|
Other parameters are passed through a pointer to a apiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
|
@ -94,7 +94,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormAPI* | [**TestFormObjectMultipart**](docs/FormAPI.md#testformobjectmultipart) | **Post** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormAPI* | [**TestFormObjectMultipart**](docs/FormAPI.md#testformobjectmultipart) | **Post** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormAPI* | [**TestFormOneof**](docs/FormAPI.md#testformoneof) | **Post** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormAPI* | [**TestFormOneof**](docs/FormAPI.md#testformoneof) | **Post** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderAPI* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderAPI.md#testheaderintegerbooleanstringenums) | **Get** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderAPI* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderAPI.md#testheaderintegerbooleanstringenums) | **Get** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathAPI* | [**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathAPI.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathAPI* | [**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathAPI.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryAPI* | [**TestEnumRefString**](docs/QueryAPI.md#testenumrefstring) | **Get** /query/enum_ref_string | Test query parameter(s)
|
*QueryAPI* | [**TestEnumRefString**](docs/QueryAPI.md#testenumrefstring) | **Get** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryAPI* | [**TestQueryDatetimeDateString**](docs/QueryAPI.md#testquerydatetimedatestring) | **Get** /query/datetime/date/string | Test query parameter(s)
|
*QueryAPI* | [**TestQueryDatetimeDateString**](docs/QueryAPI.md#testquerydatetimedatestring) | **Get** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryAPI* | [**TestQueryIntegerBooleanString**](docs/QueryAPI.md#testqueryintegerbooleanstring) | **Get** /query/integer/boolean/string | Test query parameter(s)
|
*QueryAPI* | [**TestQueryIntegerBooleanString**](docs/QueryAPI.md#testqueryintegerbooleanstring) | **Get** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
// PathAPIService PathAPI service
|
// PathAPIService PathAPI service
|
||||||
type PathAPIService service
|
type PathAPIService service
|
||||||
|
|
||||||
type ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct {
|
type ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct {
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
ApiService *PathAPIService
|
ApiService *PathAPIService
|
||||||
pathString string
|
pathString string
|
||||||
@ -33,12 +33,12 @@ type ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefSt
|
|||||||
enumRefStringPath StringEnumRef
|
enumRefStringPath StringEnumRef
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) Execute() (string, *http.Response, error) {
|
func (r ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) Execute() (string, *http.Response, error) {
|
||||||
return r.ApiService.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r)
|
return r.ApiService.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath Test path parameter(s)
|
TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath Test path parameter(s)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -47,10 +47,10 @@ Test path parameter(s)
|
|||||||
@param pathInteger
|
@param pathInteger
|
||||||
@param enumNonrefStringPath
|
@param enumNonrefStringPath
|
||||||
@param enumRefStringPath
|
@param enumRefStringPath
|
||||||
@return ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest
|
@return ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest
|
||||||
*/
|
*/
|
||||||
func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx context.Context, pathString string, pathInteger int32, enumNonrefStringPath string, enumRefStringPath StringEnumRef) ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest {
|
func (a *PathAPIService) TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx context.Context, pathString string, pathInteger int32, enumNonrefStringPath string, enumRefStringPath StringEnumRef) ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest {
|
||||||
return ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest{
|
return ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest{
|
||||||
ApiService: a,
|
ApiService: a,
|
||||||
ctx: ctx,
|
ctx: ctx,
|
||||||
pathString: pathString,
|
pathString: pathString,
|
||||||
@ -62,7 +62,7 @@ func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefSt
|
|||||||
|
|
||||||
// Execute executes the request
|
// Execute executes the request
|
||||||
// @return string
|
// @return string
|
||||||
func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r ApiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) (string, *http.Response, error) {
|
func (a *PathAPIService) TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathExecute(r ApiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest) (string, *http.Response, error) {
|
||||||
var (
|
var (
|
||||||
localVarHTTPMethod = http.MethodGet
|
localVarHTTPMethod = http.MethodGet
|
||||||
localVarPostBody interface{}
|
localVarPostBody interface{}
|
||||||
@ -70,7 +70,7 @@ func (a *PathAPIService) TestsPathStringPathStringIntegerPathIntegerEnumNonrefSt
|
|||||||
localVarReturnValue string
|
localVarReturnValue string
|
||||||
)
|
)
|
||||||
|
|
||||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PathAPIService.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PathAPIService.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||||
}
|
}
|
||||||
|
@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathAPI.md#TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathAPI.md#TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **Get** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
## TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
|
|
||||||
> string TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx, pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
> string TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(ctx, pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -36,13 +36,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := openapiclient.NewConfiguration()
|
configuration := openapiclient.NewConfiguration()
|
||||||
apiClient := openapiclient.NewAPIClient(configuration)
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(context.Background(), pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
resp, r, err := apiClient.PathAPI.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(context.Background(), pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `PathAPI.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: string
|
// response from `TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: string
|
||||||
fmt.Fprintf(os.Stdout, "Response from `PathAPI.TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `PathAPI.TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath`: %v\n", resp)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### Other Parameters
|
### Other Parameters
|
||||||
|
|
||||||
Other parameters are passed through a pointer to a apiTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct via the builder pattern
|
Other parameters are passed through a pointer to a apiTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest struct via the builder pattern
|
||||||
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
|
@ -128,7 +128,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
|------------- | ------------- | -------------|
|
|------------- | ------------- | -------------|
|
||||||
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
## testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
|
|
||||||
> String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -37,10 +37,10 @@ public class Example {
|
|||||||
String enumNonrefStringPath = "success"; // String |
|
String enumNonrefStringPath = "success"; // String |
|
||||||
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
String result = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
String result = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
System.err.println("Status code: " + e.getCode());
|
System.err.println("Status code: " + e.getCode());
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
System.err.println("Reason: " + e.getResponseBody());
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||||
|
@ -51,8 +51,8 @@ public class PathApi extends BaseApi {
|
|||||||
* @return String
|
* @return String
|
||||||
* @throws ApiException if fails to make API call
|
* @throws ApiException if fails to make API call
|
||||||
*/
|
*/
|
||||||
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
public String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
||||||
return this.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, Collections.emptyMap());
|
return this.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, Collections.emptyMap());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -67,27 +67,27 @@ public class PathApi extends BaseApi {
|
|||||||
* @return String
|
* @return String
|
||||||
* @throws ApiException if fails to make API call
|
* @throws ApiException if fails to make API call
|
||||||
*/
|
*/
|
||||||
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, Map<String, String> additionalHeaders) throws ApiException {
|
public String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, Map<String, String> additionalHeaders) throws ApiException {
|
||||||
Object localVarPostBody = null;
|
Object localVarPostBody = null;
|
||||||
|
|
||||||
// verify the required parameter 'pathString' is set
|
// verify the required parameter 'pathString' is set
|
||||||
if (pathString == null) {
|
if (pathString == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'pathInteger' is set
|
// verify the required parameter 'pathInteger' is set
|
||||||
if (pathInteger == null) {
|
if (pathInteger == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumNonrefStringPath' is set
|
// verify the required parameter 'enumNonrefStringPath' is set
|
||||||
if (enumNonrefStringPath == null) {
|
if (enumNonrefStringPath == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumRefStringPath' is set
|
// verify the required parameter 'enumRefStringPath' is set
|
||||||
if (enumRefStringPath == null) {
|
if (enumRefStringPath == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// create path and map variables
|
// create path and map variables
|
||||||
|
@ -29,11 +29,11 @@ public interface PathApi extends ApiClient.Api {
|
|||||||
@Headers({
|
@Headers({
|
||||||
"Accept: text/plain",
|
"Accept: text/plain",
|
||||||
})
|
})
|
||||||
String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger, @Param("enumNonrefStringPath") String enumNonrefStringPath, @Param("enumRefStringPath") StringEnumRef enumRefStringPath);
|
String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger, @Param("enumNonrefStringPath") String enumNonrefStringPath, @Param("enumRefStringPath") StringEnumRef enumRefStringPath);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test path parameter(s)
|
* Test path parameter(s)
|
||||||
* Similar to <code>testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath</code> but it also returns the http response headers .
|
* Similar to <code>testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath</code> but it also returns the http response headers .
|
||||||
* Test path parameter(s)
|
* Test path parameter(s)
|
||||||
* @param pathString (required)
|
* @param pathString (required)
|
||||||
* @param pathInteger (required)
|
* @param pathInteger (required)
|
||||||
@ -45,7 +45,7 @@ public interface PathApi extends ApiClient.Api {
|
|||||||
@Headers({
|
@Headers({
|
||||||
"Accept: text/plain",
|
"Accept: text/plain",
|
||||||
})
|
})
|
||||||
ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger, @Param("enumNonrefStringPath") String enumNonrefStringPath, @Param("enumRefStringPath") StringEnumRef enumRefStringPath);
|
ApiResponse<String> testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger, @Param("enumNonrefStringPath") String enumNonrefStringPath, @Param("enumRefStringPath") StringEnumRef enumRefStringPath);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -138,8 +138,8 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormOneofWithHttpInfo**](docs/FormApi.md#testFormOneofWithHttpInfo) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneofWithHttpInfo**](docs/FormApi.md#testFormOneofWithHttpInfo) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnumsWithHttpInfo**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnumsWithHttpInfo) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnumsWithHttpInfo**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnumsWithHttpInfo) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo**](docs/PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo**](docs/PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testEnumRefStringWithHttpInfo**](docs/QueryApi.md#testEnumRefStringWithHttpInfo) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefStringWithHttpInfo**](docs/QueryApi.md#testEnumRefStringWithHttpInfo) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
|
@ -4,14 +4,14 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
|------------- | ------------- | -------------|
|
|------------- | ------------- | -------------|
|
||||||
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**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) |
|
| [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
## testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
|
|
||||||
> String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -38,10 +38,10 @@ public class Example {
|
|||||||
String enumNonrefStringPath = "success"; // String |
|
String enumNonrefStringPath = "success"; // String |
|
||||||
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
String result = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
String result = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
System.err.println("Status code: " + e.getCode());
|
System.err.println("Status code: " + e.getCode());
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
System.err.println("Reason: " + e.getResponseBody());
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||||
@ -80,9 +80,9 @@ No authorization required
|
|||||||
|-------------|-------------|------------------|
|
|-------------|-------------|------------------|
|
||||||
| **200** | Successful operation | - |
|
| **200** | Successful operation | - |
|
||||||
|
|
||||||
## testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo
|
## testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo
|
||||||
|
|
||||||
> ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> ApiResponse<String> testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -110,12 +110,12 @@ public class Example {
|
|||||||
String enumNonrefStringPath = "success"; // String |
|
String enumNonrefStringPath = "success"; // String |
|
||||||
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
ApiResponse<String> response = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
ApiResponse<String> response = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
System.out.println("Status code: " + response.getStatusCode());
|
System.out.println("Status code: " + response.getStatusCode());
|
||||||
System.out.println("Response headers: " + response.getHeaders());
|
System.out.println("Response headers: " + response.getHeaders());
|
||||||
System.out.println("Response body: " + response.getData());
|
System.out.println("Response body: " + response.getData());
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
System.err.println("Status code: " + e.getCode());
|
System.err.println("Status code: " + e.getCode());
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
System.err.println("Reason: " + e.getResponseBody());
|
||||||
|
@ -97,8 +97,8 @@ public class PathApi {
|
|||||||
* @return String
|
* @return String
|
||||||
* @throws ApiException if fails to make API call
|
* @throws ApiException if fails to make API call
|
||||||
*/
|
*/
|
||||||
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
public String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
||||||
ApiResponse<String> localVarResponse = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
ApiResponse<String> localVarResponse = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
return localVarResponse.getData();
|
return localVarResponse.getData();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -112,8 +112,8 @@ public class PathApi {
|
|||||||
* @return ApiResponse<String>
|
* @return ApiResponse<String>
|
||||||
* @throws ApiException if fails to make API call
|
* @throws ApiException if fails to make API call
|
||||||
*/
|
*/
|
||||||
public ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
public ApiResponse<String> testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
||||||
HttpRequest.Builder localVarRequestBuilder = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
HttpRequest.Builder localVarRequestBuilder = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
try {
|
try {
|
||||||
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
|
HttpResponse<InputStream> localVarResponse = memberVarHttpClient.send(
|
||||||
localVarRequestBuilder.build(),
|
localVarRequestBuilder.build(),
|
||||||
@ -123,7 +123,7 @@ public class PathApi {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
if (localVarResponse.statusCode()/ 100 != 2) {
|
if (localVarResponse.statusCode()/ 100 != 2) {
|
||||||
throw getApiException("testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", localVarResponse);
|
throw getApiException("testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", localVarResponse);
|
||||||
}
|
}
|
||||||
// for plain text response
|
// for plain text response
|
||||||
if (localVarResponse.headers().map().containsKey("Content-Type") &&
|
if (localVarResponse.headers().map().containsKey("Content-Type") &&
|
||||||
@ -149,22 +149,22 @@ public class PathApi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private HttpRequest.Builder testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
private HttpRequest.Builder testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestBuilder(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
||||||
// verify the required parameter 'pathString' is set
|
// verify the required parameter 'pathString' is set
|
||||||
if (pathString == null) {
|
if (pathString == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
// verify the required parameter 'pathInteger' is set
|
// verify the required parameter 'pathInteger' is set
|
||||||
if (pathInteger == null) {
|
if (pathInteger == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
// verify the required parameter 'enumNonrefStringPath' is set
|
// verify the required parameter 'enumNonrefStringPath' is set
|
||||||
if (enumNonrefStringPath == null) {
|
if (enumNonrefStringPath == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
// verify the required parameter 'enumRefStringPath' is set
|
// verify the required parameter 'enumRefStringPath' is set
|
||||||
if (enumRefStringPath == null) {
|
if (enumRefStringPath == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
|
HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder();
|
||||||
|
@ -135,7 +135,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
|------------- | ------------- | -------------|
|
|------------- | ------------- | -------------|
|
||||||
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
<a id="testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
<a id="testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
||||||
# **testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
# **testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
||||||
> String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -35,10 +35,10 @@ public class Example {
|
|||||||
String enumNonrefStringPath = "success"; // String |
|
String enumNonrefStringPath = "success"; // String |
|
||||||
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
String result = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
String result = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
System.err.println("Status code: " + e.getCode());
|
System.err.println("Status code: " + e.getCode());
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
System.err.println("Reason: " + e.getResponseBody());
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||||
|
@ -73,7 +73,7 @@ public class PathApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build call for testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
* Build call for testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
* @param pathString (required)
|
* @param pathString (required)
|
||||||
* @param pathInteger (required)
|
* @param pathInteger (required)
|
||||||
* @param enumNonrefStringPath (required)
|
* @param enumNonrefStringPath (required)
|
||||||
@ -87,7 +87,7 @@ public class PathApi {
|
|||||||
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
||||||
</table>
|
</table>
|
||||||
*/
|
*/
|
||||||
public okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathCall(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException {
|
public okhttp3.Call testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathCall(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException {
|
||||||
String basePath = null;
|
String basePath = null;
|
||||||
// Operation Servers
|
// Operation Servers
|
||||||
String[] localBasePaths = new String[] { };
|
String[] localBasePaths = new String[] { };
|
||||||
@ -136,28 +136,28 @@ public class PathApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
private okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException {
|
private okhttp3.Call testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback _callback) throws ApiException {
|
||||||
// verify the required parameter 'pathString' is set
|
// verify the required parameter 'pathString' is set
|
||||||
if (pathString == null) {
|
if (pathString == null) {
|
||||||
throw new ApiException("Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
throw new ApiException("Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'pathInteger' is set
|
// verify the required parameter 'pathInteger' is set
|
||||||
if (pathInteger == null) {
|
if (pathInteger == null) {
|
||||||
throw new ApiException("Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
throw new ApiException("Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumNonrefStringPath' is set
|
// verify the required parameter 'enumNonrefStringPath' is set
|
||||||
if (enumNonrefStringPath == null) {
|
if (enumNonrefStringPath == null) {
|
||||||
throw new ApiException("Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
throw new ApiException("Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumRefStringPath' is set
|
// verify the required parameter 'enumRefStringPath' is set
|
||||||
if (enumRefStringPath == null) {
|
if (enumRefStringPath == null) {
|
||||||
throw new ApiException("Missing the required parameter 'enumRefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
throw new ApiException("Missing the required parameter 'enumRefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(Async)");
|
||||||
}
|
}
|
||||||
|
|
||||||
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, _callback);
|
return testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, _callback);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,8 +176,8 @@ public class PathApi {
|
|||||||
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
||||||
</table>
|
</table>
|
||||||
*/
|
*/
|
||||||
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
public String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
||||||
ApiResponse<String> localVarResp = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
ApiResponse<String> localVarResp = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
return localVarResp.getData();
|
return localVarResp.getData();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -196,8 +196,8 @@ public class PathApi {
|
|||||||
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
||||||
</table>
|
</table>
|
||||||
*/
|
*/
|
||||||
public ApiResponse<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
public ApiResponse<String> testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
||||||
okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, null);
|
okhttp3.Call localVarCall = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, null);
|
||||||
Type localVarReturnType = new TypeToken<String>(){}.getType();
|
Type localVarReturnType = new TypeToken<String>(){}.getType();
|
||||||
return localVarApiClient.execute(localVarCall, localVarReturnType);
|
return localVarApiClient.execute(localVarCall, localVarReturnType);
|
||||||
}
|
}
|
||||||
@ -218,9 +218,9 @@ public class PathApi {
|
|||||||
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
<tr><td> 200 </td><td> Successful operation </td><td> - </td></tr>
|
||||||
</table>
|
</table>
|
||||||
*/
|
*/
|
||||||
public okhttp3.Call testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback<String> _callback) throws ApiException {
|
public okhttp3.Call testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, final ApiCallback<String> _callback) throws ApiException {
|
||||||
|
|
||||||
okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, _callback);
|
okhttp3.Call localVarCall = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathValidateBeforeCall(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, _callback);
|
||||||
Type localVarReturnType = new TypeToken<String>(){}.getType();
|
Type localVarReturnType = new TypeToken<String>(){}.getType();
|
||||||
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
|
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
|
||||||
return localVarCall;
|
return localVarCall;
|
||||||
|
@ -135,7 +135,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
|------------- | ------------- | -------------|
|
|------------- | ------------- | -------------|
|
||||||
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
## testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
|
|
||||||
> String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -37,10 +37,10 @@ public class Example {
|
|||||||
String enumNonrefStringPath = "success"; // String |
|
String enumNonrefStringPath = "success"; // String |
|
||||||
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
String result = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
String result = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
System.err.println("Status code: " + e.getCode());
|
System.err.println("Status code: " + e.getCode());
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
System.err.println("Reason: " + e.getResponseBody());
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||||
|
@ -44,27 +44,27 @@ public class PathApi {
|
|||||||
* @return a {@code String}
|
* @return a {@code String}
|
||||||
* @throws ApiException if fails to make API call
|
* @throws ApiException if fails to make API call
|
||||||
*/
|
*/
|
||||||
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
public String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
|
||||||
Object localVarPostBody = null;
|
Object localVarPostBody = null;
|
||||||
|
|
||||||
// verify the required parameter 'pathString' is set
|
// verify the required parameter 'pathString' is set
|
||||||
if (pathString == null) {
|
if (pathString == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'pathInteger' is set
|
// verify the required parameter 'pathInteger' is set
|
||||||
if (pathInteger == null) {
|
if (pathInteger == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumNonrefStringPath' is set
|
// verify the required parameter 'enumNonrefStringPath' is set
|
||||||
if (enumNonrefStringPath == null) {
|
if (enumNonrefStringPath == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumRefStringPath' is set
|
// verify the required parameter 'enumRefStringPath' is set
|
||||||
if (enumRefStringPath == null) {
|
if (enumRefStringPath == null) {
|
||||||
throw new ApiException(400, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new ApiException(400, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// create path and map variables
|
// create path and map variables
|
||||||
|
@ -135,7 +135,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**testFormObjectMultipart**](docs/FormApi.md#testFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/FormApi.md#testFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
|------------- | ------------- | -------------|
|
|------------- | ------------- | -------------|
|
||||||
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
## testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
|
|
||||||
> String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -37,10 +37,10 @@ public class Example {
|
|||||||
String enumNonrefStringPath = "success"; // String |
|
String enumNonrefStringPath = "success"; // String |
|
||||||
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
StringEnumRef enumRefStringPath = StringEnumRef.fromValue("success"); // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
String result = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
String result = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
|
||||||
System.out.println(result);
|
System.out.println(result);
|
||||||
} catch (ApiException e) {
|
} catch (ApiException e) {
|
||||||
System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
System.err.println("Status code: " + e.getCode());
|
System.err.println("Status code: " + e.getCode());
|
||||||
System.err.println("Reason: " + e.getResponseBody());
|
System.err.println("Reason: " + e.getResponseBody());
|
||||||
System.err.println("Response headers: " + e.getResponseHeaders());
|
System.err.println("Response headers: " + e.getResponseHeaders());
|
||||||
|
@ -48,8 +48,8 @@ public class PathApi extends BaseApi {
|
|||||||
* @return String
|
* @return String
|
||||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||||
*/
|
*/
|
||||||
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientException {
|
public String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientException {
|
||||||
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).getBody();
|
return testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).getBody();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -63,27 +63,27 @@ public class PathApi extends BaseApi {
|
|||||||
* @return ResponseEntity<String>
|
* @return ResponseEntity<String>
|
||||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||||
*/
|
*/
|
||||||
public ResponseEntity<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientException {
|
public ResponseEntity<String> testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientException {
|
||||||
Object localVarPostBody = null;
|
Object localVarPostBody = null;
|
||||||
|
|
||||||
// verify the required parameter 'pathString' is set
|
// verify the required parameter 'pathString' is set
|
||||||
if (pathString == null) {
|
if (pathString == null) {
|
||||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'pathInteger' is set
|
// verify the required parameter 'pathInteger' is set
|
||||||
if (pathInteger == null) {
|
if (pathInteger == null) {
|
||||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumNonrefStringPath' is set
|
// verify the required parameter 'enumNonrefStringPath' is set
|
||||||
if (enumNonrefStringPath == null) {
|
if (enumNonrefStringPath == null) {
|
||||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enumRefStringPath' is set
|
// verify the required parameter 'enumRefStringPath' is set
|
||||||
if (enumRefStringPath == null) {
|
if (enumRefStringPath == null) {
|
||||||
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'enumRefStringPath' when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath");
|
||||||
}
|
}
|
||||||
|
|
||||||
// create path and map variables
|
// create path and map variables
|
||||||
|
@ -58,7 +58,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s)
|
*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s)
|
||||||
*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
<a id="testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
<a id="testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
||||||
# **testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
# **testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
||||||
> kotlin.String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> kotlin.String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -27,13 +27,13 @@ val pathInteger : kotlin.Int = 56 // kotlin.Int |
|
|||||||
val enumNonrefStringPath : kotlin.String = enumNonrefStringPath_example // kotlin.String |
|
val enumNonrefStringPath : kotlin.String = enumNonrefStringPath_example // kotlin.String |
|
||||||
val enumRefStringPath : StringEnumRef = // StringEnumRef |
|
val enumRefStringPath : StringEnumRef = // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
val result : kotlin.String = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
val result : kotlin.String = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
println(result)
|
println(result)
|
||||||
} catch (e: ClientException) {
|
} catch (e: ClientException) {
|
||||||
println("4xx response calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
println("4xx response calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
} catch (e: ServerException) {
|
} catch (e: ServerException) {
|
||||||
println("5xx response calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
println("5xx response calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -39,7 +39,7 @@ class PathApi(client: RestClient) : ApiClient(client) {
|
|||||||
/**
|
/**
|
||||||
* enum for parameter enumNonrefStringPath
|
* enum for parameter enumNonrefStringPath
|
||||||
*/
|
*/
|
||||||
enum class EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(val value: kotlin.String) {
|
enum class EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(val value: kotlin.String) {
|
||||||
@JsonProperty(value = "success") success("success"),
|
@JsonProperty(value = "success") success("success"),
|
||||||
@JsonProperty(value = "failure") failure("failure"),
|
@JsonProperty(value = "failure") failure("failure"),
|
||||||
@JsonProperty(value = "unclassified") unclassified("unclassified"),
|
@JsonProperty(value = "unclassified") unclassified("unclassified"),
|
||||||
@ -47,20 +47,20 @@ class PathApi(client: RestClient) : ApiClient(client) {
|
|||||||
|
|
||||||
|
|
||||||
@Throws(RestClientResponseException::class)
|
@Throws(RestClientResponseException::class)
|
||||||
fun testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): kotlin.String {
|
fun testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): kotlin.String {
|
||||||
val result = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
val result = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
||||||
return result.body!!
|
return result.body!!
|
||||||
}
|
}
|
||||||
|
|
||||||
@Throws(RestClientResponseException::class)
|
@Throws(RestClientResponseException::class)
|
||||||
fun testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): ResponseEntity<kotlin.String> {
|
fun testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): ResponseEntity<kotlin.String> {
|
||||||
val localVariableConfig = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
val localVariableConfig = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
||||||
return request<Unit, kotlin.String>(
|
return request<Unit, kotlin.String>(
|
||||||
localVariableConfig
|
localVariableConfig
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef) : RequestConfig<Unit> {
|
fun testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef) : RequestConfig<Unit> {
|
||||||
val localVariableBody = null
|
val localVariableBody = null
|
||||||
val localVariableQuery = mutableMapOf<kotlin.String, kotlin.collections.List<kotlin.String>>()
|
val localVariableQuery = mutableMapOf<kotlin.String, kotlin.collections.List<kotlin.String>>()
|
||||||
val localVariableHeaders: MutableMap<String, String> = mutableMapOf()
|
val localVariableHeaders: MutableMap<String, String> = mutableMapOf()
|
||||||
|
@ -58,7 +58,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s)
|
*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** /form/integer/boolean/string | Test form parameter(s)
|
||||||
*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
<a id="testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
<a id="testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
||||||
# **testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
# **testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
||||||
> kotlin.String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
> kotlin.String testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -27,13 +27,13 @@ val pathInteger : kotlin.Int = 56 // kotlin.Int |
|
|||||||
val enumNonrefStringPath : kotlin.String = enumNonrefStringPath_example // kotlin.String |
|
val enumNonrefStringPath : kotlin.String = enumNonrefStringPath_example // kotlin.String |
|
||||||
val enumRefStringPath : StringEnumRef = // StringEnumRef |
|
val enumRefStringPath : StringEnumRef = // StringEnumRef |
|
||||||
try {
|
try {
|
||||||
val result : kotlin.String = apiInstance.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
val result : kotlin.String = apiInstance.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
println(result)
|
println(result)
|
||||||
} catch (e: ClientException) {
|
} catch (e: ClientException) {
|
||||||
println("4xx response calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
println("4xx response calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
} catch (e: ServerException) {
|
} catch (e: ServerException) {
|
||||||
println("5xx response calling PathApi#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
println("5xx response calling PathApi#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath")
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -39,7 +39,7 @@ class PathApi(client: RestClient) : ApiClient(client) {
|
|||||||
/**
|
/**
|
||||||
* enum for parameter enumNonrefStringPath
|
* enum for parameter enumNonrefStringPath
|
||||||
*/
|
*/
|
||||||
enum class EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(val value: kotlin.String) {
|
enum class EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(val value: kotlin.String) {
|
||||||
@JsonProperty(value = "success") success("success"),
|
@JsonProperty(value = "success") success("success"),
|
||||||
@JsonProperty(value = "failure") failure("failure"),
|
@JsonProperty(value = "failure") failure("failure"),
|
||||||
@JsonProperty(value = "unclassified") unclassified("unclassified"),
|
@JsonProperty(value = "unclassified") unclassified("unclassified"),
|
||||||
@ -47,20 +47,20 @@ class PathApi(client: RestClient) : ApiClient(client) {
|
|||||||
|
|
||||||
|
|
||||||
@Throws(RestClientResponseException::class)
|
@Throws(RestClientResponseException::class)
|
||||||
fun testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): kotlin.String {
|
fun testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): kotlin.String {
|
||||||
val result = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
val result = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
||||||
return result.body!!
|
return result.body!!
|
||||||
}
|
}
|
||||||
|
|
||||||
@Throws(RestClientResponseException::class)
|
@Throws(RestClientResponseException::class)
|
||||||
fun testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): ResponseEntity<kotlin.String> {
|
fun testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef): ResponseEntity<kotlin.String> {
|
||||||
val localVariableConfig = testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
val localVariableConfig = testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString = pathString, pathInteger = pathInteger, enumNonrefStringPath = enumNonrefStringPath, enumRefStringPath = enumRefStringPath)
|
||||||
return request<Unit, kotlin.String>(
|
return request<Unit, kotlin.String>(
|
||||||
localVariableConfig
|
localVariableConfig
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef) : RequestConfig<Unit> {
|
fun testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestConfig(pathString: kotlin.String, pathInteger: kotlin.Int, enumNonrefStringPath: EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath, enumRefStringPath: StringEnumRef) : RequestConfig<Unit> {
|
||||||
val localVariableBody = null
|
val localVariableBody = null
|
||||||
val localVariableQuery = mutableMapOf<kotlin.String, kotlin.collections.List<kotlin.String>>()
|
val localVariableQuery = mutableMapOf<kotlin.String, kotlin.collections.List<kotlin.String>>()
|
||||||
val localVariableHeaders: MutableMap<String, String> = mutableMapOf()
|
val localVariableHeaders: MutableMap<String, String> = mutableMapOf()
|
||||||
|
@ -58,7 +58,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** form/integer/boolean/string | Test form parameter(s)
|
*FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testformintegerbooleanstring) | **POST** form/integer/boolean/string | Test form parameter(s)
|
||||||
*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/FormApi.md#testformoneof) | **POST** form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/QueryApi.md#testenumrefstring) | **GET** query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testquerydatetimedatestring) | **GET** query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testqueryintegerbooleanstring) | **GET** query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ val enumNonrefStringPath : kotlin.String = enumNonrefStringPath_example // kotli
|
|||||||
val enumRefStringPath : ApiStringEnumRef = // ApiStringEnumRef |
|
val enumRefStringPath : ApiStringEnumRef = // ApiStringEnumRef |
|
||||||
|
|
||||||
launch(Dispatchers.IO) {
|
launch(Dispatchers.IO) {
|
||||||
val result : kotlin.String = webService.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
val result : kotlin.String = webService.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ interface PathApi {
|
|||||||
/**
|
/**
|
||||||
* enum for parameter enumNonrefStringPath
|
* enum for parameter enumNonrefStringPath
|
||||||
*/
|
*/
|
||||||
enum class EnumNonrefStringPathTestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(val value: kotlin.String) {
|
enum class EnumNonrefStringPathTestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(val value: kotlin.String) {
|
||||||
@SerializedName(value = "success") SUCCESS("success"),
|
@SerializedName(value = "success") SUCCESS("success"),
|
||||||
@SerializedName(value = "failure") FAILURE("failure"),
|
@SerializedName(value = "failure") FAILURE("failure"),
|
||||||
@SerializedName(value = "unclassified") UNCLASSIFIED("unclassified")
|
@SerializedName(value = "unclassified") UNCLASSIFIED("unclassified")
|
||||||
@ -32,6 +32,6 @@ interface PathApi {
|
|||||||
* @return [kotlin.String]
|
* @return [kotlin.String]
|
||||||
*/
|
*/
|
||||||
@GET("path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}")
|
@GET("path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}")
|
||||||
suspend fun testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@Path("path_string") pathString: kotlin.String, @Path("path_integer") pathInteger: kotlin.Int, @Path("enum_nonref_string_path") enumNonrefStringPath: kotlin.String, @Path("enum_ref_string_path") enumRefStringPath: ApiStringEnumRef): Response<kotlin.String>
|
suspend fun testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@Path("path_string") pathString: kotlin.String, @Path("path_integer") pathInteger: kotlin.Int, @Path("enum_nonref_string_path") enumNonrefStringPath: kotlin.String, @Path("enum_ref_string_path") enumRefStringPath: ApiStringEnumRef): Response<kotlin.String>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**testFormObjectMultipart**](docs/Api/FormApi.md#testformobjectmultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**testFormObjectMultipart**](docs/Api/FormApi.md#testformobjectmultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**testFormOneof**](docs/Api/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**testFormOneof**](docs/Api/FormApi.md#testformoneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/Api/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**testHeaderIntegerBooleanStringEnums**](docs/Api/HeaderApi.md#testheaderintegerbooleanstringenums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/Api/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/Api/PathApi.md#testspathstringpathstringintegerpathintegerenumnonrefstringpathenumrefstringpath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**testEnumRefString**](docs/Api/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**testEnumRefString**](docs/Api/QueryApi.md#testenumrefstring) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryDatetimeDateString**](docs/Api/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**testQueryDatetimeDateString**](docs/Api/QueryApi.md#testquerydatetimedatestring) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**testQueryIntegerBooleanString**](docs/Api/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**testQueryIntegerBooleanString**](docs/Api/QueryApi.md#testqueryintegerbooleanstring) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,13 +4,13 @@ All URIs are relative to http://localhost:3000, except if the operation defines
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
| ------------- | ------------- | ------------- |
|
| ------------- | ------------- | ------------- |
|
||||||
| [**testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath()**](PathApi.md#testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath()**](PathApi.md#testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
## `testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath()`
|
## `testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath()`
|
||||||
|
|
||||||
```php
|
```php
|
||||||
testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path): string
|
testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path): string
|
||||||
```
|
```
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
@ -36,10 +36,10 @@ $enum_nonref_string_path = 'enum_nonref_string_path_example'; // string
|
|||||||
$enum_ref_string_path = new \OpenAPI\Client\Model\StringEnumRef(); // StringEnumRef
|
$enum_ref_string_path = new \OpenAPI\Client\Model\StringEnumRef(); // StringEnumRef
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$result = $apiInstance->testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path);
|
$result = $apiInstance->testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path);
|
||||||
print_r($result);
|
print_r($result);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
echo 'Exception when calling PathApi->testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: ', $e->getMessage(), PHP_EOL;
|
echo 'Exception when calling PathApi->testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: ', $e->getMessage(), PHP_EOL;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ class PathApi
|
|||||||
|
|
||||||
/** @var string[] $contentTypes **/
|
/** @var string[] $contentTypes **/
|
||||||
public const contentTypes = [
|
public const contentTypes = [
|
||||||
'testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath' => [
|
'testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath' => [
|
||||||
'application/json',
|
'application/json',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
@ -124,7 +124,7 @@ class PathApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Operation testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
* Operation testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath
|
||||||
*
|
*
|
||||||
* Test path parameter(s)
|
* Test path parameter(s)
|
||||||
*
|
*
|
||||||
@ -132,26 +132,26 @@ class PathApi
|
|||||||
* @param int $path_integer path_integer (required)
|
* @param int $path_integer path_integer (required)
|
||||||
* @param string $enum_nonref_string_path enum_nonref_string_path (required)
|
* @param string $enum_nonref_string_path enum_nonref_string_path (required)
|
||||||
* @param StringEnumRef $enum_ref_string_path enum_ref_string_path (required)
|
* @param StringEnumRef $enum_ref_string_path enum_ref_string_path (required)
|
||||||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
||||||
*
|
*
|
||||||
* @throws ApiException on non-2xx response or if the response body is not in the expected format
|
* @throws ApiException on non-2xx response or if the response body is not in the expected format
|
||||||
* @throws InvalidArgumentException
|
* @throws InvalidArgumentException
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(
|
public function testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(
|
||||||
string $path_string,
|
string $path_string,
|
||||||
int $path_integer,
|
int $path_integer,
|
||||||
string $enum_nonref_string_path,
|
string $enum_nonref_string_path,
|
||||||
StringEnumRef $enum_ref_string_path,
|
StringEnumRef $enum_ref_string_path,
|
||||||
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
string $contentType = self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
||||||
): string
|
): string
|
||||||
{
|
{
|
||||||
list($response) = $this->testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType);
|
list($response) = $this->testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType);
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Operation testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo
|
* Operation testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo
|
||||||
*
|
*
|
||||||
* Test path parameter(s)
|
* Test path parameter(s)
|
||||||
*
|
*
|
||||||
@ -159,21 +159,21 @@ class PathApi
|
|||||||
* @param int $path_integer (required)
|
* @param int $path_integer (required)
|
||||||
* @param string $enum_nonref_string_path (required)
|
* @param string $enum_nonref_string_path (required)
|
||||||
* @param StringEnumRef $enum_ref_string_path (required)
|
* @param StringEnumRef $enum_ref_string_path (required)
|
||||||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
||||||
*
|
*
|
||||||
* @throws ApiException on non-2xx response or if the response body is not in the expected format
|
* @throws ApiException on non-2xx response or if the response body is not in the expected format
|
||||||
* @throws InvalidArgumentException
|
* @throws InvalidArgumentException
|
||||||
* @return array of string, HTTP status code, HTTP response headers (array of strings)
|
* @return array of string, HTTP status code, HTTP response headers (array of strings)
|
||||||
*/
|
*/
|
||||||
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(
|
public function testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(
|
||||||
string $path_string,
|
string $path_string,
|
||||||
int $path_integer,
|
int $path_integer,
|
||||||
string $enum_nonref_string_path,
|
string $enum_nonref_string_path,
|
||||||
StringEnumRef $enum_ref_string_path,
|
StringEnumRef $enum_ref_string_path,
|
||||||
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
string $contentType = self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
||||||
): array
|
): array
|
||||||
{
|
{
|
||||||
$request = $this->testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType);
|
$request = $this->testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$options = $this->createHttpClientOption();
|
$options = $this->createHttpClientOption();
|
||||||
@ -284,7 +284,7 @@ class PathApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Operation testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync
|
* Operation testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync
|
||||||
*
|
*
|
||||||
* Test path parameter(s)
|
* Test path parameter(s)
|
||||||
*
|
*
|
||||||
@ -292,20 +292,20 @@ class PathApi
|
|||||||
* @param int $path_integer (required)
|
* @param int $path_integer (required)
|
||||||
* @param string $enum_nonref_string_path (required)
|
* @param string $enum_nonref_string_path (required)
|
||||||
* @param StringEnumRef $enum_ref_string_path (required)
|
* @param StringEnumRef $enum_ref_string_path (required)
|
||||||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
||||||
*
|
*
|
||||||
* @throws InvalidArgumentException
|
* @throws InvalidArgumentException
|
||||||
* @return PromiseInterface
|
* @return PromiseInterface
|
||||||
*/
|
*/
|
||||||
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(
|
public function testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsync(
|
||||||
string $path_string,
|
string $path_string,
|
||||||
int $path_integer,
|
int $path_integer,
|
||||||
string $enum_nonref_string_path,
|
string $enum_nonref_string_path,
|
||||||
StringEnumRef $enum_ref_string_path,
|
StringEnumRef $enum_ref_string_path,
|
||||||
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
string $contentType = self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
||||||
): PromiseInterface
|
): PromiseInterface
|
||||||
{
|
{
|
||||||
return $this->testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType)
|
return $this->testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType)
|
||||||
->then(
|
->then(
|
||||||
function ($response) {
|
function ($response) {
|
||||||
return $response[0];
|
return $response[0];
|
||||||
@ -314,7 +314,7 @@ class PathApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Operation testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo
|
* Operation testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo
|
||||||
*
|
*
|
||||||
* Test path parameter(s)
|
* Test path parameter(s)
|
||||||
*
|
*
|
||||||
@ -322,21 +322,21 @@ class PathApi
|
|||||||
* @param int $path_integer (required)
|
* @param int $path_integer (required)
|
||||||
* @param string $enum_nonref_string_path (required)
|
* @param string $enum_nonref_string_path (required)
|
||||||
* @param StringEnumRef $enum_ref_string_path (required)
|
* @param StringEnumRef $enum_ref_string_path (required)
|
||||||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
||||||
*
|
*
|
||||||
* @throws InvalidArgumentException
|
* @throws InvalidArgumentException
|
||||||
* @return PromiseInterface
|
* @return PromiseInterface
|
||||||
*/
|
*/
|
||||||
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo(
|
public function testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo(
|
||||||
$path_string,
|
$path_string,
|
||||||
$path_integer,
|
$path_integer,
|
||||||
$enum_nonref_string_path,
|
$enum_nonref_string_path,
|
||||||
$enum_ref_string_path,
|
$enum_ref_string_path,
|
||||||
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
string $contentType = self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
||||||
): PromiseInterface
|
): PromiseInterface
|
||||||
{
|
{
|
||||||
$returnType = 'string';
|
$returnType = 'string';
|
||||||
$request = $this->testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType);
|
$request = $this->testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest($path_string, $path_integer, $enum_nonref_string_path, $enum_ref_string_path, $contentType);
|
||||||
|
|
||||||
return $this->client
|
return $this->client
|
||||||
->sendAsync($request, $this->createHttpClientOption())
|
->sendAsync($request, $this->createHttpClientOption())
|
||||||
@ -375,51 +375,51 @@ class PathApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create request for operation 'testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
* Create request for operation 'testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
||||||
*
|
*
|
||||||
* @param string $path_string (required)
|
* @param string $path_string (required)
|
||||||
* @param int $path_integer (required)
|
* @param int $path_integer (required)
|
||||||
* @param string $enum_nonref_string_path (required)
|
* @param string $enum_nonref_string_path (required)
|
||||||
* @param StringEnumRef $enum_ref_string_path (required)
|
* @param StringEnumRef $enum_ref_string_path (required)
|
||||||
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'] to see the possible values for this operation
|
||||||
*
|
*
|
||||||
* @throws InvalidArgumentException
|
* @throws InvalidArgumentException
|
||||||
* @return \GuzzleHttp\Psr7\Request
|
* @return \GuzzleHttp\Psr7\Request
|
||||||
*/
|
*/
|
||||||
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest(
|
public function testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest(
|
||||||
$path_string,
|
$path_string,
|
||||||
$path_integer,
|
$path_integer,
|
||||||
$enum_nonref_string_path,
|
$enum_nonref_string_path,
|
||||||
$enum_ref_string_path,
|
$enum_ref_string_path,
|
||||||
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
string $contentType = self::contentTypes['testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
|
||||||
): Request
|
): Request
|
||||||
{
|
{
|
||||||
|
|
||||||
// verify the required parameter 'path_string' is set
|
// verify the required parameter 'path_string' is set
|
||||||
if ($path_string === null || (is_array($path_string) && count($path_string) === 0)) {
|
if ($path_string === null || (is_array($path_string) && count($path_string) === 0)) {
|
||||||
throw new InvalidArgumentException(
|
throw new InvalidArgumentException(
|
||||||
'Missing the required parameter $path_string when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
'Missing the required parameter $path_string when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'path_integer' is set
|
// verify the required parameter 'path_integer' is set
|
||||||
if ($path_integer === null || (is_array($path_integer) && count($path_integer) === 0)) {
|
if ($path_integer === null || (is_array($path_integer) && count($path_integer) === 0)) {
|
||||||
throw new InvalidArgumentException(
|
throw new InvalidArgumentException(
|
||||||
'Missing the required parameter $path_integer when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
'Missing the required parameter $path_integer when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enum_nonref_string_path' is set
|
// verify the required parameter 'enum_nonref_string_path' is set
|
||||||
if ($enum_nonref_string_path === null || (is_array($enum_nonref_string_path) && count($enum_nonref_string_path) === 0)) {
|
if ($enum_nonref_string_path === null || (is_array($enum_nonref_string_path) && count($enum_nonref_string_path) === 0)) {
|
||||||
throw new InvalidArgumentException(
|
throw new InvalidArgumentException(
|
||||||
'Missing the required parameter $enum_nonref_string_path when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
'Missing the required parameter $enum_nonref_string_path when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the required parameter 'enum_ref_string_path' is set
|
// verify the required parameter 'enum_ref_string_path' is set
|
||||||
if ($enum_ref_string_path === null || (is_array($enum_ref_string_path) && count($enum_ref_string_path) === 0)) {
|
if ($enum_ref_string_path === null || (is_array($enum_ref_string_path) && count($enum_ref_string_path) === 0)) {
|
||||||
throw new InvalidArgumentException(
|
throw new InvalidArgumentException(
|
||||||
'Missing the required parameter $enum_ref_string_path when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
'Missing the required parameter $enum_ref_string_path when calling testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,17 +58,17 @@ Class | Method | HTTP request | Description
|
|||||||
*BodyApi* | [**Test-BodyApplicationOctetstreamBinary**](docs/BodyApi.md#Test-BodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
|
*BodyApi* | [**Test-BodyApplicationOctetstreamBinary**](docs/BodyApi.md#Test-BodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
|
||||||
*BodyApi* | [**Test-BodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#Test-BodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
|
*BodyApi* | [**Test-BodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#Test-BodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
|
||||||
*BodyApi* | [**Test-BodyMultipartFormdataSingleBinary**](docs/BodyApi.md#Test-BodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
|
*BodyApi* | [**Test-BodyMultipartFormdataSingleBinary**](docs/BodyApi.md#Test-BodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
|
||||||
|
*BodyApi* | [**Test-EchoBodyAllOfPet**](docs/BodyApi.md#Test-EchoBodyAllOfPet) | **POST** /echo/body/allOf/Pet | Test body parameter(s)
|
||||||
*BodyApi* | [**Test-EchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#Test-EchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
|
*BodyApi* | [**Test-EchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#Test-EchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
|
||||||
*BodyApi* | [**Test-EchoBodyPet**](docs/BodyApi.md#Test-EchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s)
|
*BodyApi* | [**Test-EchoBodyPet**](docs/BodyApi.md#Test-EchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s)
|
||||||
*BodyApi* | [**Test-EchoBodyPetResponseString**](docs/BodyApi.md#Test-EchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body
|
*BodyApi* | [**Test-EchoBodyPetResponseString**](docs/BodyApi.md#Test-EchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body
|
||||||
*BodyApi* | [**Test-EchoBodyTagResponseString**](docs/BodyApi.md#Test-EchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
|
|
||||||
*BodyApi* | [**Test-EchoBodyAllOfPet**](docs/BodyApi.md#Test-EchoBodyAllOfPet) | **POST** /echo/body/allOf/Pet | Test body parameter(s)
|
|
||||||
*BodyApi* | [**Test-EchoBodyStringEnum**](docs/BodyApi.md#Test-EchoBodyStringEnum) | **POST** /echo/body/string_enum | Test string enum response body
|
*BodyApi* | [**Test-EchoBodyStringEnum**](docs/BodyApi.md#Test-EchoBodyStringEnum) | **POST** /echo/body/string_enum | Test string enum response body
|
||||||
|
*BodyApi* | [**Test-EchoBodyTagResponseString**](docs/BodyApi.md#Test-EchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
|
||||||
*FormApi* | [**Test-FormIntegerBooleanString**](docs/FormApi.md#Test-FormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s)
|
*FormApi* | [**Test-FormIntegerBooleanString**](docs/FormApi.md#Test-FormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s)
|
||||||
*FormApi* | [**Test-FormObjectMultipart**](docs/FormApi.md#Test-FormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**Test-FormObjectMultipart**](docs/FormApi.md#Test-FormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**Test-FormOneof**](docs/FormApi.md#Test-FormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**Test-FormOneof**](docs/FormApi.md#Test-FormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**Test-HeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#Test-HeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**Test-HeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#Test-HeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**Test-EnumRefString**](docs/QueryApi.md#Test-EnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**Test-EnumRefString**](docs/QueryApi.md#Test-EnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**Test-QueryDatetimeDateString**](docs/QueryApi.md#Test-QueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**Test-QueryDatetimeDateString**](docs/QueryApi.md#Test-QueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**Test-QueryIntegerBooleanString**](docs/QueryApi.md#Test-QueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**Test-QueryIntegerBooleanString**](docs/QueryApi.md#Test-QueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -8,12 +8,12 @@ Method | HTTP request | Description
|
|||||||
[**Test-BodyApplicationOctetstreamBinary**](BodyApi.md#Test-BodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
|
[**Test-BodyApplicationOctetstreamBinary**](BodyApi.md#Test-BodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s)
|
||||||
[**Test-BodyMultipartFormdataArrayOfBinary**](BodyApi.md#Test-BodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
|
[**Test-BodyMultipartFormdataArrayOfBinary**](BodyApi.md#Test-BodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime
|
||||||
[**Test-BodyMultipartFormdataSingleBinary**](BodyApi.md#Test-BodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
|
[**Test-BodyMultipartFormdataSingleBinary**](BodyApi.md#Test-BodyMultipartFormdataSingleBinary) | **POST** /body/application/octetstream/single_binary | Test single binary in multipart mime
|
||||||
|
[**Test-EchoBodyAllOfPet**](BodyApi.md#Test-EchoBodyAllOfPet) | **POST** /echo/body/allOf/Pet | Test body parameter(s)
|
||||||
[**Test-EchoBodyFreeFormObjectResponseString**](BodyApi.md#Test-EchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
|
[**Test-EchoBodyFreeFormObjectResponseString**](BodyApi.md#Test-EchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object
|
||||||
[**Test-EchoBodyPet**](BodyApi.md#Test-EchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s)
|
[**Test-EchoBodyPet**](BodyApi.md#Test-EchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s)
|
||||||
[**Test-EchoBodyPetResponseString**](BodyApi.md#Test-EchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body
|
[**Test-EchoBodyPetResponseString**](BodyApi.md#Test-EchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body
|
||||||
[**Test-EchoBodyTagResponseString**](BodyApi.md#Test-EchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
|
|
||||||
[**Test-EchoBodyAllOfPet**](BodyApi.md#Test-EchoBodyAllOfPet) | **POST** /echo/body/allOf/Pet | Test body parameter(s)
|
|
||||||
[**Test-EchoBodyStringEnum**](BodyApi.md#Test-EchoBodyStringEnum) | **POST** /echo/body/string_enum | Test string enum response body
|
[**Test-EchoBodyStringEnum**](BodyApi.md#Test-EchoBodyStringEnum) | **POST** /echo/body/string_enum | Test string enum response body
|
||||||
|
[**Test-EchoBodyTagResponseString**](BodyApi.md#Test-EchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body)
|
||||||
|
|
||||||
|
|
||||||
<a id="Test-BinaryGif"></a>
|
<a id="Test-BinaryGif"></a>
|
||||||
@ -183,6 +183,51 @@ No authorization required
|
|||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
<a id="Test-EchoBodyAllOfPet"></a>
|
||||||
|
# **Test-EchoBodyAllOfPet**
|
||||||
|
> Pet Test-EchoBodyAllOfPet<br>
|
||||||
|
> [-Pet] <PSCustomObject><br>
|
||||||
|
|
||||||
|
Test body parameter(s)
|
||||||
|
|
||||||
|
Test body parameter(s)
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```powershell
|
||||||
|
$Category = Initialize-Category -Id 1 -Name "Dogs"
|
||||||
|
$Tag = Initialize-Tag -Id 0 -Name "MyName"
|
||||||
|
$Pet = Initialize-Pet -Id 10 -Name "doggie" -Category $Category -PhotoUrls "MyPhotoUrls" -Tags $Tag -Status "available" # Pet | Pet object that needs to be added to the store (optional)
|
||||||
|
|
||||||
|
# Test body parameter(s)
|
||||||
|
try {
|
||||||
|
$Result = Test-EchoBodyAllOfPet -Pet $Pet
|
||||||
|
} catch {
|
||||||
|
Write-Host ("Exception occurred when calling Test-EchoBodyAllOfPet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
||||||
|
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**Pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**Pet**](Pet.md) (PSCustomObject)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
<a id="Test-EchoBodyFreeFormObjectResponseString"></a>
|
<a id="Test-EchoBodyFreeFormObjectResponseString"></a>
|
||||||
# **Test-EchoBodyFreeFormObjectResponseString**
|
# **Test-EchoBodyFreeFormObjectResponseString**
|
||||||
> String Test-EchoBodyFreeFormObjectResponseString<br>
|
> String Test-EchoBodyFreeFormObjectResponseString<br>
|
||||||
@ -316,94 +361,6 @@ No authorization required
|
|||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
<a id="Test-EchoBodyTagResponseString"></a>
|
|
||||||
# **Test-EchoBodyTagResponseString**
|
|
||||||
> String Test-EchoBodyTagResponseString<br>
|
|
||||||
> [-Tag] <PSCustomObject><br>
|
|
||||||
|
|
||||||
Test empty json (request body)
|
|
||||||
|
|
||||||
Test empty json (request body)
|
|
||||||
|
|
||||||
### Example
|
|
||||||
```powershell
|
|
||||||
$Tag = Initialize-Tag -Id 0 -Name "MyName" # Tag | Tag object (optional)
|
|
||||||
|
|
||||||
# Test empty json (request body)
|
|
||||||
try {
|
|
||||||
$Result = Test-EchoBodyTagResponseString -Tag $Tag
|
|
||||||
} catch {
|
|
||||||
Write-Host ("Exception occurred when calling Test-EchoBodyTagResponseString: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
|
||||||
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**Tag** | [**Tag**](Tag.md)| Tag object | [optional]
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
**String**
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: text/plain
|
|
||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
||||||
|
|
||||||
<a id="Test-EchoBodyAllOfPet"></a>
|
|
||||||
# **Test-EchoBodyAllOfPet**
|
|
||||||
> Pet Test-EchoBodyAllOfPet<br>
|
|
||||||
> [-Pet] <PSCustomObject><br>
|
|
||||||
|
|
||||||
Test body parameter(s)
|
|
||||||
|
|
||||||
Test body parameter(s)
|
|
||||||
|
|
||||||
### Example
|
|
||||||
```powershell
|
|
||||||
$Category = Initialize-Category -Id 1 -Name "Dogs"
|
|
||||||
$Tag = Initialize-Tag -Id 0 -Name "MyName"
|
|
||||||
$Pet = Initialize-Pet -Id 10 -Name "doggie" -Category $Category -PhotoUrls "MyPhotoUrls" -Tags $Tag -Status "available" # Pet | Pet object that needs to be added to the store (optional)
|
|
||||||
|
|
||||||
# Test body parameter(s)
|
|
||||||
try {
|
|
||||||
$Result = Test-EchoBodyAllOfPet -Pet $Pet
|
|
||||||
} catch {
|
|
||||||
Write-Host ("Exception occurred when calling Test-EchoBodyAllOfPet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
|
||||||
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
**Pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | [optional]
|
|
||||||
|
|
||||||
### Return type
|
|
||||||
|
|
||||||
[**Pet**](Pet.md) (PSCustomObject)
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
### HTTP request headers
|
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
|
||||||
- **Accept**: application/json
|
|
||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
||||||
|
|
||||||
<a id="Test-EchoBodyStringEnum"></a>
|
<a id="Test-EchoBodyStringEnum"></a>
|
||||||
# **Test-EchoBodyStringEnum**
|
# **Test-EchoBodyStringEnum**
|
||||||
> StringEnumRef Test-EchoBodyStringEnum<br>
|
> StringEnumRef Test-EchoBodyStringEnum<br>
|
||||||
@ -447,3 +404,46 @@ No authorization required
|
|||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
<a id="Test-EchoBodyTagResponseString"></a>
|
||||||
|
# **Test-EchoBodyTagResponseString**
|
||||||
|
> String Test-EchoBodyTagResponseString<br>
|
||||||
|
> [-Tag] <PSCustomObject><br>
|
||||||
|
|
||||||
|
Test empty json (request body)
|
||||||
|
|
||||||
|
Test empty json (request body)
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```powershell
|
||||||
|
$Tag = Initialize-Tag -Id 0 -Name "MyName" # Tag | Tag object (optional)
|
||||||
|
|
||||||
|
# Test empty json (request body)
|
||||||
|
try {
|
||||||
|
$Result = Test-EchoBodyTagResponseString -Tag $Tag
|
||||||
|
} catch {
|
||||||
|
Write-Host ("Exception occurred when calling Test-EchoBodyTagResponseString: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
||||||
|
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**Tag** | [**Tag**](Tag.md)| Tag object | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
**String**
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: text/plain
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
<a id="Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
<a id="Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath"></a>
|
||||||
# **Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
# **Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
||||||
> String Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath<br>
|
> String Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath<br>
|
||||||
> [-PathString] <String><br>
|
> [-PathString] <String><br>
|
||||||
> [-PathInteger] <Int32><br>
|
> [-PathInteger] <Int32><br>
|
||||||
> [-EnumNonrefStringPath] <String><br>
|
> [-EnumNonrefStringPath] <String><br>
|
||||||
@ -28,9 +28,9 @@ $EnumRefStringPath = "success" # StringEnumRef |
|
|||||||
|
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
try {
|
try {
|
||||||
$Result = Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath -PathString $PathString -PathInteger $PathInteger -EnumNonrefStringPath $EnumNonrefStringPath -EnumRefStringPath $EnumRefStringPath
|
$Result = Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath -PathString $PathString -PathInteger $PathInteger -EnumNonrefStringPath $EnumNonrefStringPath -EnumRefStringPath $EnumRefStringPath
|
||||||
} catch {
|
} catch {
|
||||||
Write-Host ("Exception occurred when calling Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
Write-Host ("Exception occurred when calling Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
||||||
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
|
Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -196,7 +196,7 @@ function Test-BodyMultipartFormdataArrayOfBinary {
|
|||||||
$LocalVarUri = '/body/application/octetstream/array_of_binary'
|
$LocalVarUri = '/body/application/octetstream/array_of_binary'
|
||||||
|
|
||||||
if (!$Files) {
|
if (!$Files) {
|
||||||
throw "Error! The required parameter `Files` missing when calling test_body_multipart_formdata_arrayOfBinary."
|
throw "Error! The required parameter `Files` missing when calling testBodyMultipartFormdataArrayOfBinary."
|
||||||
}
|
}
|
||||||
$LocalVarFormParameters['files'] = $Files
|
$LocalVarFormParameters['files'] = $Files
|
||||||
|
|
||||||
@ -299,6 +299,80 @@ function Test-BodyMultipartFormdataSingleBinary {
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
|
|
||||||
|
Test body parameter(s)
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
|
||||||
|
No description available.
|
||||||
|
|
||||||
|
.PARAMETER Pet
|
||||||
|
Pet object that needs to be added to the store
|
||||||
|
|
||||||
|
.PARAMETER WithHttpInfo
|
||||||
|
|
||||||
|
A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response
|
||||||
|
|
||||||
|
.OUTPUTS
|
||||||
|
|
||||||
|
Pet
|
||||||
|
#>
|
||||||
|
function Test-EchoBodyAllOfPet {
|
||||||
|
[CmdletBinding()]
|
||||||
|
Param (
|
||||||
|
[Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
|
||||||
|
[PSCustomObject]
|
||||||
|
${Pet},
|
||||||
|
[Switch]
|
||||||
|
$WithHttpInfo
|
||||||
|
)
|
||||||
|
|
||||||
|
Process {
|
||||||
|
'Calling method: Test-EchoBodyAllOfPet' | Write-Debug
|
||||||
|
$PSBoundParameters | Out-DebugParameter | Write-Debug
|
||||||
|
|
||||||
|
$LocalVarAccepts = @()
|
||||||
|
$LocalVarContentTypes = @()
|
||||||
|
$LocalVarQueryParameters = @{}
|
||||||
|
$LocalVarHeaderParameters = @{}
|
||||||
|
$LocalVarFormParameters = @{}
|
||||||
|
$LocalVarPathParameters = @{}
|
||||||
|
$LocalVarCookieParameters = @{}
|
||||||
|
$LocalVarBodyParameter = $null
|
||||||
|
|
||||||
|
$Configuration = Get-Configuration
|
||||||
|
# HTTP header 'Accept' (if needed)
|
||||||
|
$LocalVarAccepts = @('application/json')
|
||||||
|
|
||||||
|
# HTTP header 'Content-Type'
|
||||||
|
$LocalVarContentTypes = @('application/json')
|
||||||
|
|
||||||
|
$LocalVarUri = '/echo/body/allOf/Pet'
|
||||||
|
|
||||||
|
$LocalVarBodyParameter = $Pet | ConvertTo-Json -Depth 100
|
||||||
|
|
||||||
|
$LocalVarResult = Invoke-ApiClient -Method 'POST' `
|
||||||
|
-Uri $LocalVarUri `
|
||||||
|
-Accepts $LocalVarAccepts `
|
||||||
|
-ContentTypes $LocalVarContentTypes `
|
||||||
|
-Body $LocalVarBodyParameter `
|
||||||
|
-HeaderParameters $LocalVarHeaderParameters `
|
||||||
|
-QueryParameters $LocalVarQueryParameters `
|
||||||
|
-FormParameters $LocalVarFormParameters `
|
||||||
|
-CookieParameters $LocalVarCookieParameters `
|
||||||
|
-ReturnType "Pet" `
|
||||||
|
-IsBodyNullable $false
|
||||||
|
|
||||||
|
if ($WithHttpInfo.IsPresent) {
|
||||||
|
return $LocalVarResult
|
||||||
|
} else {
|
||||||
|
return $LocalVarResult["Response"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
|
||||||
Test free form object
|
Test free form object
|
||||||
|
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
@ -521,154 +595,6 @@ function Test-EchoBodyPetResponseString {
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
|
|
||||||
Test empty json (request body)
|
|
||||||
|
|
||||||
.DESCRIPTION
|
|
||||||
|
|
||||||
No description available.
|
|
||||||
|
|
||||||
.PARAMETER Tag
|
|
||||||
Tag object
|
|
||||||
|
|
||||||
.PARAMETER WithHttpInfo
|
|
||||||
|
|
||||||
A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response
|
|
||||||
|
|
||||||
.OUTPUTS
|
|
||||||
|
|
||||||
String
|
|
||||||
#>
|
|
||||||
function Test-EchoBodyTagResponseString {
|
|
||||||
[CmdletBinding()]
|
|
||||||
Param (
|
|
||||||
[Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
|
|
||||||
[PSCustomObject]
|
|
||||||
${Tag},
|
|
||||||
[Switch]
|
|
||||||
$WithHttpInfo
|
|
||||||
)
|
|
||||||
|
|
||||||
Process {
|
|
||||||
'Calling method: Test-EchoBodyTagResponseString' | Write-Debug
|
|
||||||
$PSBoundParameters | Out-DebugParameter | Write-Debug
|
|
||||||
|
|
||||||
$LocalVarAccepts = @()
|
|
||||||
$LocalVarContentTypes = @()
|
|
||||||
$LocalVarQueryParameters = @{}
|
|
||||||
$LocalVarHeaderParameters = @{}
|
|
||||||
$LocalVarFormParameters = @{}
|
|
||||||
$LocalVarPathParameters = @{}
|
|
||||||
$LocalVarCookieParameters = @{}
|
|
||||||
$LocalVarBodyParameter = $null
|
|
||||||
|
|
||||||
$Configuration = Get-Configuration
|
|
||||||
# HTTP header 'Accept' (if needed)
|
|
||||||
$LocalVarAccepts = @('text/plain')
|
|
||||||
|
|
||||||
# HTTP header 'Content-Type'
|
|
||||||
$LocalVarContentTypes = @('application/json')
|
|
||||||
|
|
||||||
$LocalVarUri = '/echo/body/Tag/response_string'
|
|
||||||
|
|
||||||
$LocalVarBodyParameter = $Tag | ConvertTo-Json -Depth 100
|
|
||||||
|
|
||||||
$LocalVarResult = Invoke-ApiClient -Method 'POST' `
|
|
||||||
-Uri $LocalVarUri `
|
|
||||||
-Accepts $LocalVarAccepts `
|
|
||||||
-ContentTypes $LocalVarContentTypes `
|
|
||||||
-Body $LocalVarBodyParameter `
|
|
||||||
-HeaderParameters $LocalVarHeaderParameters `
|
|
||||||
-QueryParameters $LocalVarQueryParameters `
|
|
||||||
-FormParameters $LocalVarFormParameters `
|
|
||||||
-CookieParameters $LocalVarCookieParameters `
|
|
||||||
-ReturnType "String" `
|
|
||||||
-IsBodyNullable $false
|
|
||||||
|
|
||||||
if ($WithHttpInfo.IsPresent) {
|
|
||||||
return $LocalVarResult
|
|
||||||
} else {
|
|
||||||
return $LocalVarResult["Response"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
|
|
||||||
Test body parameter(s)
|
|
||||||
|
|
||||||
.DESCRIPTION
|
|
||||||
|
|
||||||
No description available.
|
|
||||||
|
|
||||||
.PARAMETER Pet
|
|
||||||
Pet object that needs to be added to the store
|
|
||||||
|
|
||||||
.PARAMETER WithHttpInfo
|
|
||||||
|
|
||||||
A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response
|
|
||||||
|
|
||||||
.OUTPUTS
|
|
||||||
|
|
||||||
Pet
|
|
||||||
#>
|
|
||||||
function Test-EchoBodyAllOfPet {
|
|
||||||
[CmdletBinding()]
|
|
||||||
Param (
|
|
||||||
[Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
|
|
||||||
[PSCustomObject]
|
|
||||||
${Pet},
|
|
||||||
[Switch]
|
|
||||||
$WithHttpInfo
|
|
||||||
)
|
|
||||||
|
|
||||||
Process {
|
|
||||||
'Calling method: Test-EchoBodyAllOfPet' | Write-Debug
|
|
||||||
$PSBoundParameters | Out-DebugParameter | Write-Debug
|
|
||||||
|
|
||||||
$LocalVarAccepts = @()
|
|
||||||
$LocalVarContentTypes = @()
|
|
||||||
$LocalVarQueryParameters = @{}
|
|
||||||
$LocalVarHeaderParameters = @{}
|
|
||||||
$LocalVarFormParameters = @{}
|
|
||||||
$LocalVarPathParameters = @{}
|
|
||||||
$LocalVarCookieParameters = @{}
|
|
||||||
$LocalVarBodyParameter = $null
|
|
||||||
|
|
||||||
$Configuration = Get-Configuration
|
|
||||||
# HTTP header 'Accept' (if needed)
|
|
||||||
$LocalVarAccepts = @('application/json')
|
|
||||||
|
|
||||||
# HTTP header 'Content-Type'
|
|
||||||
$LocalVarContentTypes = @('application/json')
|
|
||||||
|
|
||||||
$LocalVarUri = '/echo/body/allOf/Pet'
|
|
||||||
|
|
||||||
$LocalVarBodyParameter = $Pet | ConvertTo-Json -Depth 100
|
|
||||||
|
|
||||||
$LocalVarResult = Invoke-ApiClient -Method 'POST' `
|
|
||||||
-Uri $LocalVarUri `
|
|
||||||
-Accepts $LocalVarAccepts `
|
|
||||||
-ContentTypes $LocalVarContentTypes `
|
|
||||||
-Body $LocalVarBodyParameter `
|
|
||||||
-HeaderParameters $LocalVarHeaderParameters `
|
|
||||||
-QueryParameters $LocalVarQueryParameters `
|
|
||||||
-FormParameters $LocalVarFormParameters `
|
|
||||||
-CookieParameters $LocalVarCookieParameters `
|
|
||||||
-ReturnType "Pet" `
|
|
||||||
-IsBodyNullable $false
|
|
||||||
|
|
||||||
if ($WithHttpInfo.IsPresent) {
|
|
||||||
return $LocalVarResult
|
|
||||||
} else {
|
|
||||||
return $LocalVarResult["Response"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
|
|
||||||
Test string enum response body
|
Test string enum response body
|
||||||
|
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
@ -740,3 +666,77 @@ function Test-EchoBodyStringEnum {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
|
||||||
|
Test empty json (request body)
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
|
||||||
|
No description available.
|
||||||
|
|
||||||
|
.PARAMETER Tag
|
||||||
|
Tag object
|
||||||
|
|
||||||
|
.PARAMETER WithHttpInfo
|
||||||
|
|
||||||
|
A switch when turned on will return a hash table of Response, StatusCode and Headers instead of just the Response
|
||||||
|
|
||||||
|
.OUTPUTS
|
||||||
|
|
||||||
|
String
|
||||||
|
#>
|
||||||
|
function Test-EchoBodyTagResponseString {
|
||||||
|
[CmdletBinding()]
|
||||||
|
Param (
|
||||||
|
[Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
|
||||||
|
[PSCustomObject]
|
||||||
|
${Tag},
|
||||||
|
[Switch]
|
||||||
|
$WithHttpInfo
|
||||||
|
)
|
||||||
|
|
||||||
|
Process {
|
||||||
|
'Calling method: Test-EchoBodyTagResponseString' | Write-Debug
|
||||||
|
$PSBoundParameters | Out-DebugParameter | Write-Debug
|
||||||
|
|
||||||
|
$LocalVarAccepts = @()
|
||||||
|
$LocalVarContentTypes = @()
|
||||||
|
$LocalVarQueryParameters = @{}
|
||||||
|
$LocalVarHeaderParameters = @{}
|
||||||
|
$LocalVarFormParameters = @{}
|
||||||
|
$LocalVarPathParameters = @{}
|
||||||
|
$LocalVarCookieParameters = @{}
|
||||||
|
$LocalVarBodyParameter = $null
|
||||||
|
|
||||||
|
$Configuration = Get-Configuration
|
||||||
|
# HTTP header 'Accept' (if needed)
|
||||||
|
$LocalVarAccepts = @('text/plain')
|
||||||
|
|
||||||
|
# HTTP header 'Content-Type'
|
||||||
|
$LocalVarContentTypes = @('application/json')
|
||||||
|
|
||||||
|
$LocalVarUri = '/echo/body/Tag/response_string'
|
||||||
|
|
||||||
|
$LocalVarBodyParameter = $Tag | ConvertTo-Json -Depth 100
|
||||||
|
|
||||||
|
$LocalVarResult = Invoke-ApiClient -Method 'POST' `
|
||||||
|
-Uri $LocalVarUri `
|
||||||
|
-Accepts $LocalVarAccepts `
|
||||||
|
-ContentTypes $LocalVarContentTypes `
|
||||||
|
-Body $LocalVarBodyParameter `
|
||||||
|
-HeaderParameters $LocalVarHeaderParameters `
|
||||||
|
-QueryParameters $LocalVarQueryParameters `
|
||||||
|
-FormParameters $LocalVarFormParameters `
|
||||||
|
-CookieParameters $LocalVarCookieParameters `
|
||||||
|
-ReturnType "String" `
|
||||||
|
-IsBodyNullable $false
|
||||||
|
|
||||||
|
if ($WithHttpInfo.IsPresent) {
|
||||||
|
return $LocalVarResult
|
||||||
|
} else {
|
||||||
|
return $LocalVarResult["Response"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ function Test-FormObjectMultipart {
|
|||||||
$LocalVarUri = '/form/object/multipart'
|
$LocalVarUri = '/form/object/multipart'
|
||||||
|
|
||||||
if (!$Marker) {
|
if (!$Marker) {
|
||||||
throw "Error! The required parameter `Marker` missing when calling test_form_object_multipart."
|
throw "Error! The required parameter `Marker` missing when calling testFormObjectMultipart."
|
||||||
}
|
}
|
||||||
$LocalVarFormParameters['marker'] = $Marker
|
$LocalVarFormParameters['marker'] = $Marker
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ A switch when turned on will return a hash table of Response, StatusCode and Hea
|
|||||||
|
|
||||||
String
|
String
|
||||||
#>
|
#>
|
||||||
function Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath {
|
function Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
Param (
|
Param (
|
||||||
[Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
|
[Parameter(Position = 0, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true, Mandatory = $false)]
|
||||||
@ -56,7 +56,7 @@ function Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRef
|
|||||||
)
|
)
|
||||||
|
|
||||||
Process {
|
Process {
|
||||||
'Calling method: Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath' | Write-Debug
|
'Calling method: Test-sPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath' | Write-Debug
|
||||||
$PSBoundParameters | Out-DebugParameter | Write-Debug
|
$PSBoundParameters | Out-DebugParameter | Write-Debug
|
||||||
|
|
||||||
$LocalVarAccepts = @()
|
$LocalVarAccepts = @()
|
||||||
@ -74,19 +74,19 @@ function Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRef
|
|||||||
|
|
||||||
$LocalVarUri = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'
|
$LocalVarUri = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'
|
||||||
if (!$PathString) {
|
if (!$PathString) {
|
||||||
throw "Error! The required parameter `PathString` missing when calling tests_path_string_pathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
throw "Error! The required parameter `PathString` missing when calling testsPathStringpathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
||||||
}
|
}
|
||||||
$LocalVarUri = $LocalVarUri.replace('{path_string}', [System.Web.HTTPUtility]::UrlEncode($PathString))
|
$LocalVarUri = $LocalVarUri.replace('{path_string}', [System.Web.HTTPUtility]::UrlEncode($PathString))
|
||||||
if (!$PathInteger) {
|
if (!$PathInteger) {
|
||||||
throw "Error! The required parameter `PathInteger` missing when calling tests_path_string_pathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
throw "Error! The required parameter `PathInteger` missing when calling testsPathStringpathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
||||||
}
|
}
|
||||||
$LocalVarUri = $LocalVarUri.replace('{path_integer}', [System.Web.HTTPUtility]::UrlEncode($PathInteger))
|
$LocalVarUri = $LocalVarUri.replace('{path_integer}', [System.Web.HTTPUtility]::UrlEncode($PathInteger))
|
||||||
if (!$EnumNonrefStringPath) {
|
if (!$EnumNonrefStringPath) {
|
||||||
throw "Error! The required parameter `EnumNonrefStringPath` missing when calling tests_path_string_pathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
throw "Error! The required parameter `EnumNonrefStringPath` missing when calling testsPathStringpathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
||||||
}
|
}
|
||||||
$LocalVarUri = $LocalVarUri.replace('{enum_nonref_string_path}', [System.Web.HTTPUtility]::UrlEncode($EnumNonrefStringPath))
|
$LocalVarUri = $LocalVarUri.replace('{enum_nonref_string_path}', [System.Web.HTTPUtility]::UrlEncode($EnumNonrefStringPath))
|
||||||
if (!$EnumRefStringPath) {
|
if (!$EnumRefStringPath) {
|
||||||
throw "Error! The required parameter `EnumRefStringPath` missing when calling tests_path_string_pathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
throw "Error! The required parameter `EnumRefStringPath` missing when calling testsPathStringpathString_integer_pathInteger_enumNonrefStringPath_enumRefStringPath."
|
||||||
}
|
}
|
||||||
$LocalVarUri = $LocalVarUri.replace('{enum_ref_string_path}', [System.Web.HTTPUtility]::UrlEncode($EnumRefStringPath))
|
$LocalVarUri = $LocalVarUri.replace('{enum_ref_string_path}', [System.Web.HTTPUtility]::UrlEncode($EnumRefStringPath))
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,11 +4,11 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
# **tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**
|
# **tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**
|
||||||
> str tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> str tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -41,11 +41,11 @@ with openapi_client.ApiClient(configuration) as api_client:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
api_response = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
api_response = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
print("The response of PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path:\n")
|
print("The response of PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path:\n")
|
||||||
pprint(api_response)
|
pprint(api_response)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Exception when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: %s\n" % e)
|
print("Exception when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: %s\n" % e)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ class PathApi:
|
|||||||
|
|
||||||
|
|
||||||
@validate_call
|
@validate_call
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(
|
||||||
self,
|
self,
|
||||||
path_string: StrictStr,
|
path_string: StrictStr,
|
||||||
path_integer: StrictInt,
|
path_integer: StrictInt,
|
||||||
@ -92,7 +92,7 @@ class PathApi:
|
|||||||
:return: Returns the result object.
|
:return: Returns the result object.
|
||||||
""" # noqa: E501
|
""" # noqa: E501
|
||||||
|
|
||||||
_param = self._tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
_param = self._tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
path_string=path_string,
|
path_string=path_string,
|
||||||
path_integer=path_integer,
|
path_integer=path_integer,
|
||||||
enum_nonref_string_path=enum_nonref_string_path,
|
enum_nonref_string_path=enum_nonref_string_path,
|
||||||
@ -118,7 +118,7 @@ class PathApi:
|
|||||||
|
|
||||||
|
|
||||||
@validate_call
|
@validate_call
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(
|
||||||
self,
|
self,
|
||||||
path_string: StrictStr,
|
path_string: StrictStr,
|
||||||
path_integer: StrictInt,
|
path_integer: StrictInt,
|
||||||
@ -171,7 +171,7 @@ class PathApi:
|
|||||||
:return: Returns the result object.
|
:return: Returns the result object.
|
||||||
""" # noqa: E501
|
""" # noqa: E501
|
||||||
|
|
||||||
_param = self._tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
_param = self._tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
path_string=path_string,
|
path_string=path_string,
|
||||||
path_integer=path_integer,
|
path_integer=path_integer,
|
||||||
enum_nonref_string_path=enum_nonref_string_path,
|
enum_nonref_string_path=enum_nonref_string_path,
|
||||||
@ -197,7 +197,7 @@ class PathApi:
|
|||||||
|
|
||||||
|
|
||||||
@validate_call
|
@validate_call
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_without_preload_content(
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_without_preload_content(
|
||||||
self,
|
self,
|
||||||
path_string: StrictStr,
|
path_string: StrictStr,
|
||||||
path_integer: StrictInt,
|
path_integer: StrictInt,
|
||||||
@ -250,7 +250,7 @@ class PathApi:
|
|||||||
:return: Returns the result object.
|
:return: Returns the result object.
|
||||||
""" # noqa: E501
|
""" # noqa: E501
|
||||||
|
|
||||||
_param = self._tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
_param = self._tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
path_string=path_string,
|
path_string=path_string,
|
||||||
path_integer=path_integer,
|
path_integer=path_integer,
|
||||||
enum_nonref_string_path=enum_nonref_string_path,
|
enum_nonref_string_path=enum_nonref_string_path,
|
||||||
@ -271,7 +271,7 @@ class PathApi:
|
|||||||
return response_data.response
|
return response_data.response
|
||||||
|
|
||||||
|
|
||||||
def _tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
def _tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
self,
|
self,
|
||||||
path_string,
|
path_string,
|
||||||
path_integer,
|
path_integer,
|
||||||
|
@ -111,7 +111,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,11 +4,11 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
# **tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**
|
# **tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**
|
||||||
> str tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> str tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -42,11 +42,11 @@ with openapi_client.ApiClient(configuration) as api_client:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
api_response = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
api_response = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
print("The response of PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path:\n")
|
print("The response of PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path:\n")
|
||||||
pprint(api_response)
|
pprint(api_response)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Exception when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: %s\n" % e)
|
print("Exception when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: %s\n" % e)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,14 +44,14 @@ class PathApi:
|
|||||||
self.api_client = api_client
|
self.api_client = api_client
|
||||||
|
|
||||||
@validate_arguments
|
@validate_arguments
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(self, path_string : StrictStr, path_integer : StrictInt, enum_nonref_string_path : StrictStr, enum_ref_string_path : StringEnumRef, **kwargs) -> str: # noqa: E501
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(self, path_string : StrictStr, path_integer : StrictInt, enum_nonref_string_path : StrictStr, enum_ref_string_path : StringEnumRef, **kwargs) -> str: # noqa: E501
|
||||||
"""Test path parameter(s) # noqa: E501
|
"""Test path parameter(s) # noqa: E501
|
||||||
|
|
||||||
Test path parameter(s) # noqa: E501
|
Test path parameter(s) # noqa: E501
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please pass async_req=True
|
asynchronous HTTP request, please pass async_req=True
|
||||||
|
|
||||||
>>> thread = api.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, async_req=True)
|
>>> thread = api.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, async_req=True)
|
||||||
>>> result = thread.get()
|
>>> result = thread.get()
|
||||||
|
|
||||||
:param path_string: (required)
|
:param path_string: (required)
|
||||||
@ -75,19 +75,19 @@ class PathApi:
|
|||||||
"""
|
"""
|
||||||
kwargs['_return_http_data_only'] = True
|
kwargs['_return_http_data_only'] = True
|
||||||
if '_preload_content' in kwargs:
|
if '_preload_content' in kwargs:
|
||||||
message = "Error! Please call the tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
message = "Error! Please call the tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
||||||
raise ValueError(message)
|
raise ValueError(message)
|
||||||
return self.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, **kwargs) # noqa: E501
|
return self.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, **kwargs) # noqa: E501
|
||||||
|
|
||||||
@validate_arguments
|
@validate_arguments
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(self, path_string : StrictStr, path_integer : StrictInt, enum_nonref_string_path : StrictStr, enum_ref_string_path : StringEnumRef, **kwargs) -> ApiResponse: # noqa: E501
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(self, path_string : StrictStr, path_integer : StrictInt, enum_nonref_string_path : StrictStr, enum_ref_string_path : StringEnumRef, **kwargs) -> ApiResponse: # noqa: E501
|
||||||
"""Test path parameter(s) # noqa: E501
|
"""Test path parameter(s) # noqa: E501
|
||||||
|
|
||||||
Test path parameter(s) # noqa: E501
|
Test path parameter(s) # noqa: E501
|
||||||
This method makes a synchronous HTTP request by default. To make an
|
This method makes a synchronous HTTP request by default. To make an
|
||||||
asynchronous HTTP request, please pass async_req=True
|
asynchronous HTTP request, please pass async_req=True
|
||||||
|
|
||||||
>>> thread = api.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, async_req=True)
|
>>> thread = api.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, async_req=True)
|
||||||
>>> result = thread.get()
|
>>> result = thread.get()
|
||||||
|
|
||||||
:param path_string: (required)
|
:param path_string: (required)
|
||||||
@ -148,7 +148,7 @@ class PathApi:
|
|||||||
if _key not in _all_params:
|
if _key not in _all_params:
|
||||||
raise ApiTypeError(
|
raise ApiTypeError(
|
||||||
"Got an unexpected keyword argument '%s'"
|
"Got an unexpected keyword argument '%s'"
|
||||||
" to method tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path" % _key
|
" to method tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path" % _key
|
||||||
)
|
)
|
||||||
_params[_key] = _val
|
_params[_key] = _val
|
||||||
del _params['kwargs']
|
del _params['kwargs']
|
||||||
|
@ -110,7 +110,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,11 +4,11 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
# **tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**
|
# **tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**
|
||||||
> str tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> str tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -41,11 +41,11 @@ with openapi_client.ApiClient(configuration) as api_client:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
api_response = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
api_response = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
print("The response of PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path:\n")
|
print("The response of PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path:\n")
|
||||||
pprint(api_response)
|
pprint(api_response)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Exception when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: %s\n" % e)
|
print("Exception when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: %s\n" % e)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ class PathApi:
|
|||||||
|
|
||||||
|
|
||||||
@validate_call
|
@validate_call
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(
|
||||||
self,
|
self,
|
||||||
path_string: StrictStr,
|
path_string: StrictStr,
|
||||||
path_integer: StrictInt,
|
path_integer: StrictInt,
|
||||||
@ -92,7 +92,7 @@ class PathApi:
|
|||||||
:return: Returns the result object.
|
:return: Returns the result object.
|
||||||
""" # noqa: E501
|
""" # noqa: E501
|
||||||
|
|
||||||
_param = self._tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
_param = self._tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
path_string=path_string,
|
path_string=path_string,
|
||||||
path_integer=path_integer,
|
path_integer=path_integer,
|
||||||
enum_nonref_string_path=enum_nonref_string_path,
|
enum_nonref_string_path=enum_nonref_string_path,
|
||||||
@ -118,7 +118,7 @@ class PathApi:
|
|||||||
|
|
||||||
|
|
||||||
@validate_call
|
@validate_call
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(
|
||||||
self,
|
self,
|
||||||
path_string: StrictStr,
|
path_string: StrictStr,
|
||||||
path_integer: StrictInt,
|
path_integer: StrictInt,
|
||||||
@ -171,7 +171,7 @@ class PathApi:
|
|||||||
:return: Returns the result object.
|
:return: Returns the result object.
|
||||||
""" # noqa: E501
|
""" # noqa: E501
|
||||||
|
|
||||||
_param = self._tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
_param = self._tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
path_string=path_string,
|
path_string=path_string,
|
||||||
path_integer=path_integer,
|
path_integer=path_integer,
|
||||||
enum_nonref_string_path=enum_nonref_string_path,
|
enum_nonref_string_path=enum_nonref_string_path,
|
||||||
@ -197,7 +197,7 @@ class PathApi:
|
|||||||
|
|
||||||
|
|
||||||
@validate_call
|
@validate_call
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_without_preload_content(
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_without_preload_content(
|
||||||
self,
|
self,
|
||||||
path_string: StrictStr,
|
path_string: StrictStr,
|
||||||
path_integer: StrictInt,
|
path_integer: StrictInt,
|
||||||
@ -250,7 +250,7 @@ class PathApi:
|
|||||||
:return: Returns the result object.
|
:return: Returns the result object.
|
||||||
""" # noqa: E501
|
""" # noqa: E501
|
||||||
|
|
||||||
_param = self._tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
_param = self._tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
path_string=path_string,
|
path_string=path_string,
|
||||||
path_integer=path_integer,
|
path_integer=path_integer,
|
||||||
enum_nonref_string_path=enum_nonref_string_path,
|
enum_nonref_string_path=enum_nonref_string_path,
|
||||||
@ -271,7 +271,7 @@ class PathApi:
|
|||||||
return response_data.response
|
return response_data.response
|
||||||
|
|
||||||
|
|
||||||
def _tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
def _tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_serialize(
|
||||||
self,
|
self,
|
||||||
path_string,
|
path_string,
|
||||||
path_integer,
|
path_integer,
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#'
|
#'
|
||||||
#' @section Methods:
|
#' @section Methods:
|
||||||
#' \describe{
|
#' \describe{
|
||||||
#' \strong{ TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath } \emph{ Test path parameter(s) }
|
#' \strong{ TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath } \emph{ Test path parameter(s) }
|
||||||
#' Test path parameter(s)
|
#' Test path parameter(s)
|
||||||
#'
|
#'
|
||||||
#' \itemize{
|
#' \itemize{
|
||||||
@ -38,7 +38,7 @@
|
|||||||
#'
|
#'
|
||||||
#' @examples
|
#' @examples
|
||||||
#' \dontrun{
|
#' \dontrun{
|
||||||
#' #################### TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath ####################
|
#' #################### TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath ####################
|
||||||
#'
|
#'
|
||||||
#' library(openapi)
|
#' library(openapi)
|
||||||
#' var_path_string <- "path_string_example" # character |
|
#' var_path_string <- "path_string_example" # character |
|
||||||
@ -50,8 +50,8 @@
|
|||||||
#' api_instance <- PathApi$new()
|
#' api_instance <- PathApi$new()
|
||||||
#'
|
#'
|
||||||
#' # to save the result into a file, simply add the optional `data_file` parameter, e.g.
|
#' # to save the result into a file, simply add the optional `data_file` parameter, e.g.
|
||||||
#' # result <- api_instance$TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_pathdata_file = "result.txt")
|
#' # result <- api_instance$TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_pathdata_file = "result.txt")
|
||||||
#' result <- api_instance$TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_path)
|
#' result <- api_instance$TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_path)
|
||||||
#' dput(result)
|
#' dput(result)
|
||||||
#'
|
#'
|
||||||
#'
|
#'
|
||||||
@ -90,8 +90,8 @@ PathApi <- R6::R6Class(
|
|||||||
#' @param ... Other optional arguments
|
#' @param ... Other optional arguments
|
||||||
#' @return character
|
#' @return character
|
||||||
#' @export
|
#' @export
|
||||||
TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath = function(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, data_file = NULL, ...) {
|
TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath = function(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, data_file = NULL, ...) {
|
||||||
local_var_response <- self$TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, data_file = data_file, ...)
|
local_var_response <- self$TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, data_file = data_file, ...)
|
||||||
if (local_var_response$status_code >= 200 && local_var_response$status_code <= 299) {
|
if (local_var_response$status_code >= 200 && local_var_response$status_code <= 299) {
|
||||||
local_var_response$content
|
local_var_response$content
|
||||||
} else if (local_var_response$status_code >= 300 && local_var_response$status_code <= 399) {
|
} else if (local_var_response$status_code >= 300 && local_var_response$status_code <= 399) {
|
||||||
@ -115,7 +115,7 @@ PathApi <- R6::R6Class(
|
|||||||
#' @param ... Other optional arguments
|
#' @param ... Other optional arguments
|
||||||
#' @return API response (character) with additional information such as HTTP status code, headers
|
#' @return API response (character) with additional information such as HTTP status code, headers
|
||||||
#' @export
|
#' @export
|
||||||
TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo = function(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, data_file = NULL, ...) {
|
TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo = function(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, data_file = NULL, ...) {
|
||||||
args <- list(...)
|
args <- list(...)
|
||||||
query_params <- list()
|
query_params <- list()
|
||||||
header_params <- c()
|
header_params <- c()
|
||||||
|
@ -89,7 +89,7 @@ Class | Method | HTTP request | Description
|
|||||||
*FormApi* | [**TestFormObjectMultipart**](docs/FormApi.md#TestFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*FormApi* | [**TestFormObjectMultipart**](docs/FormApi.md#TestFormObjectMultipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*FormApi* | [**TestFormOneof**](docs/FormApi.md#TestFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*FormApi* | [**TestFormOneof**](docs/FormApi.md#TestFormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*HeaderApi* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#TestHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*HeaderApi* | [**TestHeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#TestHeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*PathApi* | [**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*PathApi* | [**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*QueryApi* | [**TestEnumRefString**](docs/QueryApi.md#TestEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*QueryApi* | [**TestEnumRefString**](docs/QueryApi.md#TestEnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*QueryApi* | [**TestQueryDatetimeDateString**](docs/QueryApi.md#TestQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*QueryApi* | [**TestQueryDatetimeDateString**](docs/QueryApi.md#TestQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*QueryApi* | [**TestQueryIntegerBooleanString**](docs/QueryApi.md#TestQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*QueryApi* | [**TestQueryIntegerBooleanString**](docs/QueryApi.md#TestQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,11 +4,11 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
Method | HTTP request | Description
|
Method | HTTP request | Description
|
||||||
------------- | ------------- | -------------
|
------------- | ------------- | -------------
|
||||||
[**TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
[**TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](PathApi.md#TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
|
|
||||||
|
|
||||||
# **TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
# **TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**
|
||||||
> character TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> character TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -28,8 +28,8 @@ var_enum_ref_string_path <- StringEnumRef$new() # StringEnumRef |
|
|||||||
|
|
||||||
api_instance <- PathApi$new()
|
api_instance <- PathApi$new()
|
||||||
# to save the result into a file, simply add the optional `data_file` parameter, e.g.
|
# to save the result into a file, simply add the optional `data_file` parameter, e.g.
|
||||||
# result <- api_instance$TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_pathdata_file = "result.txt")
|
# result <- api_instance$TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_pathdata_file = "result.txt")
|
||||||
result <- api_instance$TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_path)
|
result <- api_instance$TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(var_path_string, var_path_integer, var_enum_nonref_string_path, var_enum_ref_string_path)
|
||||||
dput(result)
|
dput(result)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ Class | Method | HTTP request | Description
|
|||||||
*OpenapiClient::FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*OpenapiClient::FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*OpenapiClient::FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*OpenapiClient::FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*OpenapiClient::HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*OpenapiClient::HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*OpenapiClient::PathApi* | [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*OpenapiClient::PathApi* | [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
| ------ | ------------ | ----------- |
|
| ------ | ------------ | ----------- |
|
||||||
| [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
## tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
|
## tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
|
||||||
|
|
||||||
> String tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> String tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -29,28 +29,28 @@ enum_ref_string_path = OpenapiClient::StringEnumRef::SUCCESS # StringEnumRef |
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
result = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
result = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
p result
|
p result
|
||||||
rescue OpenapiClient::ApiError => e
|
rescue OpenapiClient::ApiError => e
|
||||||
puts "Error when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: #{e}"
|
puts "Error when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: #{e}"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Using the tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info variant
|
#### Using the tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info variant
|
||||||
|
|
||||||
This returns an Array which contains the response data, status code and headers.
|
This returns an Array which contains the response data, status code and headers.
|
||||||
|
|
||||||
> <Array(String, Integer, Hash)> tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> <Array(String, Integer, Hash)> tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
begin
|
begin
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
data, status_code, headers = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
data, status_code, headers = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
p status_code # => 2xx
|
p status_code # => 2xx
|
||||||
p headers # => { ... }
|
p headers # => { ... }
|
||||||
p data # => String
|
p data # => String
|
||||||
rescue OpenapiClient::ApiError => e
|
rescue OpenapiClient::ApiError => e
|
||||||
puts "Error when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info: #{e}"
|
puts "Error when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info: #{e}"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ module OpenapiClient
|
|||||||
# @param enum_ref_string_path [StringEnumRef]
|
# @param enum_ref_string_path [StringEnumRef]
|
||||||
# @param [Hash] opts the optional parameters
|
# @param [Hash] opts the optional parameters
|
||||||
# @return [String]
|
# @return [String]
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
||||||
data, _status_code, _headers = tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts)
|
data, _status_code, _headers = tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts)
|
||||||
data
|
data
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -40,21 +40,21 @@ module OpenapiClient
|
|||||||
# @param enum_ref_string_path [StringEnumRef]
|
# @param enum_ref_string_path [StringEnumRef]
|
||||||
# @param [Hash] opts the optional parameters
|
# @param [Hash] opts the optional parameters
|
||||||
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
||||||
if @api_client.config.debugging
|
if @api_client.config.debugging
|
||||||
@api_client.config.logger.debug 'Calling API: PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path ...'
|
@api_client.config.logger.debug 'Calling API: PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path ...'
|
||||||
end
|
end
|
||||||
# verify the required parameter 'path_string' is set
|
# verify the required parameter 'path_string' is set
|
||||||
if @api_client.config.client_side_validation && path_string.nil?
|
if @api_client.config.client_side_validation && path_string.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'path_string' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'path_string' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify the required parameter 'path_integer' is set
|
# verify the required parameter 'path_integer' is set
|
||||||
if @api_client.config.client_side_validation && path_integer.nil?
|
if @api_client.config.client_side_validation && path_integer.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'path_integer' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'path_integer' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify the required parameter 'enum_nonref_string_path' is set
|
# verify the required parameter 'enum_nonref_string_path' is set
|
||||||
if @api_client.config.client_side_validation && enum_nonref_string_path.nil?
|
if @api_client.config.client_side_validation && enum_nonref_string_path.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'enum_nonref_string_path' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'enum_nonref_string_path' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify enum value
|
# verify enum value
|
||||||
allowable_values = ["success", "failure", "unclassified"]
|
allowable_values = ["success", "failure", "unclassified"]
|
||||||
@ -63,7 +63,7 @@ module OpenapiClient
|
|||||||
end
|
end
|
||||||
# verify the required parameter 'enum_ref_string_path' is set
|
# verify the required parameter 'enum_ref_string_path' is set
|
||||||
if @api_client.config.client_side_validation && enum_ref_string_path.nil?
|
if @api_client.config.client_side_validation && enum_ref_string_path.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'enum_ref_string_path' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'enum_ref_string_path' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# resource path
|
# resource path
|
||||||
local_var_path = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'.sub('{' + 'path_string' + '}', CGI.escape(path_string.to_s)).sub('{' + 'path_integer' + '}', CGI.escape(path_integer.to_s)).sub('{' + 'enum_nonref_string_path' + '}', CGI.escape(enum_nonref_string_path.to_s)).sub('{' + 'enum_ref_string_path' + '}', CGI.escape(enum_ref_string_path.to_s))
|
local_var_path = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'.sub('{' + 'path_string' + '}', CGI.escape(path_string.to_s)).sub('{' + 'path_integer' + '}', CGI.escape(path_integer.to_s)).sub('{' + 'enum_nonref_string_path' + '}', CGI.escape(enum_nonref_string_path.to_s)).sub('{' + 'enum_ref_string_path' + '}', CGI.escape(enum_ref_string_path.to_s))
|
||||||
@ -89,7 +89,7 @@ module OpenapiClient
|
|||||||
auth_names = opts[:debug_auth_names] || []
|
auth_names = opts[:debug_auth_names] || []
|
||||||
|
|
||||||
new_options = opts.merge(
|
new_options = opts.merge(
|
||||||
:operation => :"PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path",
|
:operation => :"PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path",
|
||||||
:header_params => header_params,
|
:header_params => header_params,
|
||||||
:query_params => query_params,
|
:query_params => query_params,
|
||||||
:form_params => form_params,
|
:form_params => form_params,
|
||||||
@ -100,7 +100,7 @@ module OpenapiClient
|
|||||||
|
|
||||||
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
||||||
if @api_client.config.debugging
|
if @api_client.config.debugging
|
||||||
@api_client.config.logger.debug "API called: PathApi#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
@api_client.config.logger.debug "API called: PathApi#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
||||||
end
|
end
|
||||||
return data, status_code, headers
|
return data, status_code, headers
|
||||||
end
|
end
|
||||||
|
@ -100,7 +100,7 @@ Class | Method | HTTP request | Description
|
|||||||
*OpenapiClient::FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*OpenapiClient::FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*OpenapiClient::FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*OpenapiClient::FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*OpenapiClient::HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*OpenapiClient::HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*OpenapiClient::PathApi* | [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*OpenapiClient::PathApi* | [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
| ------ | ------------ | ----------- |
|
| ------ | ------------ | ----------- |
|
||||||
| [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
## tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
|
## tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
|
||||||
|
|
||||||
> String tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> String tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -29,28 +29,28 @@ enum_ref_string_path = OpenapiClient::StringEnumRef::SUCCESS # StringEnumRef |
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
result = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
result = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
p result
|
p result
|
||||||
rescue OpenapiClient::ApiError => e
|
rescue OpenapiClient::ApiError => e
|
||||||
puts "Error when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: #{e}"
|
puts "Error when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: #{e}"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Using the tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info variant
|
#### Using the tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info variant
|
||||||
|
|
||||||
This returns an Array which contains the response data, status code and headers.
|
This returns an Array which contains the response data, status code and headers.
|
||||||
|
|
||||||
> <Array(String, Integer, Hash)> tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> <Array(String, Integer, Hash)> tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
begin
|
begin
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
data, status_code, headers = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
data, status_code, headers = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
p status_code # => 2xx
|
p status_code # => 2xx
|
||||||
p headers # => { ... }
|
p headers # => { ... }
|
||||||
p data # => String
|
p data # => String
|
||||||
rescue OpenapiClient::ApiError => e
|
rescue OpenapiClient::ApiError => e
|
||||||
puts "Error when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info: #{e}"
|
puts "Error when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info: #{e}"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ module OpenapiClient
|
|||||||
# @param enum_ref_string_path [StringEnumRef]
|
# @param enum_ref_string_path [StringEnumRef]
|
||||||
# @param [Hash] opts the optional parameters
|
# @param [Hash] opts the optional parameters
|
||||||
# @return [String]
|
# @return [String]
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
||||||
data, _status_code, _headers = tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts)
|
data, _status_code, _headers = tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts)
|
||||||
data
|
data
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -40,21 +40,21 @@ module OpenapiClient
|
|||||||
# @param enum_ref_string_path [StringEnumRef]
|
# @param enum_ref_string_path [StringEnumRef]
|
||||||
# @param [Hash] opts the optional parameters
|
# @param [Hash] opts the optional parameters
|
||||||
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
||||||
if @api_client.config.debugging
|
if @api_client.config.debugging
|
||||||
@api_client.config.logger.debug 'Calling API: PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path ...'
|
@api_client.config.logger.debug 'Calling API: PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path ...'
|
||||||
end
|
end
|
||||||
# verify the required parameter 'path_string' is set
|
# verify the required parameter 'path_string' is set
|
||||||
if @api_client.config.client_side_validation && path_string.nil?
|
if @api_client.config.client_side_validation && path_string.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'path_string' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'path_string' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify the required parameter 'path_integer' is set
|
# verify the required parameter 'path_integer' is set
|
||||||
if @api_client.config.client_side_validation && path_integer.nil?
|
if @api_client.config.client_side_validation && path_integer.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'path_integer' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'path_integer' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify the required parameter 'enum_nonref_string_path' is set
|
# verify the required parameter 'enum_nonref_string_path' is set
|
||||||
if @api_client.config.client_side_validation && enum_nonref_string_path.nil?
|
if @api_client.config.client_side_validation && enum_nonref_string_path.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'enum_nonref_string_path' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'enum_nonref_string_path' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify enum value
|
# verify enum value
|
||||||
allowable_values = ["success", "failure", "unclassified"]
|
allowable_values = ["success", "failure", "unclassified"]
|
||||||
@ -63,7 +63,7 @@ module OpenapiClient
|
|||||||
end
|
end
|
||||||
# verify the required parameter 'enum_ref_string_path' is set
|
# verify the required parameter 'enum_ref_string_path' is set
|
||||||
if @api_client.config.client_side_validation && enum_ref_string_path.nil?
|
if @api_client.config.client_side_validation && enum_ref_string_path.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'enum_ref_string_path' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'enum_ref_string_path' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# resource path
|
# resource path
|
||||||
local_var_path = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'.sub('{' + 'path_string' + '}', CGI.escape(path_string.to_s)).sub('{' + 'path_integer' + '}', CGI.escape(path_integer.to_s)).sub('{' + 'enum_nonref_string_path' + '}', CGI.escape(enum_nonref_string_path.to_s)).sub('{' + 'enum_ref_string_path' + '}', CGI.escape(enum_ref_string_path.to_s))
|
local_var_path = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'.sub('{' + 'path_string' + '}', CGI.escape(path_string.to_s)).sub('{' + 'path_integer' + '}', CGI.escape(path_integer.to_s)).sub('{' + 'enum_nonref_string_path' + '}', CGI.escape(enum_nonref_string_path.to_s)).sub('{' + 'enum_ref_string_path' + '}', CGI.escape(enum_ref_string_path.to_s))
|
||||||
@ -89,7 +89,7 @@ module OpenapiClient
|
|||||||
auth_names = opts[:debug_auth_names] || []
|
auth_names = opts[:debug_auth_names] || []
|
||||||
|
|
||||||
new_options = opts.merge(
|
new_options = opts.merge(
|
||||||
:operation => :"PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path",
|
:operation => :"PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path",
|
||||||
:header_params => header_params,
|
:header_params => header_params,
|
||||||
:query_params => query_params,
|
:query_params => query_params,
|
||||||
:form_params => form_params,
|
:form_params => form_params,
|
||||||
@ -100,7 +100,7 @@ module OpenapiClient
|
|||||||
|
|
||||||
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
||||||
if @api_client.config.debugging
|
if @api_client.config.debugging
|
||||||
@api_client.config.logger.debug "API called: PathApi#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
@api_client.config.logger.debug "API called: PathApi#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
||||||
end
|
end
|
||||||
return data, status_code, headers
|
return data, status_code, headers
|
||||||
end
|
end
|
||||||
|
@ -98,7 +98,7 @@ Class | Method | HTTP request | Description
|
|||||||
*OpenapiClient::FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
*OpenapiClient::FormApi* | [**test_form_object_multipart**](docs/FormApi.md#test_form_object_multipart) | **POST** /form/object/multipart | Test form parameter(s) for multipart schema
|
||||||
*OpenapiClient::FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
*OpenapiClient::FormApi* | [**test_form_oneof**](docs/FormApi.md#test_form_oneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema
|
||||||
*OpenapiClient::HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
*OpenapiClient::HeaderApi* | [**test_header_integer_boolean_string_enums**](docs/HeaderApi.md#test_header_integer_boolean_string_enums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s)
|
||||||
*OpenapiClient::PathApi* | [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
*OpenapiClient::PathApi* | [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](docs/PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_enum_ref_string**](docs/QueryApi.md#test_enum_ref_string) | **GET** /query/enum_ref_string | Test query parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_query_datetime_date_string**](docs/QueryApi.md#test_query_datetime_date_string) | **GET** /query/datetime/date/string | Test query parameter(s)
|
||||||
*OpenapiClient::QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
*OpenapiClient::QueryApi* | [**test_query_integer_boolean_string**](docs/QueryApi.md#test_query_integer_boolean_string) | **GET** /query/integer/boolean/string | Test query parameter(s)
|
||||||
|
@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000*
|
|||||||
|
|
||||||
| Method | HTTP request | Description |
|
| Method | HTTP request | Description |
|
||||||
| ------ | ------------ | ----------- |
|
| ------ | ------------ | ----------- |
|
||||||
| [**tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
| [**tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path**](PathApi.md#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
|
||||||
|
|
||||||
|
|
||||||
## tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
|
## tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path
|
||||||
|
|
||||||
> String tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> String tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
Test path parameter(s)
|
Test path parameter(s)
|
||||||
|
|
||||||
@ -29,28 +29,28 @@ enum_ref_string_path = OpenapiClient::StringEnumRef::SUCCESS # StringEnumRef |
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
result = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
result = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
p result
|
p result
|
||||||
rescue OpenapiClient::ApiError => e
|
rescue OpenapiClient::ApiError => e
|
||||||
puts "Error when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: #{e}"
|
puts "Error when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path: #{e}"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Using the tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info variant
|
#### Using the tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info variant
|
||||||
|
|
||||||
This returns an Array which contains the response data, status code and headers.
|
This returns an Array which contains the response data, status code and headers.
|
||||||
|
|
||||||
> <Array(String, Integer, Hash)> tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
> <Array(String, Integer, Hash)> tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
begin
|
begin
|
||||||
# Test path parameter(s)
|
# Test path parameter(s)
|
||||||
data, status_code, headers = api_instance.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
data, status_code, headers = api_instance.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path)
|
||||||
p status_code # => 2xx
|
p status_code # => 2xx
|
||||||
p headers # => { ... }
|
p headers # => { ... }
|
||||||
p data # => String
|
p data # => String
|
||||||
rescue OpenapiClient::ApiError => e
|
rescue OpenapiClient::ApiError => e
|
||||||
puts "Error when calling PathApi->tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info: #{e}"
|
puts "Error when calling PathApi->tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info: #{e}"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@ module OpenapiClient
|
|||||||
# @param enum_ref_string_path [StringEnumRef]
|
# @param enum_ref_string_path [StringEnumRef]
|
||||||
# @param [Hash] opts the optional parameters
|
# @param [Hash] opts the optional parameters
|
||||||
# @return [String]
|
# @return [String]
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
||||||
data, _status_code, _headers = tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts)
|
data, _status_code, _headers = tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts)
|
||||||
data
|
data
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -40,21 +40,21 @@ module OpenapiClient
|
|||||||
# @param enum_ref_string_path [StringEnumRef]
|
# @param enum_ref_string_path [StringEnumRef]
|
||||||
# @param [Hash] opts the optional parameters
|
# @param [Hash] opts the optional parameters
|
||||||
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
||||||
def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
def tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path_with_http_info(path_string, path_integer, enum_nonref_string_path, enum_ref_string_path, opts = {})
|
||||||
if @api_client.config.debugging
|
if @api_client.config.debugging
|
||||||
@api_client.config.logger.debug 'Calling API: PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path ...'
|
@api_client.config.logger.debug 'Calling API: PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path ...'
|
||||||
end
|
end
|
||||||
# verify the required parameter 'path_string' is set
|
# verify the required parameter 'path_string' is set
|
||||||
if @api_client.config.client_side_validation && path_string.nil?
|
if @api_client.config.client_side_validation && path_string.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'path_string' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'path_string' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify the required parameter 'path_integer' is set
|
# verify the required parameter 'path_integer' is set
|
||||||
if @api_client.config.client_side_validation && path_integer.nil?
|
if @api_client.config.client_side_validation && path_integer.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'path_integer' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'path_integer' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify the required parameter 'enum_nonref_string_path' is set
|
# verify the required parameter 'enum_nonref_string_path' is set
|
||||||
if @api_client.config.client_side_validation && enum_nonref_string_path.nil?
|
if @api_client.config.client_side_validation && enum_nonref_string_path.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'enum_nonref_string_path' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'enum_nonref_string_path' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# verify enum value
|
# verify enum value
|
||||||
allowable_values = ["success", "failure", "unclassified"]
|
allowable_values = ["success", "failure", "unclassified"]
|
||||||
@ -63,7 +63,7 @@ module OpenapiClient
|
|||||||
end
|
end
|
||||||
# verify the required parameter 'enum_ref_string_path' is set
|
# verify the required parameter 'enum_ref_string_path' is set
|
||||||
if @api_client.config.client_side_validation && enum_ref_string_path.nil?
|
if @api_client.config.client_side_validation && enum_ref_string_path.nil?
|
||||||
fail ArgumentError, "Missing the required parameter 'enum_ref_string_path' when calling PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
fail ArgumentError, "Missing the required parameter 'enum_ref_string_path' when calling PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path"
|
||||||
end
|
end
|
||||||
# resource path
|
# resource path
|
||||||
local_var_path = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'.sub('{' + 'path_string' + '}', CGI.escape(path_string.to_s)).sub('{' + 'path_integer' + '}', CGI.escape(path_integer.to_s)).sub('{' + 'enum_nonref_string_path' + '}', CGI.escape(enum_nonref_string_path.to_s)).sub('{' + 'enum_ref_string_path' + '}', CGI.escape(enum_ref_string_path.to_s))
|
local_var_path = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}'.sub('{' + 'path_string' + '}', CGI.escape(path_string.to_s)).sub('{' + 'path_integer' + '}', CGI.escape(path_integer.to_s)).sub('{' + 'enum_nonref_string_path' + '}', CGI.escape(enum_nonref_string_path.to_s)).sub('{' + 'enum_ref_string_path' + '}', CGI.escape(enum_ref_string_path.to_s))
|
||||||
@ -89,7 +89,7 @@ module OpenapiClient
|
|||||||
auth_names = opts[:debug_auth_names] || []
|
auth_names = opts[:debug_auth_names] || []
|
||||||
|
|
||||||
new_options = opts.merge(
|
new_options = opts.merge(
|
||||||
:operation => :"PathApi.tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path",
|
:operation => :"PathApi.tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path",
|
||||||
:header_params => header_params,
|
:header_params => header_params,
|
||||||
:query_params => query_params,
|
:query_params => query_params,
|
||||||
:form_params => form_params,
|
:form_params => form_params,
|
||||||
@ -100,7 +100,7 @@ module OpenapiClient
|
|||||||
|
|
||||||
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
||||||
if @api_client.config.debugging
|
if @api_client.config.debugging
|
||||||
@api_client.config.logger.debug "API called: PathApi#tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
@api_client.config.logger.debug "API called: PathApi#tests_path_stringpath_string_integer_path_integer_enum_nonref_string_path_enum_ref_string_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
||||||
end
|
end
|
||||||
return data, status_code, headers
|
return data, status_code, headers
|
||||||
end
|
end
|
||||||
|
@ -1742,20 +1742,20 @@ export const PathApiAxiosParamCreator = function (configuration?: Configuration)
|
|||||||
* @summary Test path parameter(s)
|
* @summary Test path parameter(s)
|
||||||
* @param {string} pathString
|
* @param {string} pathString
|
||||||
* @param {number} pathInteger
|
* @param {number} pathInteger
|
||||||
* @param {TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
* @param {TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
||||||
* @param {StringEnumRef} enumRefStringPath
|
* @param {StringEnumRef} enumRefStringPath
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: async (pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath: async (pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'pathString' is not null or undefined
|
// verify required parameter 'pathString' is not null or undefined
|
||||||
assertParamExists('testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'pathString', pathString)
|
assertParamExists('testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'pathString', pathString)
|
||||||
// verify required parameter 'pathInteger' is not null or undefined
|
// verify required parameter 'pathInteger' is not null or undefined
|
||||||
assertParamExists('testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'pathInteger', pathInteger)
|
assertParamExists('testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'pathInteger', pathInteger)
|
||||||
// verify required parameter 'enumNonrefStringPath' is not null or undefined
|
// verify required parameter 'enumNonrefStringPath' is not null or undefined
|
||||||
assertParamExists('testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'enumNonrefStringPath', enumNonrefStringPath)
|
assertParamExists('testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'enumNonrefStringPath', enumNonrefStringPath)
|
||||||
// verify required parameter 'enumRefStringPath' is not null or undefined
|
// verify required parameter 'enumRefStringPath' is not null or undefined
|
||||||
assertParamExists('testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'enumRefStringPath', enumRefStringPath)
|
assertParamExists('testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath', 'enumRefStringPath', enumRefStringPath)
|
||||||
const localVarPath = `/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}`
|
const localVarPath = `/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}`
|
||||||
.replace(`{${"path_string"}}`, encodeURIComponent(String(pathString)))
|
.replace(`{${"path_string"}}`, encodeURIComponent(String(pathString)))
|
||||||
.replace(`{${"path_integer"}}`, encodeURIComponent(String(pathInteger)))
|
.replace(`{${"path_integer"}}`, encodeURIComponent(String(pathInteger)))
|
||||||
@ -1798,15 +1798,15 @@ export const PathApiFp = function(configuration?: Configuration) {
|
|||||||
* @summary Test path parameter(s)
|
* @summary Test path parameter(s)
|
||||||
* @param {string} pathString
|
* @param {string} pathString
|
||||||
* @param {number} pathInteger
|
* @param {number} pathInteger
|
||||||
* @param {TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
* @param {TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
||||||
* @param {StringEnumRef} enumRefStringPath
|
* @param {StringEnumRef} enumRefStringPath
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
async testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, options);
|
||||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||||
const localVarOperationServerBasePath = operationServerMap['PathApi.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath']?.[localVarOperationServerIndex]?.url;
|
const localVarOperationServerBasePath = operationServerMap['PathApi.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath']?.[localVarOperationServerIndex]?.url;
|
||||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -1824,13 +1824,13 @@ export const PathApiFactory = function (configuration?: Configuration, basePath?
|
|||||||
* @summary Test path parameter(s)
|
* @summary Test path parameter(s)
|
||||||
* @param {string} pathString
|
* @param {string} pathString
|
||||||
* @param {number} pathInteger
|
* @param {number} pathInteger
|
||||||
* @param {TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
* @param {TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
||||||
* @param {StringEnumRef} enumRefStringPath
|
* @param {StringEnumRef} enumRefStringPath
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: any): AxiosPromise<string> {
|
testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: any): AxiosPromise<string> {
|
||||||
return localVarFp.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, options).then((request) => request(axios, basePath));
|
return localVarFp.testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -1847,26 +1847,26 @@ export class PathApi extends BaseAPI {
|
|||||||
* @summary Test path parameter(s)
|
* @summary Test path parameter(s)
|
||||||
* @param {string} pathString
|
* @param {string} pathString
|
||||||
* @param {number} pathInteger
|
* @param {number} pathInteger
|
||||||
* @param {TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
* @param {TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum} enumNonrefStringPath
|
||||||
* @param {StringEnumRef} enumRefStringPath
|
* @param {StringEnumRef} enumRefStringPath
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
* @memberof PathApi
|
* @memberof PathApi
|
||||||
*/
|
*/
|
||||||
public testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: RawAxiosRequestConfig) {
|
public testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString: string, pathInteger: number, enumNonrefStringPath: TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum, enumRefStringPath: StringEnumRef, options?: RawAxiosRequestConfig) {
|
||||||
return PathApiFp(this.configuration).testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, options).then((request) => request(this.axios, this.basePath));
|
return PathApiFp(this.configuration).testsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @export
|
* @export
|
||||||
*/
|
*/
|
||||||
export const TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum = {
|
export const TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum = {
|
||||||
Success: 'success',
|
Success: 'success',
|
||||||
Failure: 'failure',
|
Failure: 'failure',
|
||||||
Unclassified: 'unclassified'
|
Unclassified: 'unclassified'
|
||||||
} as const;
|
} as const;
|
||||||
export type TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum = typeof TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum[keyof typeof TestsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum];
|
export type TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum = typeof TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum[keyof typeof TestsPathStringpathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathEnumNonrefStringPathEnum];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,239 @@
|
|||||||
|
// <auto-generated>
|
||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
#nullable enable
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Capitalization
|
||||||
|
/// </summary>
|
||||||
|
public partial class Capitalization : IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="attNAME">Name of the pet </param>
|
||||||
|
/// <param name="capitalCamel">capitalCamel</param>
|
||||||
|
/// <param name="capitalSnake">capitalSnake</param>
|
||||||
|
/// <param name="scaethFlowPoints">scaethFlowPoints</param>
|
||||||
|
/// <param name="smallCamel">smallCamel</param>
|
||||||
|
/// <param name="smallSnake">smallSnake</param>
|
||||||
|
[JsonConstructor]
|
||||||
|
public Capitalization(string attNAME, string capitalCamel, string capitalSnake, string scaethFlowPoints, string smallCamel, string smallSnake)
|
||||||
|
{
|
||||||
|
ATT_NAME = attNAME;
|
||||||
|
CapitalCamel = capitalCamel;
|
||||||
|
CapitalSnake = capitalSnake;
|
||||||
|
SCAETHFlowPoints = scaethFlowPoints;
|
||||||
|
SmallCamel = smallCamel;
|
||||||
|
SmallSnake = smallSnake;
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCreated();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Name of the pet
|
||||||
|
/// </summary>
|
||||||
|
/// <value>Name of the pet </value>
|
||||||
|
[JsonPropertyName("ATT_NAME")]
|
||||||
|
public string ATT_NAME { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets CapitalCamel
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("CapitalCamel")]
|
||||||
|
public string CapitalCamel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets CapitalSnake
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("Capital_Snake")]
|
||||||
|
public string CapitalSnake { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SCAETHFlowPoints
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("SCA_ETH_Flow_Points")]
|
||||||
|
public string SCAETHFlowPoints { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SmallCamel
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("smallCamel")]
|
||||||
|
public string SmallCamel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SmallSnake
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("small_Snake")]
|
||||||
|
public string SmallSnake { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets additional properties
|
||||||
|
/// </summary>
|
||||||
|
[JsonExtensionData]
|
||||||
|
public Dictionary<string, JsonElement> AdditionalProperties { get; } = new Dictionary<string, JsonElement>();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.Append("class Capitalization {\n");
|
||||||
|
sb.Append(" ATT_NAME: ").Append(ATT_NAME).Append("\n");
|
||||||
|
sb.Append(" CapitalCamel: ").Append(CapitalCamel).Append("\n");
|
||||||
|
sb.Append(" CapitalSnake: ").Append(CapitalSnake).Append("\n");
|
||||||
|
sb.Append(" SCAETHFlowPoints: ").Append(SCAETHFlowPoints).Append("\n");
|
||||||
|
sb.Append(" SmallCamel: ").Append(SmallCamel).Append("\n");
|
||||||
|
sb.Append(" SmallSnake: ").Append(SmallSnake).Append("\n");
|
||||||
|
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A Json converter for type <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
public class CapitalizationJsonConverter : JsonConverter<Capitalization>
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Deserializes json to <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="utf8JsonReader"></param>
|
||||||
|
/// <param name="typeToConvert"></param>
|
||||||
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
/// <exception cref="JsonException"></exception>
|
||||||
|
public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
|
||||||
|
{
|
||||||
|
int currentDepth = utf8JsonReader.CurrentDepth;
|
||||||
|
|
||||||
|
if (utf8JsonReader.TokenType != JsonTokenType.StartObject && utf8JsonReader.TokenType != JsonTokenType.StartArray)
|
||||||
|
throw new JsonException();
|
||||||
|
|
||||||
|
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
||||||
|
|
||||||
|
string? attNAME = default;
|
||||||
|
string? capitalCamel = default;
|
||||||
|
string? capitalSnake = default;
|
||||||
|
string? scaethFlowPoints = default;
|
||||||
|
string? smallCamel = default;
|
||||||
|
string? smallSnake = default;
|
||||||
|
|
||||||
|
while (utf8JsonReader.Read())
|
||||||
|
{
|
||||||
|
if (startingTokenType == JsonTokenType.StartObject && utf8JsonReader.TokenType == JsonTokenType.EndObject && currentDepth == utf8JsonReader.CurrentDepth)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if (startingTokenType == JsonTokenType.StartArray && utf8JsonReader.TokenType == JsonTokenType.EndArray && currentDepth == utf8JsonReader.CurrentDepth)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if (utf8JsonReader.TokenType == JsonTokenType.PropertyName && currentDepth == utf8JsonReader.CurrentDepth - 1)
|
||||||
|
{
|
||||||
|
string? propertyName = utf8JsonReader.GetString();
|
||||||
|
utf8JsonReader.Read();
|
||||||
|
|
||||||
|
switch (propertyName)
|
||||||
|
{
|
||||||
|
case "ATT_NAME":
|
||||||
|
attNAME = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "CapitalCamel":
|
||||||
|
capitalCamel = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "Capital_Snake":
|
||||||
|
capitalSnake = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "SCA_ETH_Flow_Points":
|
||||||
|
scaethFlowPoints = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "smallCamel":
|
||||||
|
smallCamel = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "small_Snake":
|
||||||
|
smallSnake = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (attNAME == null)
|
||||||
|
throw new ArgumentNullException(nameof(attNAME), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (capitalCamel == null)
|
||||||
|
throw new ArgumentNullException(nameof(capitalCamel), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (capitalSnake == null)
|
||||||
|
throw new ArgumentNullException(nameof(capitalSnake), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (scaethFlowPoints == null)
|
||||||
|
throw new ArgumentNullException(nameof(scaethFlowPoints), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (smallCamel == null)
|
||||||
|
throw new ArgumentNullException(nameof(smallCamel), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (smallSnake == null)
|
||||||
|
throw new ArgumentNullException(nameof(smallSnake), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Serializes a <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="writer"></param>
|
||||||
|
/// <param name="capitalization"></param>
|
||||||
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
|
/// <exception cref="NotImplementedException"></exception>
|
||||||
|
public override void Write(Utf8JsonWriter writer, Capitalization capitalization, JsonSerializerOptions jsonSerializerOptions)
|
||||||
|
{
|
||||||
|
writer.WriteStartObject();
|
||||||
|
|
||||||
|
writer.WriteString("ATT_NAME", capitalization.ATT_NAME);
|
||||||
|
writer.WriteString("CapitalCamel", capitalization.CapitalCamel);
|
||||||
|
writer.WriteString("Capital_Snake", capitalization.CapitalSnake);
|
||||||
|
writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints);
|
||||||
|
writer.WriteString("smallCamel", capitalization.SmallCamel);
|
||||||
|
writer.WriteString("small_Snake", capitalization.SmallSnake);
|
||||||
|
|
||||||
|
writer.WriteEndObject();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,237 @@
|
|||||||
|
// <auto-generated>
|
||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Capitalization
|
||||||
|
/// </summary>
|
||||||
|
public partial class Capitalization : IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="attNAME">Name of the pet </param>
|
||||||
|
/// <param name="capitalCamel">capitalCamel</param>
|
||||||
|
/// <param name="capitalSnake">capitalSnake</param>
|
||||||
|
/// <param name="scaethFlowPoints">scaethFlowPoints</param>
|
||||||
|
/// <param name="smallCamel">smallCamel</param>
|
||||||
|
/// <param name="smallSnake">smallSnake</param>
|
||||||
|
[JsonConstructor]
|
||||||
|
public Capitalization(string attNAME, string capitalCamel, string capitalSnake, string scaethFlowPoints, string smallCamel, string smallSnake)
|
||||||
|
{
|
||||||
|
ATT_NAME = attNAME;
|
||||||
|
CapitalCamel = capitalCamel;
|
||||||
|
CapitalSnake = capitalSnake;
|
||||||
|
SCAETHFlowPoints = scaethFlowPoints;
|
||||||
|
SmallCamel = smallCamel;
|
||||||
|
SmallSnake = smallSnake;
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCreated();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Name of the pet
|
||||||
|
/// </summary>
|
||||||
|
/// <value>Name of the pet </value>
|
||||||
|
[JsonPropertyName("ATT_NAME")]
|
||||||
|
public string ATT_NAME { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets CapitalCamel
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("CapitalCamel")]
|
||||||
|
public string CapitalCamel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets CapitalSnake
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("Capital_Snake")]
|
||||||
|
public string CapitalSnake { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SCAETHFlowPoints
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("SCA_ETH_Flow_Points")]
|
||||||
|
public string SCAETHFlowPoints { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SmallCamel
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("smallCamel")]
|
||||||
|
public string SmallCamel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SmallSnake
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("small_Snake")]
|
||||||
|
public string SmallSnake { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets additional properties
|
||||||
|
/// </summary>
|
||||||
|
[JsonExtensionData]
|
||||||
|
public Dictionary<string, JsonElement> AdditionalProperties { get; } = new Dictionary<string, JsonElement>();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.Append("class Capitalization {\n");
|
||||||
|
sb.Append(" ATT_NAME: ").Append(ATT_NAME).Append("\n");
|
||||||
|
sb.Append(" CapitalCamel: ").Append(CapitalCamel).Append("\n");
|
||||||
|
sb.Append(" CapitalSnake: ").Append(CapitalSnake).Append("\n");
|
||||||
|
sb.Append(" SCAETHFlowPoints: ").Append(SCAETHFlowPoints).Append("\n");
|
||||||
|
sb.Append(" SmallCamel: ").Append(SmallCamel).Append("\n");
|
||||||
|
sb.Append(" SmallSnake: ").Append(SmallSnake).Append("\n");
|
||||||
|
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A Json converter for type <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
public class CapitalizationJsonConverter : JsonConverter<Capitalization>
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Deserializes json to <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="utf8JsonReader"></param>
|
||||||
|
/// <param name="typeToConvert"></param>
|
||||||
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
/// <exception cref="JsonException"></exception>
|
||||||
|
public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
|
||||||
|
{
|
||||||
|
int currentDepth = utf8JsonReader.CurrentDepth;
|
||||||
|
|
||||||
|
if (utf8JsonReader.TokenType != JsonTokenType.StartObject && utf8JsonReader.TokenType != JsonTokenType.StartArray)
|
||||||
|
throw new JsonException();
|
||||||
|
|
||||||
|
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
||||||
|
|
||||||
|
string attNAME = default;
|
||||||
|
string capitalCamel = default;
|
||||||
|
string capitalSnake = default;
|
||||||
|
string scaethFlowPoints = default;
|
||||||
|
string smallCamel = default;
|
||||||
|
string smallSnake = default;
|
||||||
|
|
||||||
|
while (utf8JsonReader.Read())
|
||||||
|
{
|
||||||
|
if (startingTokenType == JsonTokenType.StartObject && utf8JsonReader.TokenType == JsonTokenType.EndObject && currentDepth == utf8JsonReader.CurrentDepth)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if (startingTokenType == JsonTokenType.StartArray && utf8JsonReader.TokenType == JsonTokenType.EndArray && currentDepth == utf8JsonReader.CurrentDepth)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if (utf8JsonReader.TokenType == JsonTokenType.PropertyName && currentDepth == utf8JsonReader.CurrentDepth - 1)
|
||||||
|
{
|
||||||
|
string propertyName = utf8JsonReader.GetString();
|
||||||
|
utf8JsonReader.Read();
|
||||||
|
|
||||||
|
switch (propertyName)
|
||||||
|
{
|
||||||
|
case "ATT_NAME":
|
||||||
|
attNAME = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "CapitalCamel":
|
||||||
|
capitalCamel = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "Capital_Snake":
|
||||||
|
capitalSnake = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "SCA_ETH_Flow_Points":
|
||||||
|
scaethFlowPoints = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "smallCamel":
|
||||||
|
smallCamel = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "small_Snake":
|
||||||
|
smallSnake = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (attNAME == null)
|
||||||
|
throw new ArgumentNullException(nameof(attNAME), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (capitalCamel == null)
|
||||||
|
throw new ArgumentNullException(nameof(capitalCamel), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (capitalSnake == null)
|
||||||
|
throw new ArgumentNullException(nameof(capitalSnake), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (scaethFlowPoints == null)
|
||||||
|
throw new ArgumentNullException(nameof(scaethFlowPoints), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (smallCamel == null)
|
||||||
|
throw new ArgumentNullException(nameof(smallCamel), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (smallSnake == null)
|
||||||
|
throw new ArgumentNullException(nameof(smallSnake), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Serializes a <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="writer"></param>
|
||||||
|
/// <param name="capitalization"></param>
|
||||||
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
|
/// <exception cref="NotImplementedException"></exception>
|
||||||
|
public override void Write(Utf8JsonWriter writer, Capitalization capitalization, JsonSerializerOptions jsonSerializerOptions)
|
||||||
|
{
|
||||||
|
writer.WriteStartObject();
|
||||||
|
|
||||||
|
writer.WriteString("ATT_NAME", capitalization.ATT_NAME);
|
||||||
|
writer.WriteString("CapitalCamel", capitalization.CapitalCamel);
|
||||||
|
writer.WriteString("Capital_Snake", capitalization.CapitalSnake);
|
||||||
|
writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints);
|
||||||
|
writer.WriteString("smallCamel", capitalization.SmallCamel);
|
||||||
|
writer.WriteString("small_Snake", capitalization.SmallSnake);
|
||||||
|
|
||||||
|
writer.WriteEndObject();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,237 @@
|
|||||||
|
// <auto-generated>
|
||||||
|
/*
|
||||||
|
* OpenAPI Petstore
|
||||||
|
*
|
||||||
|
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.0.0
|
||||||
|
* Generated by: https://github.com/openapitools/openapi-generator.git
|
||||||
|
*/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using OpenAPIClientUtils = Org.OpenAPITools.Client.ClientUtils;
|
||||||
|
|
||||||
|
namespace Org.OpenAPITools.Model
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Capitalization
|
||||||
|
/// </summary>
|
||||||
|
public partial class Capitalization : IValidatableObject
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="attNAME">Name of the pet </param>
|
||||||
|
/// <param name="capitalCamel">capitalCamel</param>
|
||||||
|
/// <param name="capitalSnake">capitalSnake</param>
|
||||||
|
/// <param name="scaethFlowPoints">scaethFlowPoints</param>
|
||||||
|
/// <param name="smallCamel">smallCamel</param>
|
||||||
|
/// <param name="smallSnake">smallSnake</param>
|
||||||
|
[JsonConstructor]
|
||||||
|
public Capitalization(string attNAME, string capitalCamel, string capitalSnake, string scaethFlowPoints, string smallCamel, string smallSnake)
|
||||||
|
{
|
||||||
|
ATT_NAME = attNAME;
|
||||||
|
CapitalCamel = capitalCamel;
|
||||||
|
CapitalSnake = capitalSnake;
|
||||||
|
SCAETHFlowPoints = scaethFlowPoints;
|
||||||
|
SmallCamel = smallCamel;
|
||||||
|
SmallSnake = smallSnake;
|
||||||
|
OnCreated();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCreated();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Name of the pet
|
||||||
|
/// </summary>
|
||||||
|
/// <value>Name of the pet </value>
|
||||||
|
[JsonPropertyName("ATT_NAME")]
|
||||||
|
public string ATT_NAME { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets CapitalCamel
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("CapitalCamel")]
|
||||||
|
public string CapitalCamel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets CapitalSnake
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("Capital_Snake")]
|
||||||
|
public string CapitalSnake { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SCAETHFlowPoints
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("SCA_ETH_Flow_Points")]
|
||||||
|
public string SCAETHFlowPoints { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SmallCamel
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("smallCamel")]
|
||||||
|
public string SmallCamel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets SmallSnake
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("small_Snake")]
|
||||||
|
public string SmallSnake { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets additional properties
|
||||||
|
/// </summary>
|
||||||
|
[JsonExtensionData]
|
||||||
|
public Dictionary<string, JsonElement> AdditionalProperties { get; } = new Dictionary<string, JsonElement>();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the string presentation of the object
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>String presentation of the object</returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.Append("class Capitalization {\n");
|
||||||
|
sb.Append(" ATT_NAME: ").Append(ATT_NAME).Append("\n");
|
||||||
|
sb.Append(" CapitalCamel: ").Append(CapitalCamel).Append("\n");
|
||||||
|
sb.Append(" CapitalSnake: ").Append(CapitalSnake).Append("\n");
|
||||||
|
sb.Append(" SCAETHFlowPoints: ").Append(SCAETHFlowPoints).Append("\n");
|
||||||
|
sb.Append(" SmallCamel: ").Append(SmallCamel).Append("\n");
|
||||||
|
sb.Append(" SmallSnake: ").Append(SmallSnake).Append("\n");
|
||||||
|
sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n");
|
||||||
|
sb.Append("}\n");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// To validate all properties of the instance
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="validationContext">Validation context</param>
|
||||||
|
/// <returns>Validation Result</returns>
|
||||||
|
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
|
||||||
|
{
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A Json converter for type <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
public class CapitalizationJsonConverter : JsonConverter<Capitalization>
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Deserializes json to <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="utf8JsonReader"></param>
|
||||||
|
/// <param name="typeToConvert"></param>
|
||||||
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
/// <exception cref="JsonException"></exception>
|
||||||
|
public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type typeToConvert, JsonSerializerOptions jsonSerializerOptions)
|
||||||
|
{
|
||||||
|
int currentDepth = utf8JsonReader.CurrentDepth;
|
||||||
|
|
||||||
|
if (utf8JsonReader.TokenType != JsonTokenType.StartObject && utf8JsonReader.TokenType != JsonTokenType.StartArray)
|
||||||
|
throw new JsonException();
|
||||||
|
|
||||||
|
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
||||||
|
|
||||||
|
string attNAME = default;
|
||||||
|
string capitalCamel = default;
|
||||||
|
string capitalSnake = default;
|
||||||
|
string scaethFlowPoints = default;
|
||||||
|
string smallCamel = default;
|
||||||
|
string smallSnake = default;
|
||||||
|
|
||||||
|
while (utf8JsonReader.Read())
|
||||||
|
{
|
||||||
|
if (startingTokenType == JsonTokenType.StartObject && utf8JsonReader.TokenType == JsonTokenType.EndObject && currentDepth == utf8JsonReader.CurrentDepth)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if (startingTokenType == JsonTokenType.StartArray && utf8JsonReader.TokenType == JsonTokenType.EndArray && currentDepth == utf8JsonReader.CurrentDepth)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if (utf8JsonReader.TokenType == JsonTokenType.PropertyName && currentDepth == utf8JsonReader.CurrentDepth - 1)
|
||||||
|
{
|
||||||
|
string propertyName = utf8JsonReader.GetString();
|
||||||
|
utf8JsonReader.Read();
|
||||||
|
|
||||||
|
switch (propertyName)
|
||||||
|
{
|
||||||
|
case "ATT_NAME":
|
||||||
|
attNAME = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "CapitalCamel":
|
||||||
|
capitalCamel = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "Capital_Snake":
|
||||||
|
capitalSnake = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "SCA_ETH_Flow_Points":
|
||||||
|
scaethFlowPoints = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "smallCamel":
|
||||||
|
smallCamel = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
case "small_Snake":
|
||||||
|
smallSnake = utf8JsonReader.GetString();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (attNAME == null)
|
||||||
|
throw new ArgumentNullException(nameof(attNAME), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (capitalCamel == null)
|
||||||
|
throw new ArgumentNullException(nameof(capitalCamel), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (capitalSnake == null)
|
||||||
|
throw new ArgumentNullException(nameof(capitalSnake), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (scaethFlowPoints == null)
|
||||||
|
throw new ArgumentNullException(nameof(scaethFlowPoints), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (smallCamel == null)
|
||||||
|
throw new ArgumentNullException(nameof(smallCamel), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
if (smallSnake == null)
|
||||||
|
throw new ArgumentNullException(nameof(smallSnake), "Property is required for class Capitalization.");
|
||||||
|
|
||||||
|
return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Serializes a <see cref="Capitalization" />
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="writer"></param>
|
||||||
|
/// <param name="capitalization"></param>
|
||||||
|
/// <param name="jsonSerializerOptions"></param>
|
||||||
|
/// <exception cref="NotImplementedException"></exception>
|
||||||
|
public override void Write(Utf8JsonWriter writer, Capitalization capitalization, JsonSerializerOptions jsonSerializerOptions)
|
||||||
|
{
|
||||||
|
writer.WriteStartObject();
|
||||||
|
|
||||||
|
writer.WriteString("ATT_NAME", capitalization.ATT_NAME);
|
||||||
|
writer.WriteString("CapitalCamel", capitalization.CapitalCamel);
|
||||||
|
writer.WriteString("Capital_Snake", capitalization.CapitalSnake);
|
||||||
|
writer.WriteString("SCA_ETH_Flow_Points", capitalization.SCAETHFlowPoints);
|
||||||
|
writer.WriteString("smallCamel", capitalization.SmallCamel);
|
||||||
|
writer.WriteString("small_Snake", capitalization.SmallSnake);
|
||||||
|
|
||||||
|
writer.WriteEndObject();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -39,9 +39,9 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this._SmallCamel = smallCamel;
|
this._SmallCamel = smallCamel;
|
||||||
if (this.SmallCamel != null)
|
if (this.SmallCamel != null)
|
||||||
@ -63,12 +63,12 @@ namespace Org.OpenAPITools.Model
|
|||||||
{
|
{
|
||||||
this._flagCapitalSnake = true;
|
this._flagCapitalSnake = true;
|
||||||
}
|
}
|
||||||
this._SCAETHFlowPoints = sCAETHFlowPoints;
|
this._SCAETHFlowPoints = scaethFlowPoints;
|
||||||
if (this.SCAETHFlowPoints != null)
|
if (this.SCAETHFlowPoints != null)
|
||||||
{
|
{
|
||||||
this._flagSCAETHFlowPoints = true;
|
this._flagSCAETHFlowPoints = true;
|
||||||
}
|
}
|
||||||
this._ATT_NAME = aTTNAME;
|
this._ATT_NAME = attNAME;
|
||||||
if (this.ATT_NAME != null)
|
if (this.ATT_NAME != null)
|
||||||
{
|
{
|
||||||
this._flagATT_NAME = true;
|
this._flagATT_NAME = true;
|
||||||
|
@ -35,19 +35,19 @@ namespace UseSourceGeneration.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="aTTNAME">Name of the pet </param>
|
/// <param name="attNAME">Name of the pet </param>
|
||||||
/// <param name="capitalCamel">capitalCamel</param>
|
/// <param name="capitalCamel">capitalCamel</param>
|
||||||
/// <param name="capitalSnake">capitalSnake</param>
|
/// <param name="capitalSnake">capitalSnake</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints</param>
|
||||||
/// <param name="smallCamel">smallCamel</param>
|
/// <param name="smallCamel">smallCamel</param>
|
||||||
/// <param name="smallSnake">smallSnake</param>
|
/// <param name="smallSnake">smallSnake</param>
|
||||||
[JsonConstructor]
|
[JsonConstructor]
|
||||||
public Capitalization(Option<string?> aTTNAME = default, Option<string?> capitalCamel = default, Option<string?> capitalSnake = default, Option<string?> sCAETHFlowPoints = default, Option<string?> smallCamel = default, Option<string?> smallSnake = default)
|
public Capitalization(Option<string?> attNAME = default, Option<string?> capitalCamel = default, Option<string?> capitalSnake = default, Option<string?> scaethFlowPoints = default, Option<string?> smallCamel = default, Option<string?> smallSnake = default)
|
||||||
{
|
{
|
||||||
ATT_NAMEOption = aTTNAME;
|
ATT_NAMEOption = attNAME;
|
||||||
CapitalCamelOption = capitalCamel;
|
CapitalCamelOption = capitalCamel;
|
||||||
CapitalSnakeOption = capitalSnake;
|
CapitalSnakeOption = capitalSnake;
|
||||||
SCAETHFlowPointsOption = sCAETHFlowPoints;
|
SCAETHFlowPointsOption = scaethFlowPoints;
|
||||||
SmallCamelOption = smallCamel;
|
SmallCamelOption = smallCamel;
|
||||||
SmallSnakeOption = smallSnake;
|
SmallSnakeOption = smallSnake;
|
||||||
OnCreated();
|
OnCreated();
|
||||||
@ -192,10 +192,10 @@ namespace UseSourceGeneration.Model
|
|||||||
|
|
||||||
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
||||||
|
|
||||||
Option<string?> aTTNAME = default;
|
Option<string?> attNAME = default;
|
||||||
Option<string?> capitalCamel = default;
|
Option<string?> capitalCamel = default;
|
||||||
Option<string?> capitalSnake = default;
|
Option<string?> capitalSnake = default;
|
||||||
Option<string?> sCAETHFlowPoints = default;
|
Option<string?> scaethFlowPoints = default;
|
||||||
Option<string?> smallCamel = default;
|
Option<string?> smallCamel = default;
|
||||||
Option<string?> smallSnake = default;
|
Option<string?> smallSnake = default;
|
||||||
|
|
||||||
@ -215,7 +215,7 @@ namespace UseSourceGeneration.Model
|
|||||||
switch (localVarJsonPropertyName)
|
switch (localVarJsonPropertyName)
|
||||||
{
|
{
|
||||||
case "ATT_NAME":
|
case "ATT_NAME":
|
||||||
aTTNAME = new Option<string?>(utf8JsonReader.GetString()!);
|
attNAME = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
break;
|
break;
|
||||||
case "CapitalCamel":
|
case "CapitalCamel":
|
||||||
capitalCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
capitalCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
@ -224,7 +224,7 @@ namespace UseSourceGeneration.Model
|
|||||||
capitalSnake = new Option<string?>(utf8JsonReader.GetString()!);
|
capitalSnake = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
break;
|
break;
|
||||||
case "SCA_ETH_Flow_Points":
|
case "SCA_ETH_Flow_Points":
|
||||||
sCAETHFlowPoints = new Option<string?>(utf8JsonReader.GetString()!);
|
scaethFlowPoints = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
break;
|
break;
|
||||||
case "smallCamel":
|
case "smallCamel":
|
||||||
smallCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
smallCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
@ -238,8 +238,8 @@ namespace UseSourceGeneration.Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aTTNAME.IsSet && aTTNAME.Value == null)
|
if (attNAME.IsSet && attNAME.Value == null)
|
||||||
throw new ArgumentNullException(nameof(aTTNAME), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(attNAME), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -247,8 +247,8 @@ namespace UseSourceGeneration.Model
|
|||||||
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (sCAETHFlowPoints.IsSet && sCAETHFlowPoints.Value == null)
|
if (scaethFlowPoints.IsSet && scaethFlowPoints.Value == null)
|
||||||
throw new ArgumentNullException(nameof(sCAETHFlowPoints), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(scaethFlowPoints), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (smallCamel.IsSet && smallCamel.Value == null)
|
if (smallCamel.IsSet && smallCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -256,7 +256,7 @@ namespace UseSourceGeneration.Model
|
|||||||
if (smallSnake.IsSet && smallSnake.Value == null)
|
if (smallSnake.IsSet && smallSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
return new Capitalization(aTTNAME, capitalCamel, capitalSnake, sCAETHFlowPoints, smallCamel, smallSnake);
|
return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -34,19 +34,19 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="aTTNAME">Name of the pet </param>
|
/// <param name="attNAME">Name of the pet </param>
|
||||||
/// <param name="capitalCamel">capitalCamel</param>
|
/// <param name="capitalCamel">capitalCamel</param>
|
||||||
/// <param name="capitalSnake">capitalSnake</param>
|
/// <param name="capitalSnake">capitalSnake</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints</param>
|
||||||
/// <param name="smallCamel">smallCamel</param>
|
/// <param name="smallCamel">smallCamel</param>
|
||||||
/// <param name="smallSnake">smallSnake</param>
|
/// <param name="smallSnake">smallSnake</param>
|
||||||
[JsonConstructor]
|
[JsonConstructor]
|
||||||
public Capitalization(Option<string?> aTTNAME = default, Option<string?> capitalCamel = default, Option<string?> capitalSnake = default, Option<string?> sCAETHFlowPoints = default, Option<string?> smallCamel = default, Option<string?> smallSnake = default)
|
public Capitalization(Option<string?> attNAME = default, Option<string?> capitalCamel = default, Option<string?> capitalSnake = default, Option<string?> scaethFlowPoints = default, Option<string?> smallCamel = default, Option<string?> smallSnake = default)
|
||||||
{
|
{
|
||||||
ATT_NAMEOption = aTTNAME;
|
ATT_NAMEOption = attNAME;
|
||||||
CapitalCamelOption = capitalCamel;
|
CapitalCamelOption = capitalCamel;
|
||||||
CapitalSnakeOption = capitalSnake;
|
CapitalSnakeOption = capitalSnake;
|
||||||
SCAETHFlowPointsOption = sCAETHFlowPoints;
|
SCAETHFlowPointsOption = scaethFlowPoints;
|
||||||
SmallCamelOption = smallCamel;
|
SmallCamelOption = smallCamel;
|
||||||
SmallSnakeOption = smallSnake;
|
SmallSnakeOption = smallSnake;
|
||||||
OnCreated();
|
OnCreated();
|
||||||
@ -191,10 +191,10 @@ namespace Org.OpenAPITools.Model
|
|||||||
|
|
||||||
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
||||||
|
|
||||||
Option<string?> aTTNAME = default;
|
Option<string?> attNAME = default;
|
||||||
Option<string?> capitalCamel = default;
|
Option<string?> capitalCamel = default;
|
||||||
Option<string?> capitalSnake = default;
|
Option<string?> capitalSnake = default;
|
||||||
Option<string?> sCAETHFlowPoints = default;
|
Option<string?> scaethFlowPoints = default;
|
||||||
Option<string?> smallCamel = default;
|
Option<string?> smallCamel = default;
|
||||||
Option<string?> smallSnake = default;
|
Option<string?> smallSnake = default;
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
switch (localVarJsonPropertyName)
|
switch (localVarJsonPropertyName)
|
||||||
{
|
{
|
||||||
case "ATT_NAME":
|
case "ATT_NAME":
|
||||||
aTTNAME = new Option<string?>(utf8JsonReader.GetString()!);
|
attNAME = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
break;
|
break;
|
||||||
case "CapitalCamel":
|
case "CapitalCamel":
|
||||||
capitalCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
capitalCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
@ -223,7 +223,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
capitalSnake = new Option<string?>(utf8JsonReader.GetString()!);
|
capitalSnake = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
break;
|
break;
|
||||||
case "SCA_ETH_Flow_Points":
|
case "SCA_ETH_Flow_Points":
|
||||||
sCAETHFlowPoints = new Option<string?>(utf8JsonReader.GetString()!);
|
scaethFlowPoints = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
break;
|
break;
|
||||||
case "smallCamel":
|
case "smallCamel":
|
||||||
smallCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
smallCamel = new Option<string?>(utf8JsonReader.GetString()!);
|
||||||
@ -237,8 +237,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aTTNAME.IsSet && aTTNAME.Value == null)
|
if (attNAME.IsSet && attNAME.Value == null)
|
||||||
throw new ArgumentNullException(nameof(aTTNAME), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(attNAME), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -246,8 +246,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (sCAETHFlowPoints.IsSet && sCAETHFlowPoints.Value == null)
|
if (scaethFlowPoints.IsSet && scaethFlowPoints.Value == null)
|
||||||
throw new ArgumentNullException(nameof(sCAETHFlowPoints), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(scaethFlowPoints), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (smallCamel.IsSet && smallCamel.Value == null)
|
if (smallCamel.IsSet && smallCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -255,7 +255,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
if (smallSnake.IsSet && smallSnake.Value == null)
|
if (smallSnake.IsSet && smallSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
return new Capitalization(aTTNAME, capitalCamel, capitalSnake, sCAETHFlowPoints, smallCamel, smallSnake);
|
return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -32,19 +32,19 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="aTTNAME">Name of the pet </param>
|
/// <param name="attNAME">Name of the pet </param>
|
||||||
/// <param name="capitalCamel">capitalCamel</param>
|
/// <param name="capitalCamel">capitalCamel</param>
|
||||||
/// <param name="capitalSnake">capitalSnake</param>
|
/// <param name="capitalSnake">capitalSnake</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints</param>
|
||||||
/// <param name="smallCamel">smallCamel</param>
|
/// <param name="smallCamel">smallCamel</param>
|
||||||
/// <param name="smallSnake">smallSnake</param>
|
/// <param name="smallSnake">smallSnake</param>
|
||||||
[JsonConstructor]
|
[JsonConstructor]
|
||||||
public Capitalization(Option<string> aTTNAME = default, Option<string> capitalCamel = default, Option<string> capitalSnake = default, Option<string> sCAETHFlowPoints = default, Option<string> smallCamel = default, Option<string> smallSnake = default)
|
public Capitalization(Option<string> attNAME = default, Option<string> capitalCamel = default, Option<string> capitalSnake = default, Option<string> scaethFlowPoints = default, Option<string> smallCamel = default, Option<string> smallSnake = default)
|
||||||
{
|
{
|
||||||
ATT_NAMEOption = aTTNAME;
|
ATT_NAMEOption = attNAME;
|
||||||
CapitalCamelOption = capitalCamel;
|
CapitalCamelOption = capitalCamel;
|
||||||
CapitalSnakeOption = capitalSnake;
|
CapitalSnakeOption = capitalSnake;
|
||||||
SCAETHFlowPointsOption = sCAETHFlowPoints;
|
SCAETHFlowPointsOption = scaethFlowPoints;
|
||||||
SmallCamelOption = smallCamel;
|
SmallCamelOption = smallCamel;
|
||||||
SmallSnakeOption = smallSnake;
|
SmallSnakeOption = smallSnake;
|
||||||
OnCreated();
|
OnCreated();
|
||||||
@ -189,10 +189,10 @@ namespace Org.OpenAPITools.Model
|
|||||||
|
|
||||||
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
||||||
|
|
||||||
Option<string> aTTNAME = default;
|
Option<string> attNAME = default;
|
||||||
Option<string> capitalCamel = default;
|
Option<string> capitalCamel = default;
|
||||||
Option<string> capitalSnake = default;
|
Option<string> capitalSnake = default;
|
||||||
Option<string> sCAETHFlowPoints = default;
|
Option<string> scaethFlowPoints = default;
|
||||||
Option<string> smallCamel = default;
|
Option<string> smallCamel = default;
|
||||||
Option<string> smallSnake = default;
|
Option<string> smallSnake = default;
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
switch (localVarJsonPropertyName)
|
switch (localVarJsonPropertyName)
|
||||||
{
|
{
|
||||||
case "ATT_NAME":
|
case "ATT_NAME":
|
||||||
aTTNAME = new Option<string>(utf8JsonReader.GetString());
|
attNAME = new Option<string>(utf8JsonReader.GetString());
|
||||||
break;
|
break;
|
||||||
case "CapitalCamel":
|
case "CapitalCamel":
|
||||||
capitalCamel = new Option<string>(utf8JsonReader.GetString());
|
capitalCamel = new Option<string>(utf8JsonReader.GetString());
|
||||||
@ -221,7 +221,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
capitalSnake = new Option<string>(utf8JsonReader.GetString());
|
capitalSnake = new Option<string>(utf8JsonReader.GetString());
|
||||||
break;
|
break;
|
||||||
case "SCA_ETH_Flow_Points":
|
case "SCA_ETH_Flow_Points":
|
||||||
sCAETHFlowPoints = new Option<string>(utf8JsonReader.GetString());
|
scaethFlowPoints = new Option<string>(utf8JsonReader.GetString());
|
||||||
break;
|
break;
|
||||||
case "smallCamel":
|
case "smallCamel":
|
||||||
smallCamel = new Option<string>(utf8JsonReader.GetString());
|
smallCamel = new Option<string>(utf8JsonReader.GetString());
|
||||||
@ -235,8 +235,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aTTNAME.IsSet && aTTNAME.Value == null)
|
if (attNAME.IsSet && attNAME.Value == null)
|
||||||
throw new ArgumentNullException(nameof(aTTNAME), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(attNAME), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -244,8 +244,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (sCAETHFlowPoints.IsSet && sCAETHFlowPoints.Value == null)
|
if (scaethFlowPoints.IsSet && scaethFlowPoints.Value == null)
|
||||||
throw new ArgumentNullException(nameof(sCAETHFlowPoints), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(scaethFlowPoints), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (smallCamel.IsSet && smallCamel.Value == null)
|
if (smallCamel.IsSet && smallCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -253,7 +253,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
if (smallSnake.IsSet && smallSnake.Value == null)
|
if (smallSnake.IsSet && smallSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
return new Capitalization(aTTNAME, capitalCamel, capitalSnake, sCAETHFlowPoints, smallCamel, smallSnake);
|
return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -32,19 +32,19 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
/// Initializes a new instance of the <see cref="Capitalization" /> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="aTTNAME">Name of the pet </param>
|
/// <param name="attNAME">Name of the pet </param>
|
||||||
/// <param name="capitalCamel">capitalCamel</param>
|
/// <param name="capitalCamel">capitalCamel</param>
|
||||||
/// <param name="capitalSnake">capitalSnake</param>
|
/// <param name="capitalSnake">capitalSnake</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints</param>
|
||||||
/// <param name="smallCamel">smallCamel</param>
|
/// <param name="smallCamel">smallCamel</param>
|
||||||
/// <param name="smallSnake">smallSnake</param>
|
/// <param name="smallSnake">smallSnake</param>
|
||||||
[JsonConstructor]
|
[JsonConstructor]
|
||||||
public Capitalization(Option<string> aTTNAME = default, Option<string> capitalCamel = default, Option<string> capitalSnake = default, Option<string> sCAETHFlowPoints = default, Option<string> smallCamel = default, Option<string> smallSnake = default)
|
public Capitalization(Option<string> attNAME = default, Option<string> capitalCamel = default, Option<string> capitalSnake = default, Option<string> scaethFlowPoints = default, Option<string> smallCamel = default, Option<string> smallSnake = default)
|
||||||
{
|
{
|
||||||
ATT_NAMEOption = aTTNAME;
|
ATT_NAMEOption = attNAME;
|
||||||
CapitalCamelOption = capitalCamel;
|
CapitalCamelOption = capitalCamel;
|
||||||
CapitalSnakeOption = capitalSnake;
|
CapitalSnakeOption = capitalSnake;
|
||||||
SCAETHFlowPointsOption = sCAETHFlowPoints;
|
SCAETHFlowPointsOption = scaethFlowPoints;
|
||||||
SmallCamelOption = smallCamel;
|
SmallCamelOption = smallCamel;
|
||||||
SmallSnakeOption = smallSnake;
|
SmallSnakeOption = smallSnake;
|
||||||
OnCreated();
|
OnCreated();
|
||||||
@ -189,10 +189,10 @@ namespace Org.OpenAPITools.Model
|
|||||||
|
|
||||||
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
JsonTokenType startingTokenType = utf8JsonReader.TokenType;
|
||||||
|
|
||||||
Option<string> aTTNAME = default;
|
Option<string> attNAME = default;
|
||||||
Option<string> capitalCamel = default;
|
Option<string> capitalCamel = default;
|
||||||
Option<string> capitalSnake = default;
|
Option<string> capitalSnake = default;
|
||||||
Option<string> sCAETHFlowPoints = default;
|
Option<string> scaethFlowPoints = default;
|
||||||
Option<string> smallCamel = default;
|
Option<string> smallCamel = default;
|
||||||
Option<string> smallSnake = default;
|
Option<string> smallSnake = default;
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
switch (localVarJsonPropertyName)
|
switch (localVarJsonPropertyName)
|
||||||
{
|
{
|
||||||
case "ATT_NAME":
|
case "ATT_NAME":
|
||||||
aTTNAME = new Option<string>(utf8JsonReader.GetString());
|
attNAME = new Option<string>(utf8JsonReader.GetString());
|
||||||
break;
|
break;
|
||||||
case "CapitalCamel":
|
case "CapitalCamel":
|
||||||
capitalCamel = new Option<string>(utf8JsonReader.GetString());
|
capitalCamel = new Option<string>(utf8JsonReader.GetString());
|
||||||
@ -221,7 +221,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
capitalSnake = new Option<string>(utf8JsonReader.GetString());
|
capitalSnake = new Option<string>(utf8JsonReader.GetString());
|
||||||
break;
|
break;
|
||||||
case "SCA_ETH_Flow_Points":
|
case "SCA_ETH_Flow_Points":
|
||||||
sCAETHFlowPoints = new Option<string>(utf8JsonReader.GetString());
|
scaethFlowPoints = new Option<string>(utf8JsonReader.GetString());
|
||||||
break;
|
break;
|
||||||
case "smallCamel":
|
case "smallCamel":
|
||||||
smallCamel = new Option<string>(utf8JsonReader.GetString());
|
smallCamel = new Option<string>(utf8JsonReader.GetString());
|
||||||
@ -235,8 +235,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aTTNAME.IsSet && aTTNAME.Value == null)
|
if (attNAME.IsSet && attNAME.Value == null)
|
||||||
throw new ArgumentNullException(nameof(aTTNAME), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(attNAME), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
if (capitalCamel.IsSet && capitalCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -244,8 +244,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
if (capitalSnake.IsSet && capitalSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(capitalSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (sCAETHFlowPoints.IsSet && sCAETHFlowPoints.Value == null)
|
if (scaethFlowPoints.IsSet && scaethFlowPoints.Value == null)
|
||||||
throw new ArgumentNullException(nameof(sCAETHFlowPoints), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(scaethFlowPoints), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
if (smallCamel.IsSet && smallCamel.Value == null)
|
if (smallCamel.IsSet && smallCamel.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallCamel), "Property is not nullable for class Capitalization.");
|
||||||
@ -253,7 +253,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
if (smallSnake.IsSet && smallSnake.Value == null)
|
if (smallSnake.IsSet && smallSnake.Value == null)
|
||||||
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
throw new ArgumentNullException(nameof(smallSnake), "Property is not nullable for class Capitalization.");
|
||||||
|
|
||||||
return new Capitalization(aTTNAME, capitalCamel, capitalSnake, sCAETHFlowPoints, smallCamel, smallSnake);
|
return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -40,16 +40,16 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this.SmallCamel = smallCamel;
|
this.SmallCamel = smallCamel;
|
||||||
this.CapitalCamel = capitalCamel;
|
this.CapitalCamel = capitalCamel;
|
||||||
this.SmallSnake = smallSnake;
|
this.SmallSnake = smallSnake;
|
||||||
this.CapitalSnake = capitalSnake;
|
this.CapitalSnake = capitalSnake;
|
||||||
this.SCAETHFlowPoints = sCAETHFlowPoints;
|
this.SCAETHFlowPoints = scaethFlowPoints;
|
||||||
this.ATT_NAME = aTTNAME;
|
this.ATT_NAME = attNAME;
|
||||||
this.AdditionalProperties = new Dictionary<string, object>();
|
this.AdditionalProperties = new Dictionary<string, object>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,16 +39,16 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this.SmallCamel = smallCamel;
|
this.SmallCamel = smallCamel;
|
||||||
this.CapitalCamel = capitalCamel;
|
this.CapitalCamel = capitalCamel;
|
||||||
this.SmallSnake = smallSnake;
|
this.SmallSnake = smallSnake;
|
||||||
this.CapitalSnake = capitalSnake;
|
this.CapitalSnake = capitalSnake;
|
||||||
this.SCAETHFlowPoints = sCAETHFlowPoints;
|
this.SCAETHFlowPoints = scaethFlowPoints;
|
||||||
this.ATT_NAME = aTTNAME;
|
this.ATT_NAME = attNAME;
|
||||||
this.AdditionalProperties = new Dictionary<string, object>();
|
this.AdditionalProperties = new Dictionary<string, object>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,16 +39,16 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this.SmallCamel = smallCamel;
|
this.SmallCamel = smallCamel;
|
||||||
this.CapitalCamel = capitalCamel;
|
this.CapitalCamel = capitalCamel;
|
||||||
this.SmallSnake = smallSnake;
|
this.SmallSnake = smallSnake;
|
||||||
this.CapitalSnake = capitalSnake;
|
this.CapitalSnake = capitalSnake;
|
||||||
this.SCAETHFlowPoints = sCAETHFlowPoints;
|
this.SCAETHFlowPoints = scaethFlowPoints;
|
||||||
this.ATT_NAME = aTTNAME;
|
this.ATT_NAME = attNAME;
|
||||||
this.AdditionalProperties = new Dictionary<string, object>();
|
this.AdditionalProperties = new Dictionary<string, object>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,16 +39,16 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this.SmallCamel = smallCamel;
|
this.SmallCamel = smallCamel;
|
||||||
this.CapitalCamel = capitalCamel;
|
this.CapitalCamel = capitalCamel;
|
||||||
this.SmallSnake = smallSnake;
|
this.SmallSnake = smallSnake;
|
||||||
this.CapitalSnake = capitalSnake;
|
this.CapitalSnake = capitalSnake;
|
||||||
this.SCAETHFlowPoints = sCAETHFlowPoints;
|
this.SCAETHFlowPoints = scaethFlowPoints;
|
||||||
this.ATT_NAME = aTTNAME;
|
this.ATT_NAME = attNAME;
|
||||||
this.AdditionalProperties = new Dictionary<string, object>();
|
this.AdditionalProperties = new Dictionary<string, object>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,16 +37,16 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this.SmallCamel = smallCamel;
|
this.SmallCamel = smallCamel;
|
||||||
this.CapitalCamel = capitalCamel;
|
this.CapitalCamel = capitalCamel;
|
||||||
this.SmallSnake = smallSnake;
|
this.SmallSnake = smallSnake;
|
||||||
this.CapitalSnake = capitalSnake;
|
this.CapitalSnake = capitalSnake;
|
||||||
this.SCAETHFlowPoints = sCAETHFlowPoints;
|
this.SCAETHFlowPoints = scaethFlowPoints;
|
||||||
this.ATT_NAME = aTTNAME;
|
this.ATT_NAME = attNAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -39,16 +39,16 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this.SmallCamel = smallCamel;
|
this.SmallCamel = smallCamel;
|
||||||
this.CapitalCamel = capitalCamel;
|
this.CapitalCamel = capitalCamel;
|
||||||
this.SmallSnake = smallSnake;
|
this.SmallSnake = smallSnake;
|
||||||
this.CapitalSnake = capitalSnake;
|
this.CapitalSnake = capitalSnake;
|
||||||
this.SCAETHFlowPoints = sCAETHFlowPoints;
|
this.SCAETHFlowPoints = scaethFlowPoints;
|
||||||
this.ATT_NAME = aTTNAME;
|
this.ATT_NAME = attNAME;
|
||||||
this.AdditionalProperties = new Dictionary<string, object>();
|
this.AdditionalProperties = new Dictionary<string, object>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,16 +39,16 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="capitalCamel">capitalCamel.</param>
|
/// <param name="capitalCamel">capitalCamel.</param>
|
||||||
/// <param name="smallSnake">smallSnake.</param>
|
/// <param name="smallSnake">smallSnake.</param>
|
||||||
/// <param name="capitalSnake">capitalSnake.</param>
|
/// <param name="capitalSnake">capitalSnake.</param>
|
||||||
/// <param name="sCAETHFlowPoints">sCAETHFlowPoints.</param>
|
/// <param name="scaethFlowPoints">scaethFlowPoints.</param>
|
||||||
/// <param name="aTTNAME">Name of the pet .</param>
|
/// <param name="attNAME">Name of the pet .</param>
|
||||||
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string sCAETHFlowPoints = default(string), string aTTNAME = default(string))
|
public Capitalization(string smallCamel = default(string), string capitalCamel = default(string), string smallSnake = default(string), string capitalSnake = default(string), string scaethFlowPoints = default(string), string attNAME = default(string))
|
||||||
{
|
{
|
||||||
this.SmallCamel = smallCamel;
|
this.SmallCamel = smallCamel;
|
||||||
this.CapitalCamel = capitalCamel;
|
this.CapitalCamel = capitalCamel;
|
||||||
this.SmallSnake = smallSnake;
|
this.SmallSnake = smallSnake;
|
||||||
this.CapitalSnake = capitalSnake;
|
this.CapitalSnake = capitalSnake;
|
||||||
this.SCAETHFlowPoints = sCAETHFlowPoints;
|
this.SCAETHFlowPoints = scaethFlowPoints;
|
||||||
this.ATT_NAME = aTTNAME;
|
this.ATT_NAME = attNAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
public var capitalCamel: String?
|
public var capitalCamel: String?
|
||||||
public var smallSnake: String?
|
public var smallSnake: String?
|
||||||
public var capitalSnake: String?
|
public var capitalSnake: String?
|
||||||
public var sCAETHFlowPoints: String?
|
public var scaETHFlowPoints: String?
|
||||||
/** Name of the pet */
|
/** Name of the pet */
|
||||||
public var ATT_NAME: String?
|
public var ATT_NAME: String?
|
||||||
|
|
||||||
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, sCAETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, scaETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
||||||
self.smallCamel = smallCamel
|
self.smallCamel = smallCamel
|
||||||
self.capitalCamel = capitalCamel
|
self.capitalCamel = capitalCamel
|
||||||
self.smallSnake = smallSnake
|
self.smallSnake = smallSnake
|
||||||
self.capitalSnake = capitalSnake
|
self.capitalSnake = capitalSnake
|
||||||
self.sCAETHFlowPoints = sCAETHFlowPoints
|
self.scaETHFlowPoints = scaETHFlowPoints
|
||||||
self.ATT_NAME = ATT_NAME
|
self.ATT_NAME = ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
case capitalCamel = "CapitalCamel"
|
case capitalCamel = "CapitalCamel"
|
||||||
case smallSnake = "small_Snake"
|
case smallSnake = "small_Snake"
|
||||||
case capitalSnake = "Capital_Snake"
|
case capitalSnake = "Capital_Snake"
|
||||||
case sCAETHFlowPoints = "SCA_ETH_Flow_Points"
|
case scaETHFlowPoints = "SCA_ETH_Flow_Points"
|
||||||
case ATT_NAME
|
case ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
||||||
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
||||||
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
||||||
try container.encodeIfPresent(sCAETHFlowPoints, forKey: .sCAETHFlowPoints)
|
try container.encodeIfPresent(scaETHFlowPoints, forKey: .scaETHFlowPoints)
|
||||||
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
public var capitalCamel: String?
|
public var capitalCamel: String?
|
||||||
public var smallSnake: String?
|
public var smallSnake: String?
|
||||||
public var capitalSnake: String?
|
public var capitalSnake: String?
|
||||||
public var sCAETHFlowPoints: String?
|
public var scaETHFlowPoints: String?
|
||||||
/** Name of the pet */
|
/** Name of the pet */
|
||||||
public var ATT_NAME: String?
|
public var ATT_NAME: String?
|
||||||
|
|
||||||
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, sCAETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, scaETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
||||||
self.smallCamel = smallCamel
|
self.smallCamel = smallCamel
|
||||||
self.capitalCamel = capitalCamel
|
self.capitalCamel = capitalCamel
|
||||||
self.smallSnake = smallSnake
|
self.smallSnake = smallSnake
|
||||||
self.capitalSnake = capitalSnake
|
self.capitalSnake = capitalSnake
|
||||||
self.sCAETHFlowPoints = sCAETHFlowPoints
|
self.scaETHFlowPoints = scaETHFlowPoints
|
||||||
self.ATT_NAME = ATT_NAME
|
self.ATT_NAME = ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
case capitalCamel = "CapitalCamel"
|
case capitalCamel = "CapitalCamel"
|
||||||
case smallSnake = "small_Snake"
|
case smallSnake = "small_Snake"
|
||||||
case capitalSnake = "Capital_Snake"
|
case capitalSnake = "Capital_Snake"
|
||||||
case sCAETHFlowPoints = "SCA_ETH_Flow_Points"
|
case scaETHFlowPoints = "SCA_ETH_Flow_Points"
|
||||||
case ATT_NAME
|
case ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
||||||
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
||||||
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
||||||
try container.encodeIfPresent(sCAETHFlowPoints, forKey: .sCAETHFlowPoints)
|
try container.encodeIfPresent(scaETHFlowPoints, forKey: .scaETHFlowPoints)
|
||||||
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
public var capitalCamel: String?
|
public var capitalCamel: String?
|
||||||
public var smallSnake: String?
|
public var smallSnake: String?
|
||||||
public var capitalSnake: String?
|
public var capitalSnake: String?
|
||||||
public var sCAETHFlowPoints: String?
|
public var scaETHFlowPoints: String?
|
||||||
/** Name of the pet */
|
/** Name of the pet */
|
||||||
public var ATT_NAME: String?
|
public var ATT_NAME: String?
|
||||||
|
|
||||||
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, sCAETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, scaETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
||||||
self.smallCamel = smallCamel
|
self.smallCamel = smallCamel
|
||||||
self.capitalCamel = capitalCamel
|
self.capitalCamel = capitalCamel
|
||||||
self.smallSnake = smallSnake
|
self.smallSnake = smallSnake
|
||||||
self.capitalSnake = capitalSnake
|
self.capitalSnake = capitalSnake
|
||||||
self.sCAETHFlowPoints = sCAETHFlowPoints
|
self.scaETHFlowPoints = scaETHFlowPoints
|
||||||
self.ATT_NAME = ATT_NAME
|
self.ATT_NAME = ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
case capitalCamel = "CapitalCamel"
|
case capitalCamel = "CapitalCamel"
|
||||||
case smallSnake = "small_Snake"
|
case smallSnake = "small_Snake"
|
||||||
case capitalSnake = "Capital_Snake"
|
case capitalSnake = "Capital_Snake"
|
||||||
case sCAETHFlowPoints = "SCA_ETH_Flow_Points"
|
case scaETHFlowPoints = "SCA_ETH_Flow_Points"
|
||||||
case ATT_NAME
|
case ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
||||||
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
||||||
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
||||||
try container.encodeIfPresent(sCAETHFlowPoints, forKey: .sCAETHFlowPoints)
|
try container.encodeIfPresent(scaETHFlowPoints, forKey: .scaETHFlowPoints)
|
||||||
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
public var capitalCamel: String?
|
public var capitalCamel: String?
|
||||||
public var smallSnake: String?
|
public var smallSnake: String?
|
||||||
public var capitalSnake: String?
|
public var capitalSnake: String?
|
||||||
public var sCAETHFlowPoints: String?
|
public var scaETHFlowPoints: String?
|
||||||
/** Name of the pet */
|
/** Name of the pet */
|
||||||
public var ATT_NAME: String?
|
public var ATT_NAME: String?
|
||||||
|
|
||||||
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, sCAETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, scaETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
||||||
self.smallCamel = smallCamel
|
self.smallCamel = smallCamel
|
||||||
self.capitalCamel = capitalCamel
|
self.capitalCamel = capitalCamel
|
||||||
self.smallSnake = smallSnake
|
self.smallSnake = smallSnake
|
||||||
self.capitalSnake = capitalSnake
|
self.capitalSnake = capitalSnake
|
||||||
self.sCAETHFlowPoints = sCAETHFlowPoints
|
self.scaETHFlowPoints = scaETHFlowPoints
|
||||||
self.ATT_NAME = ATT_NAME
|
self.ATT_NAME = ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
case capitalCamel = "CapitalCamel"
|
case capitalCamel = "CapitalCamel"
|
||||||
case smallSnake = "small_Snake"
|
case smallSnake = "small_Snake"
|
||||||
case capitalSnake = "Capital_Snake"
|
case capitalSnake = "Capital_Snake"
|
||||||
case sCAETHFlowPoints = "SCA_ETH_Flow_Points"
|
case scaETHFlowPoints = "SCA_ETH_Flow_Points"
|
||||||
case ATT_NAME
|
case ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
||||||
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
||||||
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
||||||
try container.encodeIfPresent(sCAETHFlowPoints, forKey: .sCAETHFlowPoints)
|
try container.encodeIfPresent(scaETHFlowPoints, forKey: .scaETHFlowPoints)
|
||||||
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
public var capitalCamel: String?
|
public var capitalCamel: String?
|
||||||
public var smallSnake: String?
|
public var smallSnake: String?
|
||||||
public var capitalSnake: String?
|
public var capitalSnake: String?
|
||||||
public var sCAETHFlowPoints: String?
|
public var scaETHFlowPoints: String?
|
||||||
/** Name of the pet */
|
/** Name of the pet */
|
||||||
public var ATT_NAME: String?
|
public var ATT_NAME: String?
|
||||||
|
|
||||||
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, sCAETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
public init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, scaETHFlowPoints: String? = nil, ATT_NAME: String? = nil) {
|
||||||
self.smallCamel = smallCamel
|
self.smallCamel = smallCamel
|
||||||
self.capitalCamel = capitalCamel
|
self.capitalCamel = capitalCamel
|
||||||
self.smallSnake = smallSnake
|
self.smallSnake = smallSnake
|
||||||
self.capitalSnake = capitalSnake
|
self.capitalSnake = capitalSnake
|
||||||
self.sCAETHFlowPoints = sCAETHFlowPoints
|
self.scaETHFlowPoints = scaETHFlowPoints
|
||||||
self.ATT_NAME = ATT_NAME
|
self.ATT_NAME = ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
case capitalCamel = "CapitalCamel"
|
case capitalCamel = "CapitalCamel"
|
||||||
case smallSnake = "small_Snake"
|
case smallSnake = "small_Snake"
|
||||||
case capitalSnake = "Capital_Snake"
|
case capitalSnake = "Capital_Snake"
|
||||||
case sCAETHFlowPoints = "SCA_ETH_Flow_Points"
|
case scaETHFlowPoints = "SCA_ETH_Flow_Points"
|
||||||
case ATT_NAME
|
case ATT_NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable {
|
|||||||
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel)
|
||||||
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
try container.encodeIfPresent(smallSnake, forKey: .smallSnake)
|
||||||
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
try container.encodeIfPresent(capitalSnake, forKey: .capitalSnake)
|
||||||
try container.encodeIfPresent(sCAETHFlowPoints, forKey: .sCAETHFlowPoints)
|
try container.encodeIfPresent(scaETHFlowPoints, forKey: .scaETHFlowPoints)
|
||||||
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
try container.encodeIfPresent(ATT_NAME, forKey: .ATT_NAME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|||||||
**capitalCamel** | **String** | | [optional]
|
**capitalCamel** | **String** | | [optional]
|
||||||
**smallSnake** | **String** | | [optional]
|
**smallSnake** | **String** | | [optional]
|
||||||
**capitalSnake** | **String** | | [optional]
|
**capitalSnake** | **String** | | [optional]
|
||||||
**sCAETHFlowPoints** | **String** | | [optional]
|
**scaETHFlowPoints** | **String** | | [optional]
|
||||||
**ATT_NAME** | **String** | Name of the pet | [optional]
|
**ATT_NAME** | **String** | Name of the pet | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user