From 80b6dd933fea75f60d6ee7d33968032e81f52102 Mon Sep 17 00:00:00 2001 From: Tim Selman Date: Wed, 7 Jun 2023 13:00:41 +0200 Subject: [PATCH 1/5] Improve camelization in DefaultCodegen --- .../openapitools/codegen/DefaultCodegen.java | 33 +++++++++++++++++-- .../codegen/DefaultCodegenTest.java | 11 +++++++ 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index 3cecbc9347d9..43a1d1d77ae0 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.openapitools.codegen; + package org.openapitools.codegen; import com.github.benmanes.caffeine.cache.Cache; import com.github.benmanes.caffeine.cache.Caffeine; @@ -5910,7 +5910,13 @@ public String removeNonNameElementToCamelCase(String name) { * @return camelized string */ 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] = lowerStartOfWord(splitString[0]); + } + + String result = Arrays.stream(splitString) .map(StringUtils::capitalize) .collect(Collectors.joining("")); if (result.length() > 0) { @@ -5919,6 +5925,29 @@ protected String removeNonNameElementToCamelCase(final String name, final String return result; } + /** + * Puts the first letters to lowercase. If the word starts with multiple capital letters, all of them + * will be converted to lowercase. + * @param name string to be changed + * @return string starting with lowercase + */ + private String lowerStartOfWord(final String name) { + final StringBuilder result = new StringBuilder(); + boolean isStartingBlock = true; + for (int i = 0; i < name.length(); i++) { + char current = name.charAt(i); + if (isStartingBlock && Character.isUpperCase(current)) { + current = Character.toLowerCase(current); + } else { + isStartingBlock = false; + } + + result.append(current); + } + + return result.toString(); + } + @Override public String apiFilename(String templateName, String tag) { String suffix = apiTemplateFiles().get(templateName); diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java index 4044533234a6..0fa56b9dc21c 100644 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java +++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java @@ -4722,4 +4722,15 @@ public void testAddOptionEnumValuesNull() { Assert.assertTrue(codegen.cliOptions.contains(expected)); } + + @Test + public void testRemoveNonNameElementToCamelCase() { + final DefaultCodegen codegen = new DefaultCodegen(); + + final String alreadyCamelCase = "aVATRate"; + Assert.assertEquals(codegen.removeNonNameElementToCamelCase(alreadyCamelCase), alreadyCamelCase); + + final String startWithCapitals = "DELETE_Invoice"; + Assert.assertEquals(codegen.removeNonNameElementToCamelCase(startWithCapitals), "deleteInvoice"); + } } From cb1f2dab3a4179a6fc24cd8a82aeaf1278b640f8 Mon Sep 17 00:00:00 2001 From: Tim Selman Date: Fri, 9 Jun 2023 16:10:37 +0200 Subject: [PATCH 2/5] Improve overall camelization --- .../java/org/openapitools/codegen/DefaultCodegen.java | 6 +++++- .../org/openapitools/codegen/utils/StringUtils.java | 10 +++++++++- .../org/openapitools/codegen/DefaultCodegenTest.java | 7 +++++-- .../codegen/kotlin/AbstractKotlinCodegenTest.java | 2 +- .../openapitools/codegen/utils/StringUtilsTest.java | 8 ++++++++ 5 files changed, 28 insertions(+), 5 deletions(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index 43a1d1d77ae0..c403405c17e7 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -60,6 +60,7 @@ import org.openapitools.codegen.serializer.SerializerUtils; import org.openapitools.codegen.templating.MustacheEngineAdapter; import org.openapitools.codegen.templating.mustache.*; +import org.openapitools.codegen.utils.CamelizeOption; import org.openapitools.codegen.utils.ModelUtils; import org.openapitools.codegen.utils.OneOfImplementorAdditionalData; import org.slf4j.Logger; @@ -5913,7 +5914,7 @@ protected String removeNonNameElementToCamelCase(final String name, final String String[] splitString = name.split(nonNameElementPattern); if (splitString.length > 0) { - splitString[0] = lowerStartOfWord(splitString[0]); + splitString[0] = camelize(splitString[0], CamelizeOption.LOWERCASE_FIRST_CHAR); } String result = Arrays.stream(splitString) @@ -5925,6 +5926,9 @@ protected String removeNonNameElementToCamelCase(final String name, final String return result; } + + private static Pattern capitalLetterPattern = Pattern.compile("([A-Z]+)([A-Z][a-z][a-z]+)"); + /** * Puts the first letters to lowercase. If the word starts with multiple capital letters, all of them * will be converted to lowercase. diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/StringUtils.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/StringUtils.java index 6f81ef9a3278..3195923ff28d 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/StringUtils.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/utils/StringUtils.java @@ -118,6 +118,7 @@ public static String camelize(String word) { private static Pattern camelizeSlashPattern = Pattern.compile("\\/(.?)"); 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 camelizeHyphenPattern = Pattern.compile("(-)(.)"); private static Pattern camelizeDollarPattern = Pattern.compile("\\$"); @@ -136,8 +137,15 @@ public static String camelize(final String inputWord, CamelizeOption camelizeOpt return camelizedWordsCache.get(key, pair -> { String word = pair.getKey(); 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) - Matcher m = camelizeSlashPattern.matcher(word); + m = camelizeSlashPattern.matcher(word); while (m.find()) { word = m.replaceFirst("." + m.group(1)/*.toUpperCase()*/); m = camelizeSlashPattern.matcher(word); diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java index 0fa56b9dc21c..b600a02cdd8e 100644 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java +++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java @@ -4730,7 +4730,10 @@ public void testRemoveNonNameElementToCamelCase() { final String alreadyCamelCase = "aVATRate"; Assert.assertEquals(codegen.removeNonNameElementToCamelCase(alreadyCamelCase), alreadyCamelCase); - final String startWithCapitals = "DELETE_Invoice"; - Assert.assertEquals(codegen.removeNonNameElementToCamelCase(startWithCapitals), "deleteInvoice"); + final String startWithCapitals = "VATRate"; + Assert.assertEquals(codegen.removeNonNameElementToCamelCase(startWithCapitals), "vatRate"); + + final String startWithCapitalsThenNonNameElement = "DELETE_Invoice"; + Assert.assertEquals(codegen.removeNonNameElementToCamelCase(startWithCapitalsThenNonNameElement), "deleteInvoice"); } } diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/AbstractKotlinCodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/AbstractKotlinCodegenTest.java index 0713e47a489f..c6a2c8a4ad60 100644 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/AbstractKotlinCodegenTest.java +++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/kotlin/AbstractKotlinCodegenTest.java @@ -278,7 +278,7 @@ public void testEnumPropertyWithDefaultValue() { // Assert the enum default value is properly generated CodegenProperty cp1 = cm1.vars.get(0); Assert.assertEquals(cp1.getEnumName(), "PropertyName"); - Assert.assertEquals(cp1.getDefaultValue(), "PropertyName.vALUE"); + Assert.assertEquals(cp1.getDefaultValue(), "PropertyName.`value`"); } @Test(description = "Issue #10792") diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/utils/StringUtilsTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/utils/StringUtilsTest.java index f8a0d6ddf990..e7d8065324b3 100644 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/utils/StringUtilsTest.java +++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/utils/StringUtilsTest.java @@ -35,6 +35,14 @@ public void testCamelize() throws Exception { Assert.assertEquals(camelize("some-value", LOWERCASE_FIRST_CHAR), "someValue"); 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 From a9de1ef614dc4919477db6d0610b359154be3fe3 Mon Sep 17 00:00:00 2001 From: Tim Selman Date: Fri, 9 Jun 2023 16:12:10 +0200 Subject: [PATCH 3/5] Remove stale code --- .../openapitools/codegen/DefaultCodegen.java | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index c403405c17e7..b30b66f251b6 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -5926,32 +5926,6 @@ protected String removeNonNameElementToCamelCase(final String name, final String return result; } - - private static Pattern capitalLetterPattern = Pattern.compile("([A-Z]+)([A-Z][a-z][a-z]+)"); - - /** - * Puts the first letters to lowercase. If the word starts with multiple capital letters, all of them - * will be converted to lowercase. - * @param name string to be changed - * @return string starting with lowercase - */ - private String lowerStartOfWord(final String name) { - final StringBuilder result = new StringBuilder(); - boolean isStartingBlock = true; - for (int i = 0; i < name.length(); i++) { - char current = name.charAt(i); - if (isStartingBlock && Character.isUpperCase(current)) { - current = Character.toLowerCase(current); - } else { - isStartingBlock = false; - } - - result.append(current); - } - - return result.toString(); - } - @Override public String apiFilename(String templateName, String tag) { String suffix = apiTemplateFiles().get(templateName); From 67a2ccc67ff8c42d4dd87a6717a0a156a10392e0 Mon Sep 17 00:00:00 2001 From: Tim Selman Date: Fri, 9 Jun 2023 16:12:58 +0200 Subject: [PATCH 4/5] remove space --- .../src/main/java/org/openapitools/codegen/DefaultCodegen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index b30b66f251b6..6f2a52cf4578 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -15,7 +15,7 @@ * limitations under the License. */ - package org.openapitools.codegen; +package org.openapitools.codegen; import com.github.benmanes.caffeine.cache.Cache; import com.github.benmanes.caffeine.cache.Caffeine; From 9714f12d5d08055f4e3db9c95554818e8587d26f Mon Sep 17 00:00:00 2001 From: Tim Selman Date: Fri, 9 Jun 2023 16:24:53 +0200 Subject: [PATCH 5/5] generate samples and docs --- .../echo_api/java/apache-httpclient/README.md | 2 +- .../java/apache-httpclient/docs/PathApi.md | 10 +++---- .../org/openapitools/client/api/PathApi.java | 10 +++---- .../org/openapitools/client/api/PathApi.java | 6 ++-- samples/client/echo_api/java/native/README.md | 4 +-- .../echo_api/java/native/docs/PathApi.md | 20 ++++++------- .../org/openapitools/client/api/PathApi.java | 16 +++++------ .../echo_api/java/okhttp-gson/README.md | 2 +- .../echo_api/java/okhttp-gson/docs/PathApi.md | 12 ++++---- .../org/openapitools/client/api/PathApi.java | 24 ++++++++-------- samples/client/echo_api/python/README.md | 2 +- .../client/echo_api/python/docs/PathApi.md | 12 ++++---- .../python/openapi_client/api/path_api.py | 14 +++++----- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../Org.OpenAPITools/Model/Capitalization.cs | 28 +++++++++---------- .../Org.OpenAPITools/Model/Capitalization.cs | 28 +++++++++---------- .../Org.OpenAPITools/Model/Capitalization.cs | 28 +++++++++---------- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../Org.OpenAPITools/Model/Capitalization.cs | 10 +++---- .../javascript-apollo/docs/Capitalization.md | 2 +- .../javascript-es6/docs/Capitalization.md | 2 +- .../docs/Capitalization.md | 2 +- .../ModelWithEnumPropertyHavingDefault.kt | 6 ++-- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../alamofireLibrary/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../asyncAwaitLibrary/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../combineLibrary/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../swift5/default/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../swift5/frozenEnums/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../nonPublicApi/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../objcCompatible/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../promisekitLibrary/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../readonlyProperties/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../resultLibrary/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../rxswiftLibrary/docs/Capitalization.md | 2 +- .../Models/Capitalization.swift | 14 +++++----- .../urlsessionLibrary/docs/Capitalization.md | 2 +- .../Models/Capitalization.swift | 14 +++++----- .../vaporLibrary/docs/Capitalization.md | 2 +- .../OpenAPIs/Models/Capitalization.swift | 10 +++---- .../x-swift-hashable/docs/Capitalization.md | 2 +- .../default-v3.0/models/Capitalization.ts | 12 ++++---- .../doc/Capitalization.md | 2 +- .../lib/src/model/capitalization.dart | 8 +++--- .../doc/Capitalization.md | 2 +- .../lib/src/model/capitalization.dart | 10 +++---- .../doc/Capitalization.md | 2 +- .../lib/model/capitalization.dart | 16 +++++------ .../lib/app/Models/Capitalization.php | 8 +++--- 64 files changed, 273 insertions(+), 273 deletions(-) diff --git a/samples/client/echo_api/java/apache-httpclient/README.md b/samples/client/echo_api/java/apache-httpclient/README.md index 961b90ea1a39..c362d4dfd58a 100644 --- a/samples/client/echo_api/java/apache-httpclient/README.md +++ b/samples/client/echo_api/java/apache-httpclient/README.md @@ -113,7 +113,7 @@ Class | Method | HTTP request | Description *BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testEchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body) *FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testFormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s) *HeaderApi* | [**testHeaderIntegerBooleanString**](docs/HeaderApi.md#testHeaderIntegerBooleanString) | **GET** /header/integer/boolean/string | Test header parameter(s) -*PathApi* | [**testsPathStringPathStringIntegerPathInteger**](docs/PathApi.md#testsPathStringPathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) +*PathApi* | [**testsPathStringpathStringIntegerPathInteger**](docs/PathApi.md#testsPathStringpathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path 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* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s) diff --git a/samples/client/echo_api/java/apache-httpclient/docs/PathApi.md b/samples/client/echo_api/java/apache-httpclient/docs/PathApi.md index a4122aa3d47f..b0ffc94d3c4b 100644 --- a/samples/client/echo_api/java/apache-httpclient/docs/PathApi.md +++ b/samples/client/echo_api/java/apache-httpclient/docs/PathApi.md @@ -4,13 +4,13 @@ All URIs are relative to *http://localhost:3000* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**testsPathStringPathStringIntegerPathInteger**](PathApi.md#testsPathStringPathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | +| [**testsPathStringpathStringIntegerPathInteger**](PathApi.md#testsPathStringpathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | -## testsPathStringPathStringIntegerPathInteger +## testsPathStringpathStringIntegerPathInteger -> String testsPathStringPathStringIntegerPathInteger(pathString, pathInteger) +> String testsPathStringpathStringIntegerPathInteger(pathString, pathInteger) Test path parameter(s) @@ -35,10 +35,10 @@ public class Example { String pathString = "pathString_example"; // String | Integer pathInteger = 56; // Integer | try { - String result = apiInstance.testsPathStringPathStringIntegerPathInteger(pathString, pathInteger); + String result = apiInstance.testsPathStringpathStringIntegerPathInteger(pathString, pathInteger); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathInteger"); + System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathInteger"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java index 1b3cd28298ca..d31f541841c4 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java @@ -59,8 +59,8 @@ public void setApiClient(ApiClient apiClient) { * @return String * @throws ApiException if fails to make API call */ - public String testsPathStringPathStringIntegerPathInteger(String pathString, Integer pathInteger) throws ApiException { - return this.testsPathStringPathStringIntegerPathInteger(pathString, pathInteger, Collections.emptyMap()); + public String testsPathStringpathStringIntegerPathInteger(String pathString, Integer pathInteger) throws ApiException { + return this.testsPathStringpathStringIntegerPathInteger(pathString, pathInteger, Collections.emptyMap()); } @@ -73,17 +73,17 @@ public String testsPathStringPathStringIntegerPathInteger(String pathString, Int * @return String * @throws ApiException if fails to make API call */ - public String testsPathStringPathStringIntegerPathInteger(String pathString, Integer pathInteger, Map additionalHeaders) throws ApiException { + public String testsPathStringpathStringIntegerPathInteger(String pathString, Integer pathInteger, Map additionalHeaders) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'pathString' is set if (pathString == null) { - throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathInteger"); + throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathInteger"); } // verify the required parameter 'pathInteger' is set if (pathInteger == null) { - throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathInteger"); + throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathInteger"); } // create path and map variables diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java index 94d6038547cf..16404e301e70 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java @@ -26,11 +26,11 @@ public interface PathApi extends ApiClient.Api { @Headers({ "Accept: text/plain", }) - String testsPathStringPathStringIntegerPathInteger(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger); + String testsPathStringpathStringIntegerPathInteger(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger); /** * Test path parameter(s) - * Similar to testsPathStringPathStringIntegerPathInteger but it also returns the http response headers . + * Similar to testsPathStringpathStringIntegerPathInteger but it also returns the http response headers . * Test path parameter(s) * @param pathString (required) * @param pathInteger (required) @@ -40,7 +40,7 @@ public interface PathApi extends ApiClient.Api { @Headers({ "Accept: text/plain", }) - ApiResponse testsPathStringPathStringIntegerPathIntegerWithHttpInfo(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger); + ApiResponse testsPathStringpathStringIntegerPathIntegerWithHttpInfo(@Param("pathString") String pathString, @Param("pathInteger") Integer pathInteger); } diff --git a/samples/client/echo_api/java/native/README.md b/samples/client/echo_api/java/native/README.md index 12ae83011565..99fe46f14863 100644 --- a/samples/client/echo_api/java/native/README.md +++ b/samples/client/echo_api/java/native/README.md @@ -120,8 +120,8 @@ Class | Method | HTTP request | Description *FormApi* | [**testFormIntegerBooleanStringWithHttpInfo**](docs/FormApi.md#testFormIntegerBooleanStringWithHttpInfo) | **POST** /form/integer/boolean/string | Test form parameter(s) *HeaderApi* | [**testHeaderIntegerBooleanString**](docs/HeaderApi.md#testHeaderIntegerBooleanString) | **GET** /header/integer/boolean/string | Test header parameter(s) *HeaderApi* | [**testHeaderIntegerBooleanStringWithHttpInfo**](docs/HeaderApi.md#testHeaderIntegerBooleanStringWithHttpInfo) | **GET** /header/integer/boolean/string | Test header parameter(s) -*PathApi* | [**testsPathStringPathStringIntegerPathInteger**](docs/PathApi.md#testsPathStringPathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) -*PathApi* | [**testsPathStringPathStringIntegerPathIntegerWithHttpInfo**](docs/PathApi.md#testsPathStringPathStringIntegerPathIntegerWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) +*PathApi* | [**testsPathStringpathStringIntegerPathInteger**](docs/PathApi.md#testsPathStringpathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) +*PathApi* | [**testsPathStringpathStringIntegerPathIntegerWithHttpInfo**](docs/PathApi.md#testsPathStringpathStringIntegerPathIntegerWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path 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* | [**testQueryDatetimeDateString**](docs/QueryApi.md#testQueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s) diff --git a/samples/client/echo_api/java/native/docs/PathApi.md b/samples/client/echo_api/java/native/docs/PathApi.md index de5e2f72e6c5..f8cbb54c916f 100644 --- a/samples/client/echo_api/java/native/docs/PathApi.md +++ b/samples/client/echo_api/java/native/docs/PathApi.md @@ -4,14 +4,14 @@ All URIs are relative to *http://localhost:3000* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**testsPathStringPathStringIntegerPathInteger**](PathApi.md#testsPathStringPathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | -| [**testsPathStringPathStringIntegerPathIntegerWithHttpInfo**](PathApi.md#testsPathStringPathStringIntegerPathIntegerWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | +| [**testsPathStringpathStringIntegerPathInteger**](PathApi.md#testsPathStringpathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | +| [**testsPathStringpathStringIntegerPathIntegerWithHttpInfo**](PathApi.md#testsPathStringpathStringIntegerPathIntegerWithHttpInfo) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | -## testsPathStringPathStringIntegerPathInteger +## testsPathStringpathStringIntegerPathInteger -> String testsPathStringPathStringIntegerPathInteger(pathString, pathInteger) +> String testsPathStringpathStringIntegerPathInteger(pathString, pathInteger) Test path parameter(s) @@ -36,10 +36,10 @@ public class Example { String pathString = "pathString_example"; // String | Integer pathInteger = 56; // Integer | try { - String result = apiInstance.testsPathStringPathStringIntegerPathInteger(pathString, pathInteger); + String result = apiInstance.testsPathStringpathStringIntegerPathInteger(pathString, pathInteger); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathInteger"); + System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathInteger"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -76,9 +76,9 @@ No authorization required |-------------|-------------|------------------| | **200** | Successful operation | - | -## testsPathStringPathStringIntegerPathIntegerWithHttpInfo +## testsPathStringpathStringIntegerPathIntegerWithHttpInfo -> ApiResponse testsPathStringPathStringIntegerPathInteger testsPathStringPathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger) +> ApiResponse testsPathStringpathStringIntegerPathInteger testsPathStringpathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger) Test path parameter(s) @@ -104,12 +104,12 @@ public class Example { String pathString = "pathString_example"; // String | Integer pathInteger = 56; // Integer | try { - ApiResponse response = apiInstance.testsPathStringPathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger); + ApiResponse response = apiInstance.testsPathStringpathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger); System.out.println("Status code: " + response.getStatusCode()); System.out.println("Response headers: " + response.getHeaders()); System.out.println("Response body: " + response.getData()); } catch (ApiException e) { - System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathInteger"); + System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathInteger"); System.err.println("Status code: " + e.getCode()); System.err.println("Response headers: " + e.getResponseHeaders()); System.err.println("Reason: " + e.getResponseBody()); diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java index 8e5db91279da..478e586e7ca1 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java @@ -94,8 +94,8 @@ private String formatExceptionMessage(String operationId, int statusCode, String * @return String * @throws ApiException if fails to make API call */ - public String testsPathStringPathStringIntegerPathInteger(String pathString, Integer pathInteger) throws ApiException { - ApiResponse localVarResponse = testsPathStringPathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger); + public String testsPathStringpathStringIntegerPathInteger(String pathString, Integer pathInteger) throws ApiException { + ApiResponse localVarResponse = testsPathStringpathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger); return localVarResponse.getData(); } @@ -107,8 +107,8 @@ public String testsPathStringPathStringIntegerPathInteger(String pathString, Int * @return ApiResponse<String> * @throws ApiException if fails to make API call */ - public ApiResponse testsPathStringPathStringIntegerPathIntegerWithHttpInfo(String pathString, Integer pathInteger) throws ApiException { - HttpRequest.Builder localVarRequestBuilder = testsPathStringPathStringIntegerPathIntegerRequestBuilder(pathString, pathInteger); + public ApiResponse testsPathStringpathStringIntegerPathIntegerWithHttpInfo(String pathString, Integer pathInteger) throws ApiException { + HttpRequest.Builder localVarRequestBuilder = testsPathStringpathStringIntegerPathIntegerRequestBuilder(pathString, pathInteger); try { HttpResponse localVarResponse = memberVarHttpClient.send( localVarRequestBuilder.build(), @@ -118,7 +118,7 @@ public ApiResponse testsPathStringPathStringIntegerPathIntegerWithHttpIn } try { if (localVarResponse.statusCode()/ 100 != 2) { - throw getApiException("testsPathStringPathStringIntegerPathInteger", localVarResponse); + throw getApiException("testsPathStringpathStringIntegerPathInteger", localVarResponse); } // for plain text response if (localVarResponse.headers().map().containsKey("Content-Type") && @@ -144,14 +144,14 @@ public ApiResponse testsPathStringPathStringIntegerPathIntegerWithHttpIn } } - private HttpRequest.Builder testsPathStringPathStringIntegerPathIntegerRequestBuilder(String pathString, Integer pathInteger) throws ApiException { + private HttpRequest.Builder testsPathStringpathStringIntegerPathIntegerRequestBuilder(String pathString, Integer pathInteger) throws ApiException { // verify the required parameter 'pathString' is set if (pathString == null) { - throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathInteger"); + throw new ApiException(400, "Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathInteger"); } // verify the required parameter 'pathInteger' is set if (pathInteger == null) { - throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathInteger"); + throw new ApiException(400, "Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathInteger"); } HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); diff --git a/samples/client/echo_api/java/okhttp-gson/README.md b/samples/client/echo_api/java/okhttp-gson/README.md index bd2837dbb591..4cb5bec66d58 100644 --- a/samples/client/echo_api/java/okhttp-gson/README.md +++ b/samples/client/echo_api/java/okhttp-gson/README.md @@ -120,7 +120,7 @@ Class | Method | HTTP request | Description *BodyApi* | [**testEchoBodyTagResponseString**](docs/BodyApi.md#testEchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body) *FormApi* | [**testFormIntegerBooleanString**](docs/FormApi.md#testFormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s) *HeaderApi* | [**testHeaderIntegerBooleanString**](docs/HeaderApi.md#testHeaderIntegerBooleanString) | **GET** /header/integer/boolean/string | Test header parameter(s) -*PathApi* | [**testsPathStringPathStringIntegerPathInteger**](docs/PathApi.md#testsPathStringPathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) +*PathApi* | [**testsPathStringpathStringIntegerPathInteger**](docs/PathApi.md#testsPathStringpathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path 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* | [**testQueryIntegerBooleanString**](docs/QueryApi.md#testQueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s) diff --git a/samples/client/echo_api/java/okhttp-gson/docs/PathApi.md b/samples/client/echo_api/java/okhttp-gson/docs/PathApi.md index b67429194640..775b180c835d 100644 --- a/samples/client/echo_api/java/okhttp-gson/docs/PathApi.md +++ b/samples/client/echo_api/java/okhttp-gson/docs/PathApi.md @@ -4,12 +4,12 @@ All URIs are relative to *http://localhost:3000* | Method | HTTP request | Description | |------------- | ------------- | -------------| -| [**testsPathStringPathStringIntegerPathInteger**](PathApi.md#testsPathStringPathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | +| [**testsPathStringpathStringIntegerPathInteger**](PathApi.md#testsPathStringpathStringIntegerPathInteger) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) | - -# **testsPathStringPathStringIntegerPathInteger** -> String testsPathStringPathStringIntegerPathInteger(pathString, pathInteger) + +# **testsPathStringpathStringIntegerPathInteger** +> String testsPathStringpathStringIntegerPathInteger(pathString, pathInteger) Test path parameter(s) @@ -33,10 +33,10 @@ public class Example { String pathString = "pathString_example"; // String | Integer pathInteger = 56; // Integer | try { - String result = apiInstance.testsPathStringPathStringIntegerPathInteger(pathString, pathInteger); + String result = apiInstance.testsPathStringpathStringIntegerPathInteger(pathString, pathInteger); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling PathApi#testsPathStringPathStringIntegerPathInteger"); + System.err.println("Exception when calling PathApi#testsPathStringpathStringIntegerPathInteger"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/api/PathApi.java index 36fbcef7934b..4c02100873c1 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/api/PathApi.java @@ -73,7 +73,7 @@ public void setCustomBaseUrl(String customBaseUrl) { } /** - * Build call for testsPathStringPathStringIntegerPathInteger + * Build call for testsPathStringpathStringIntegerPathInteger * @param pathString (required) * @param pathInteger (required) * @param _callback Callback for upload/download progress @@ -85,7 +85,7 @@ public void setCustomBaseUrl(String customBaseUrl) { 200 Successful operation - */ - public okhttp3.Call testsPathStringPathStringIntegerPathIntegerCall(String pathString, Integer pathInteger, final ApiCallback _callback) throws ApiException { + public okhttp3.Call testsPathStringpathStringIntegerPathIntegerCall(String pathString, Integer pathInteger, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -132,18 +132,18 @@ public okhttp3.Call testsPathStringPathStringIntegerPathIntegerCall(String pathS } @SuppressWarnings("rawtypes") - private okhttp3.Call testsPathStringPathStringIntegerPathIntegerValidateBeforeCall(String pathString, Integer pathInteger, final ApiCallback _callback) throws ApiException { + private okhttp3.Call testsPathStringpathStringIntegerPathIntegerValidateBeforeCall(String pathString, Integer pathInteger, final ApiCallback _callback) throws ApiException { // verify the required parameter 'pathString' is set if (pathString == null) { - throw new ApiException("Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathInteger(Async)"); + throw new ApiException("Missing the required parameter 'pathString' when calling testsPathStringpathStringIntegerPathInteger(Async)"); } // verify the required parameter 'pathInteger' is set if (pathInteger == null) { - throw new ApiException("Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathInteger(Async)"); + throw new ApiException("Missing the required parameter 'pathInteger' when calling testsPathStringpathStringIntegerPathInteger(Async)"); } - return testsPathStringPathStringIntegerPathIntegerCall(pathString, pathInteger, _callback); + return testsPathStringpathStringIntegerPathIntegerCall(pathString, pathInteger, _callback); } @@ -160,8 +160,8 @@ private okhttp3.Call testsPathStringPathStringIntegerPathIntegerValidateBeforeCa 200 Successful operation - */ - public String testsPathStringPathStringIntegerPathInteger(String pathString, Integer pathInteger) throws ApiException { - ApiResponse localVarResp = testsPathStringPathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger); + public String testsPathStringpathStringIntegerPathInteger(String pathString, Integer pathInteger) throws ApiException { + ApiResponse localVarResp = testsPathStringpathStringIntegerPathIntegerWithHttpInfo(pathString, pathInteger); return localVarResp.getData(); } @@ -178,8 +178,8 @@ public String testsPathStringPathStringIntegerPathInteger(String pathString, Int 200 Successful operation - */ - public ApiResponse testsPathStringPathStringIntegerPathIntegerWithHttpInfo(String pathString, Integer pathInteger) throws ApiException { - okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerValidateBeforeCall(pathString, pathInteger, null); + public ApiResponse testsPathStringpathStringIntegerPathIntegerWithHttpInfo(String pathString, Integer pathInteger) throws ApiException { + okhttp3.Call localVarCall = testsPathStringpathStringIntegerPathIntegerValidateBeforeCall(pathString, pathInteger, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -198,9 +198,9 @@ public ApiResponse testsPathStringPathStringIntegerPathIntegerWithHttpIn 200 Successful operation - */ - public okhttp3.Call testsPathStringPathStringIntegerPathIntegerAsync(String pathString, Integer pathInteger, final ApiCallback _callback) throws ApiException { + public okhttp3.Call testsPathStringpathStringIntegerPathIntegerAsync(String pathString, Integer pathInteger, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = testsPathStringPathStringIntegerPathIntegerValidateBeforeCall(pathString, pathInteger, _callback); + okhttp3.Call localVarCall = testsPathStringpathStringIntegerPathIntegerValidateBeforeCall(pathString, pathInteger, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/samples/client/echo_api/python/README.md b/samples/client/echo_api/python/README.md index 5cf4e4ae604f..42b4ff3dbb42 100644 --- a/samples/client/echo_api/python/README.md +++ b/samples/client/echo_api/python/README.md @@ -92,7 +92,7 @@ Class | Method | HTTP request | Description *BodyApi* | [**test_echo_body_tag_response_string**](docs/BodyApi.md#test_echo_body_tag_response_string) | **POST** /echo/body/Tag/response_string | Test empty json (request body) *FormApi* | [**test_form_integer_boolean_string**](docs/FormApi.md#test_form_integer_boolean_string) | **POST** /form/integer/boolean/string | Test form parameter(s) *HeaderApi* | [**test_header_integer_boolean_string**](docs/HeaderApi.md#test_header_integer_boolean_string) | **GET** /header/integer/boolean/string | Test header parameter(s) -*PathApi* | [**tests_path_string_path_string_integer_path_integer**](docs/PathApi.md#tests_path_string_path_string_integer_path_integer) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) +*PathApi* | [**tests_path_stringpath_string_integer_path_integer**](docs/PathApi.md#tests_path_stringpath_string_integer_path_integer) | **GET** /path/string/{path_string}/integer/{path_integer} | 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_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) diff --git a/samples/client/echo_api/python/docs/PathApi.md b/samples/client/echo_api/python/docs/PathApi.md index 2c15c4f56123..b490736e6267 100644 --- a/samples/client/echo_api/python/docs/PathApi.md +++ b/samples/client/echo_api/python/docs/PathApi.md @@ -4,11 +4,11 @@ All URIs are relative to *http://localhost:3000* Method | HTTP request | Description ------------- | ------------- | ------------- -[**tests_path_string_path_string_integer_path_integer**](PathApi.md#tests_path_string_path_string_integer_path_integer) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) +[**tests_path_stringpath_string_integer_path_integer**](PathApi.md#tests_path_stringpath_string_integer_path_integer) | **GET** /path/string/{path_string}/integer/{path_integer} | Test path parameter(s) -# **tests_path_string_path_string_integer_path_integer** -> str tests_path_string_path_string_integer_path_integer(path_string, path_integer) +# **tests_path_stringpath_string_integer_path_integer** +> str tests_path_stringpath_string_integer_path_integer(path_string, path_integer) Test path parameter(s) @@ -39,11 +39,11 @@ with openapi_client.ApiClient(configuration) as api_client: try: # Test path parameter(s) - api_response = api_instance.tests_path_string_path_string_integer_path_integer(path_string, path_integer) - print("The response of PathApi->tests_path_string_path_string_integer_path_integer:\n") + api_response = api_instance.tests_path_stringpath_string_integer_path_integer(path_string, path_integer) + print("The response of PathApi->tests_path_stringpath_string_integer_path_integer:\n") pprint(api_response) except Exception as e: - print("Exception when calling PathApi->tests_path_string_path_string_integer_path_integer: %s\n" % e) + print("Exception when calling PathApi->tests_path_stringpath_string_integer_path_integer: %s\n" % e) ``` diff --git a/samples/client/echo_api/python/openapi_client/api/path_api.py b/samples/client/echo_api/python/openapi_client/api/path_api.py index a30d5579e80a..0eab0baeb580 100644 --- a/samples/client/echo_api/python/openapi_client/api/path_api.py +++ b/samples/client/echo_api/python/openapi_client/api/path_api.py @@ -44,14 +44,14 @@ def __init__(self, api_client=None): self.api_client = api_client @validate_arguments - def tests_path_string_path_string_integer_path_integer(self, path_string : StrictStr, path_integer : StrictInt, **kwargs) -> str: # noqa: E501 + def tests_path_stringpath_string_integer_path_integer(self, path_string : StrictStr, path_integer : StrictInt, **kwargs) -> str: # 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 asynchronous HTTP request, please pass async_req=True - >>> thread = api.tests_path_string_path_string_integer_path_integer(path_string, path_integer, async_req=True) + >>> thread = api.tests_path_stringpath_string_integer_path_integer(path_string, path_integer, async_req=True) >>> result = thread.get() :param path_string: (required) @@ -71,18 +71,18 @@ def tests_path_string_path_string_integer_path_integer(self, path_string : Stric """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: - raise ValueError("Error! Please call the tests_path_string_path_string_integer_path_integer_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.tests_path_string_path_string_integer_path_integer_with_http_info(path_string, path_integer, **kwargs) # noqa: E501 + raise ValueError("Error! Please call the tests_path_stringpath_string_integer_path_integer_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") + return self.tests_path_stringpath_string_integer_path_integer_with_http_info(path_string, path_integer, **kwargs) # noqa: E501 @validate_arguments - def tests_path_string_path_string_integer_path_integer_with_http_info(self, path_string : StrictStr, path_integer : StrictInt, **kwargs) -> ApiResponse: # noqa: E501 + def tests_path_stringpath_string_integer_path_integer_with_http_info(self, path_string : StrictStr, path_integer : StrictInt, **kwargs) -> ApiResponse: # 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 asynchronous HTTP request, please pass async_req=True - >>> thread = api.tests_path_string_path_string_integer_path_integer_with_http_info(path_string, path_integer, async_req=True) + >>> thread = api.tests_path_stringpath_string_integer_path_integer_with_http_info(path_string, path_integer, async_req=True) >>> result = thread.get() :param path_string: (required) @@ -137,7 +137,7 @@ def tests_path_string_path_string_integer_path_integer_with_http_info(self, path if _key not in _all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method tests_path_string_path_string_integer_path_integer" % _key + " to method tests_path_stringpath_string_integer_path_integer" % _key ) _params[_key] = _val del _params['kwargs'] diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs index c9711efcee02..35184ffd7529 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/src/Org.OpenAPITools/Model/Capitalization.cs @@ -39,9 +39,9 @@ public partial class Capitalization : IEquatable, IValidatableOb /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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; if (this.SmallCamel != null) @@ -63,12 +63,12 @@ public partial class Capitalization : IEquatable, IValidatableOb { this._flagCapitalSnake = true; } - this._SCAETHFlowPoints = sCAETHFlowPoints; + this._SCAETHFlowPoints = scaethFlowPoints; if (this.SCAETHFlowPoints != null) { this._flagSCAETHFlowPoints = true; } - this._ATT_NAME = aTTNAME; + this._ATT_NAME = attNAME; if (this.ATT_NAME != null) { this._flagATT_NAME = true; diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/Capitalization.cs index 806bb0e78e5a..ff93c0b37252 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/Capitalization.cs @@ -33,19 +33,19 @@ public partial class Capitalization : IValidatableObject /// /// Initializes a new instance of the class. /// - /// Name of the pet + /// Name of the pet /// capitalCamel /// capitalSnake - /// sCAETHFlowPoints + /// scaethFlowPoints /// smallCamel /// smallSnake [JsonConstructor] - public Capitalization(string aTTNAME, string capitalCamel, string capitalSnake, string sCAETHFlowPoints, string smallCamel, string smallSnake) + public Capitalization(string attNAME, string capitalCamel, string capitalSnake, string scaethFlowPoints, string smallCamel, string smallSnake) { - ATT_NAME = aTTNAME; + ATT_NAME = attNAME; CapitalCamel = capitalCamel; CapitalSnake = capitalSnake; - SCAETHFlowPoints = sCAETHFlowPoints; + SCAETHFlowPoints = scaethFlowPoints; SmallCamel = smallCamel; SmallSnake = smallSnake; OnCreated(); @@ -148,10 +148,10 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type JsonTokenType startingTokenType = utf8JsonReader.TokenType; - string? aTTNAME = default; + string? attNAME = default; string? capitalCamel = default; string? capitalSnake = default; - string? sCAETHFlowPoints = default; + string? scaethFlowPoints = default; string? smallCamel = default; string? smallSnake = default; @@ -171,7 +171,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type switch (propertyName) { case "ATT_NAME": - aTTNAME = utf8JsonReader.GetString(); + attNAME = utf8JsonReader.GetString(); break; case "CapitalCamel": capitalCamel = utf8JsonReader.GetString(); @@ -180,7 +180,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type capitalSnake = utf8JsonReader.GetString(); break; case "SCA_ETH_Flow_Points": - sCAETHFlowPoints = utf8JsonReader.GetString(); + scaethFlowPoints = utf8JsonReader.GetString(); break; case "smallCamel": smallCamel = utf8JsonReader.GetString(); @@ -194,8 +194,8 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type } } - if (aTTNAME == null) - throw new ArgumentNullException(nameof(aTTNAME), "Property is required for class Capitalization."); + 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."); @@ -203,8 +203,8 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type 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 (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."); @@ -212,7 +212,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type if (smallSnake == null) throw new ArgumentNullException(nameof(smallSnake), "Property is required for class Capitalization."); - return new Capitalization(aTTNAME, capitalCamel, capitalSnake, sCAETHFlowPoints, smallCamel, smallSnake); + return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake); } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/Capitalization.cs index d791ab03ab35..9bc9efe2b900 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/Capitalization.cs @@ -31,19 +31,19 @@ public partial class Capitalization : IValidatableObject /// /// Initializes a new instance of the class. /// - /// Name of the pet + /// Name of the pet /// capitalCamel /// capitalSnake - /// sCAETHFlowPoints + /// scaethFlowPoints /// smallCamel /// smallSnake [JsonConstructor] - public Capitalization(string aTTNAME, string capitalCamel, string capitalSnake, string sCAETHFlowPoints, string smallCamel, string smallSnake) + public Capitalization(string attNAME, string capitalCamel, string capitalSnake, string scaethFlowPoints, string smallCamel, string smallSnake) { - ATT_NAME = aTTNAME; + ATT_NAME = attNAME; CapitalCamel = capitalCamel; CapitalSnake = capitalSnake; - SCAETHFlowPoints = sCAETHFlowPoints; + SCAETHFlowPoints = scaethFlowPoints; SmallCamel = smallCamel; SmallSnake = smallSnake; OnCreated(); @@ -146,10 +146,10 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type JsonTokenType startingTokenType = utf8JsonReader.TokenType; - string aTTNAME = default; + string attNAME = default; string capitalCamel = default; string capitalSnake = default; - string sCAETHFlowPoints = default; + string scaethFlowPoints = default; string smallCamel = default; string smallSnake = default; @@ -169,7 +169,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type switch (propertyName) { case "ATT_NAME": - aTTNAME = utf8JsonReader.GetString(); + attNAME = utf8JsonReader.GetString(); break; case "CapitalCamel": capitalCamel = utf8JsonReader.GetString(); @@ -178,7 +178,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type capitalSnake = utf8JsonReader.GetString(); break; case "SCA_ETH_Flow_Points": - sCAETHFlowPoints = utf8JsonReader.GetString(); + scaethFlowPoints = utf8JsonReader.GetString(); break; case "smallCamel": smallCamel = utf8JsonReader.GetString(); @@ -192,8 +192,8 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type } } - if (aTTNAME == null) - throw new ArgumentNullException(nameof(aTTNAME), "Property is required for class Capitalization."); + 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."); @@ -201,8 +201,8 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type 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 (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."); @@ -210,7 +210,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type if (smallSnake == null) throw new ArgumentNullException(nameof(smallSnake), "Property is required for class Capitalization."); - return new Capitalization(aTTNAME, capitalCamel, capitalSnake, sCAETHFlowPoints, smallCamel, smallSnake); + return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake); } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Model/Capitalization.cs index d791ab03ab35..9bc9efe2b900 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/src/Org.OpenAPITools/Model/Capitalization.cs @@ -31,19 +31,19 @@ public partial class Capitalization : IValidatableObject /// /// Initializes a new instance of the class. /// - /// Name of the pet + /// Name of the pet /// capitalCamel /// capitalSnake - /// sCAETHFlowPoints + /// scaethFlowPoints /// smallCamel /// smallSnake [JsonConstructor] - public Capitalization(string aTTNAME, string capitalCamel, string capitalSnake, string sCAETHFlowPoints, string smallCamel, string smallSnake) + public Capitalization(string attNAME, string capitalCamel, string capitalSnake, string scaethFlowPoints, string smallCamel, string smallSnake) { - ATT_NAME = aTTNAME; + ATT_NAME = attNAME; CapitalCamel = capitalCamel; CapitalSnake = capitalSnake; - SCAETHFlowPoints = sCAETHFlowPoints; + SCAETHFlowPoints = scaethFlowPoints; SmallCamel = smallCamel; SmallSnake = smallSnake; OnCreated(); @@ -146,10 +146,10 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type JsonTokenType startingTokenType = utf8JsonReader.TokenType; - string aTTNAME = default; + string attNAME = default; string capitalCamel = default; string capitalSnake = default; - string sCAETHFlowPoints = default; + string scaethFlowPoints = default; string smallCamel = default; string smallSnake = default; @@ -169,7 +169,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type switch (propertyName) { case "ATT_NAME": - aTTNAME = utf8JsonReader.GetString(); + attNAME = utf8JsonReader.GetString(); break; case "CapitalCamel": capitalCamel = utf8JsonReader.GetString(); @@ -178,7 +178,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type capitalSnake = utf8JsonReader.GetString(); break; case "SCA_ETH_Flow_Points": - sCAETHFlowPoints = utf8JsonReader.GetString(); + scaethFlowPoints = utf8JsonReader.GetString(); break; case "smallCamel": smallCamel = utf8JsonReader.GetString(); @@ -192,8 +192,8 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type } } - if (aTTNAME == null) - throw new ArgumentNullException(nameof(aTTNAME), "Property is required for class Capitalization."); + 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."); @@ -201,8 +201,8 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type 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 (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."); @@ -210,7 +210,7 @@ public override Capitalization Read(ref Utf8JsonReader utf8JsonReader, Type type if (smallSnake == null) throw new ArgumentNullException(nameof(smallSnake), "Property is required for class Capitalization."); - return new Capitalization(aTTNAME, capitalCamel, capitalSnake, sCAETHFlowPoints, smallCamel, smallSnake); + return new Capitalization(attNAME, capitalCamel, capitalSnake, scaethFlowPoints, smallCamel, smallSnake); } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/src/Org.OpenAPITools/Model/Capitalization.cs index 39630f97eee9..6a492499ceaa 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/src/Org.OpenAPITools/Model/Capitalization.cs @@ -40,16 +40,16 @@ public partial class Capitalization : IEquatable, IValidatableOb /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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.CapitalCamel = capitalCamel; this.SmallSnake = smallSnake; this.CapitalSnake = capitalSnake; - this.SCAETHFlowPoints = sCAETHFlowPoints; - this.ATT_NAME = aTTNAME; + this.SCAETHFlowPoints = scaethFlowPoints; + this.ATT_NAME = attNAME; this.AdditionalProperties = new Dictionary(); } diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Model/Capitalization.cs index bd317ad87471..99fc8e621fba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Model/Capitalization.cs @@ -39,16 +39,16 @@ public partial class Capitalization : IEquatable, IValidatableOb /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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.CapitalCamel = capitalCamel; this.SmallSnake = smallSnake; this.CapitalSnake = capitalSnake; - this.SCAETHFlowPoints = sCAETHFlowPoints; - this.ATT_NAME = aTTNAME; + this.SCAETHFlowPoints = scaethFlowPoints; + this.ATT_NAME = attNAME; this.AdditionalProperties = new Dictionary(); } diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/src/Org.OpenAPITools/Model/Capitalization.cs index bd317ad87471..99fc8e621fba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net48/src/Org.OpenAPITools/Model/Capitalization.cs @@ -39,16 +39,16 @@ public partial class Capitalization : IEquatable, IValidatableOb /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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.CapitalCamel = capitalCamel; this.SmallSnake = smallSnake; this.CapitalSnake = capitalSnake; - this.SCAETHFlowPoints = sCAETHFlowPoints; - this.ATT_NAME = aTTNAME; + this.SCAETHFlowPoints = scaethFlowPoints; + this.ATT_NAME = attNAME; this.AdditionalProperties = new Dictionary(); } diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/src/Org.OpenAPITools/Model/Capitalization.cs index bd317ad87471..99fc8e621fba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/src/Org.OpenAPITools/Model/Capitalization.cs @@ -39,16 +39,16 @@ public partial class Capitalization : IEquatable, IValidatableOb /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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.CapitalCamel = capitalCamel; this.SmallSnake = smallSnake; this.CapitalSnake = capitalSnake; - this.SCAETHFlowPoints = sCAETHFlowPoints; - this.ATT_NAME = aTTNAME; + this.SCAETHFlowPoints = scaethFlowPoints; + this.ATT_NAME = attNAME; this.AdditionalProperties = new Dictionary(); } diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/src/Org.OpenAPITools/Model/Capitalization.cs index 20dd579a9146..775e46ac7b85 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient-unityWebRequest/src/Org.OpenAPITools/Model/Capitalization.cs @@ -37,16 +37,16 @@ public partial class Capitalization : IEquatable /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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.CapitalCamel = capitalCamel; this.SmallSnake = smallSnake; this.CapitalSnake = capitalSnake; - this.SCAETHFlowPoints = sCAETHFlowPoints; - this.ATT_NAME = aTTNAME; + this.SCAETHFlowPoints = scaethFlowPoints; + this.ATT_NAME = attNAME; } /// diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs index bd317ad87471..99fc8e621fba 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/Capitalization.cs @@ -39,16 +39,16 @@ public partial class Capitalization : IEquatable, IValidatableOb /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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.CapitalCamel = capitalCamel; this.SmallSnake = smallSnake; this.CapitalSnake = capitalSnake; - this.SCAETHFlowPoints = sCAETHFlowPoints; - this.ATT_NAME = aTTNAME; + this.SCAETHFlowPoints = scaethFlowPoints; + this.ATT_NAME = attNAME; this.AdditionalProperties = new Dictionary(); } diff --git a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs index 290a87a828c4..9aa2891f3d2c 100644 --- a/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs +++ b/samples/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools/Model/Capitalization.cs @@ -39,16 +39,16 @@ public partial class Capitalization : IEquatable, IValidatableOb /// capitalCamel. /// smallSnake. /// capitalSnake. - /// sCAETHFlowPoints. - /// Name of the pet . - 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)) + /// scaethFlowPoints. + /// Name of the pet . + 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.CapitalCamel = capitalCamel; this.SmallSnake = smallSnake; this.CapitalSnake = capitalSnake; - this.SCAETHFlowPoints = sCAETHFlowPoints; - this.ATT_NAME = aTTNAME; + this.SCAETHFlowPoints = scaethFlowPoints; + this.ATT_NAME = attNAME; } /// diff --git a/samples/client/petstore/javascript-apollo/docs/Capitalization.md b/samples/client/petstore/javascript-apollo/docs/Capitalization.md index 3bbc5d491fc1..398142f6a97e 100644 --- a/samples/client/petstore/javascript-apollo/docs/Capitalization.md +++ b/samples/client/petstore/javascript-apollo/docs/Capitalization.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [optional] **ATT_NAME** | **String** | Name of the pet | [optional] diff --git a/samples/client/petstore/javascript-es6/docs/Capitalization.md b/samples/client/petstore/javascript-es6/docs/Capitalization.md index 3bbc5d491fc1..398142f6a97e 100644 --- a/samples/client/petstore/javascript-es6/docs/Capitalization.md +++ b/samples/client/petstore/javascript-es6/docs/Capitalization.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [optional] **ATT_NAME** | **String** | Name of the pet | [optional] diff --git a/samples/client/petstore/javascript-promise-es6/docs/Capitalization.md b/samples/client/petstore/javascript-promise-es6/docs/Capitalization.md index 3bbc5d491fc1..398142f6a97e 100644 --- a/samples/client/petstore/javascript-promise-es6/docs/Capitalization.md +++ b/samples/client/petstore/javascript-promise-es6/docs/Capitalization.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [optional] **ATT_NAME** | **String** | Name of the pet | [optional] diff --git a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt index 357b2b0172c6..0dfab48a4f5c 100644 --- a/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt +++ b/samples/client/petstore/kotlin-enum-default-value/src/main/kotlin/org/openapitools/client/models/ModelWithEnumPropertyHavingDefault.kt @@ -30,7 +30,7 @@ import java.io.Serializable data class ModelWithEnumPropertyHavingDefault ( @Json(name = "propertyName") - val propertyName: ModelWithEnumPropertyHavingDefault.PropertyName = PropertyName.vALUE + val propertyName: ModelWithEnumPropertyHavingDefault.PropertyName = PropertyName.`value` ) : Serializable { companion object { @@ -40,11 +40,11 @@ data class ModelWithEnumPropertyHavingDefault ( /** * * - * Values: vALUE,unknownDefaultOpenApi + * Values: `value`,unknownDefaultOpenApi */ @JsonClass(generateAdapter = false) enum class PropertyName(val value: kotlin.String) { - @Json(name = "VALUE") vALUE("VALUE"), + @Json(name = "VALUE") `value`("VALUE"), @Json(name = "unknown_default_open_api") unknownDefaultOpenApi("unknown_default_open_api"); } } diff --git a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/alamofireLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/alamofireLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/alamofireLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/alamofireLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/alamofireLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/asyncAwaitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/asyncAwaitLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/asyncAwaitLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/asyncAwaitLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/asyncAwaitLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/combineLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/combineLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/combineLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/combineLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/combineLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/default/docs/Capitalization.md b/samples/client/petstore/swift5/default/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/default/docs/Capitalization.md +++ b/samples/client/petstore/swift5/default/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/frozenEnums/docs/Capitalization.md b/samples/client/petstore/swift5/frozenEnums/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/frozenEnums/docs/Capitalization.md +++ b/samples/client/petstore/swift5/frozenEnums/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index d564608fe855..96afb19e832e 100644 --- a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ internal struct Capitalization: Codable, JSONEncodable, Hashable { internal var capitalCamel: String? internal var smallSnake: String? internal var capitalSnake: String? - internal var sCAETHFlowPoints: String? + internal var scaETHFlowPoints: String? /** Name of the pet */ internal var ATT_NAME: String? - internal init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, sCAETHFlowPoints: String? = nil, ATT_NAME: String? = nil) { + internal init(smallCamel: String? = nil, capitalCamel: String? = nil, smallSnake: String? = nil, capitalSnake: String? = nil, scaETHFlowPoints: String? = nil, ATT_NAME: String? = nil) { self.smallCamel = smallCamel self.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ internal struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ internal struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/nonPublicApi/docs/Capitalization.md b/samples/client/petstore/swift5/nonPublicApi/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/nonPublicApi/docs/Capitalization.md +++ b/samples/client/petstore/swift5/nonPublicApi/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index 777182be04d2..222d732c200f 100644 --- a/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ import AnyCodable public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ import AnyCodable case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ import AnyCodable try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/objcCompatible/docs/Capitalization.md b/samples/client/petstore/swift5/objcCompatible/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/objcCompatible/docs/Capitalization.md +++ b/samples/client/petstore/swift5/objcCompatible/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/promisekitLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/promisekitLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/promisekitLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/promisekitLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/promisekitLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index ce9ccf6e82de..a8017676148b 100644 --- a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public private(set) var capitalCamel: String? public private(set) var smallSnake: String? public private(set) var capitalSnake: String? - public private(set) var sCAETHFlowPoints: String? + public private(set) var scaETHFlowPoints: String? /** Name of the pet */ public private(set) 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/readonlyProperties/docs/Capitalization.md b/samples/client/petstore/swift5/readonlyProperties/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/readonlyProperties/docs/Capitalization.md +++ b/samples/client/petstore/swift5/readonlyProperties/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/resultLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/resultLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/resultLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/resultLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index f8a3f64e2ee8..dca2040b2c1d 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/rxswiftLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/rxswiftLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/rxswiftLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/rxswiftLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Capitalization.swift b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Capitalization.swift index a0a2e2b7ed2f..a2fdaecd2e6a 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/urlsessionLibrary/Sources/PetstoreClient/Models/Capitalization.swift @@ -21,16 +21,16 @@ public final class Capitalization: Codable, JSONEncodable, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -39,7 +39,7 @@ public final class Capitalization: Codable, JSONEncodable, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -51,7 +51,7 @@ public final class Capitalization: Codable, JSONEncodable, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } @@ -60,7 +60,7 @@ public final class Capitalization: Codable, JSONEncodable, Hashable { lhs.capitalCamel == rhs.capitalCamel && lhs.smallSnake == rhs.smallSnake && lhs.capitalSnake == rhs.capitalSnake && - lhs.sCAETHFlowPoints == rhs.sCAETHFlowPoints && + lhs.scaETHFlowPoints == rhs.scaETHFlowPoints && lhs.ATT_NAME == rhs.ATT_NAME } @@ -70,7 +70,7 @@ public final class Capitalization: Codable, JSONEncodable, Hashable { hasher.combine(capitalCamel?.hashValue) hasher.combine(smallSnake?.hashValue) hasher.combine(capitalSnake?.hashValue) - hasher.combine(sCAETHFlowPoints?.hashValue) + hasher.combine(scaETHFlowPoints?.hashValue) hasher.combine(ATT_NAME?.hashValue) } diff --git a/samples/client/petstore/swift5/urlsessionLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/urlsessionLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/urlsessionLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/urlsessionLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Capitalization.swift b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Capitalization.swift index 3cc1d9d4cf36..e94f27a63449 100644 --- a/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/vaporLibrary/Sources/PetstoreClient/Models/Capitalization.swift @@ -17,16 +17,16 @@ public final class Capitalization: Content, Hashable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -35,7 +35,7 @@ public final class Capitalization: Content, Hashable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -47,7 +47,7 @@ public final class Capitalization: Content, Hashable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } @@ -56,7 +56,7 @@ public final class Capitalization: Content, Hashable { lhs.capitalCamel == rhs.capitalCamel && lhs.smallSnake == rhs.smallSnake && lhs.capitalSnake == rhs.capitalSnake && - lhs.sCAETHFlowPoints == rhs.sCAETHFlowPoints && + lhs.scaETHFlowPoints == rhs.scaETHFlowPoints && lhs.ATT_NAME == rhs.ATT_NAME } @@ -66,7 +66,7 @@ public final class Capitalization: Content, Hashable { hasher.combine(capitalCamel?.hashValue) hasher.combine(smallSnake?.hashValue) hasher.combine(capitalSnake?.hashValue) - hasher.combine(sCAETHFlowPoints?.hashValue) + hasher.combine(scaETHFlowPoints?.hashValue) hasher.combine(ATT_NAME?.hashValue) } diff --git a/samples/client/petstore/swift5/vaporLibrary/docs/Capitalization.md b/samples/client/petstore/swift5/vaporLibrary/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/vaporLibrary/docs/Capitalization.md +++ b/samples/client/petstore/swift5/vaporLibrary/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift index dd8c7ad0a6bd..fe8e0b14c2db 100644 --- a/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift +++ b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift @@ -16,16 +16,16 @@ public struct Capitalization: Codable, JSONEncodable { public var capitalCamel: String? public var smallSnake: String? public var capitalSnake: String? - public var sCAETHFlowPoints: String? + public var scaETHFlowPoints: String? /** Name of the pet */ 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.capitalCamel = capitalCamel self.smallSnake = smallSnake self.capitalSnake = capitalSnake - self.sCAETHFlowPoints = sCAETHFlowPoints + self.scaETHFlowPoints = scaETHFlowPoints self.ATT_NAME = ATT_NAME } @@ -34,7 +34,7 @@ public struct Capitalization: Codable, JSONEncodable { case capitalCamel = "CapitalCamel" case smallSnake = "small_Snake" case capitalSnake = "Capital_Snake" - case sCAETHFlowPoints = "SCA_ETH_Flow_Points" + case scaETHFlowPoints = "SCA_ETH_Flow_Points" case ATT_NAME } @@ -46,7 +46,7 @@ public struct Capitalization: Codable, JSONEncodable { try container.encodeIfPresent(capitalCamel, forKey: .capitalCamel) try container.encodeIfPresent(smallSnake, forKey: .smallSnake) 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) } } diff --git a/samples/client/petstore/swift5/x-swift-hashable/docs/Capitalization.md b/samples/client/petstore/swift5/x-swift-hashable/docs/Capitalization.md index 95374216c773..e439c54440fd 100644 --- a/samples/client/petstore/swift5/x-swift-hashable/docs/Capitalization.md +++ b/samples/client/petstore/swift5/x-swift-hashable/docs/Capitalization.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts index 6143a3f37074..864f49464646 100644 --- a/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts +++ b/samples/client/petstore/typescript-fetch/builds/default-v3.0/models/Capitalization.ts @@ -48,13 +48,13 @@ export interface Capitalization { * @type {string} * @memberof Capitalization */ - sCAETHFlowPoints?: string; + scaETHFlowPoints?: string; /** * Name of the pet * @type {string} * @memberof Capitalization */ - aTTNAME?: string; + attNAME?: string; } /** @@ -80,8 +80,8 @@ export function CapitalizationFromJSONTyped(json: any, ignoreDiscriminator: bool 'capitalCamel': !exists(json, 'CapitalCamel') ? undefined : json['CapitalCamel'], 'smallSnake': !exists(json, 'small_Snake') ? undefined : json['small_Snake'], 'capitalSnake': !exists(json, 'Capital_Snake') ? undefined : json['Capital_Snake'], - 'sCAETHFlowPoints': !exists(json, 'SCA_ETH_Flow_Points') ? undefined : json['SCA_ETH_Flow_Points'], - 'aTTNAME': !exists(json, 'ATT_NAME') ? undefined : json['ATT_NAME'], + 'scaETHFlowPoints': !exists(json, 'SCA_ETH_Flow_Points') ? undefined : json['SCA_ETH_Flow_Points'], + 'attNAME': !exists(json, 'ATT_NAME') ? undefined : json['ATT_NAME'], }; } @@ -98,8 +98,8 @@ export function CapitalizationToJSON(value?: Capitalization | null): any { 'CapitalCamel': value.capitalCamel, 'small_Snake': value.smallSnake, 'Capital_Snake': value.capitalSnake, - 'SCA_ETH_Flow_Points': value.sCAETHFlowPoints, - 'ATT_NAME': value.aTTNAME, + 'SCA_ETH_Flow_Points': value.scaETHFlowPoints, + 'ATT_NAME': value.attNAME, }; } diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/doc/Capitalization.md b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/doc/Capitalization.md index 4a07b4eb820d..5aaae3708e3d 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/doc/Capitalization.md +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/doc/Capitalization.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/capitalization.dart b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/capitalization.dart index 707cb05a040f..cb5eae850e97 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/capitalization.dart +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/lib/src/model/capitalization.dart @@ -26,7 +26,7 @@ class Capitalization { this.capitalSnake, - this.sCAETHFlowPoints, + this.scaETHFlowPoints, this.ATT_NAME, }); @@ -87,7 +87,7 @@ class Capitalization { ) - final String? sCAETHFlowPoints; + final String? scaETHFlowPoints; @@ -110,7 +110,7 @@ class Capitalization { other.capitalCamel == capitalCamel && other.smallSnake == smallSnake && other.capitalSnake == capitalSnake && - other.sCAETHFlowPoints == sCAETHFlowPoints && + other.scaETHFlowPoints == scaETHFlowPoints && other.ATT_NAME == ATT_NAME; @override @@ -119,7 +119,7 @@ class Capitalization { capitalCamel.hashCode + smallSnake.hashCode + capitalSnake.hashCode + - sCAETHFlowPoints.hashCode + + scaETHFlowPoints.hashCode + ATT_NAME.hashCode; factory Capitalization.fromJson(Map json) => _$CapitalizationFromJson(json); diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/Capitalization.md b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/Capitalization.md index 4a07b4eb820d..5aaae3708e3d 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/Capitalization.md +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/doc/Capitalization.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/src/model/capitalization.dart b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/src/model/capitalization.dart index 75827b9a429e..49ae67c301e3 100644 --- a/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/src/model/capitalization.dart +++ b/samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/lib/src/model/capitalization.dart @@ -15,7 +15,7 @@ part 'capitalization.g.dart'; /// * [capitalCamel] /// * [smallSnake] /// * [capitalSnake] -/// * [sCAETHFlowPoints] +/// * [scaETHFlowPoints] /// * [ATT_NAME] - Name of the pet @BuiltValue() abstract class Capitalization implements Built { @@ -32,7 +32,7 @@ abstract class Capitalization implements Built specifiedType: const FullType(String), ); } - if (object.sCAETHFlowPoints != null) { + if (object.scaETHFlowPoints != null) { yield r'SCA_ETH_Flow_Points'; yield serializers.serialize( - object.sCAETHFlowPoints, + object.scaETHFlowPoints, specifiedType: const FullType(String), ); } @@ -159,7 +159,7 @@ class _$CapitalizationSerializer implements PrimitiveSerializer value, specifiedType: const FullType(String), ) as String; - result.sCAETHFlowPoints = valueDes; + result.scaETHFlowPoints = valueDes; break; case r'ATT_NAME': final valueDes = serializers.deserialize( diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/Capitalization.md b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/Capitalization.md index 4a07b4eb820d..5aaae3708e3d 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/Capitalization.md +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/doc/Capitalization.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **capitalCamel** | **String** | | [optional] **smallSnake** | **String** | | [optional] **capitalSnake** | **String** | | [optional] -**sCAETHFlowPoints** | **String** | | [optional] +**scaETHFlowPoints** | **String** | | [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) diff --git a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/model/capitalization.dart b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/model/capitalization.dart index 28c2e9d9c64c..705ce498945d 100644 --- a/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/model/capitalization.dart +++ b/samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/lib/model/capitalization.dart @@ -17,7 +17,7 @@ class Capitalization { this.capitalCamel, this.smallSnake, this.capitalSnake, - this.sCAETHFlowPoints, + this.scaETHFlowPoints, this.ATT_NAME, }); @@ -59,7 +59,7 @@ class Capitalization { /// source code must fall back to having a nullable type. /// Consider adding a "default:" property in the specification file to hide this note. /// - String? sCAETHFlowPoints; + String? scaETHFlowPoints; /// Name of the pet /// @@ -76,7 +76,7 @@ class Capitalization { other.capitalCamel == capitalCamel && other.smallSnake == smallSnake && other.capitalSnake == capitalSnake && - other.sCAETHFlowPoints == sCAETHFlowPoints && + other.scaETHFlowPoints == scaETHFlowPoints && other.ATT_NAME == ATT_NAME; @override @@ -86,11 +86,11 @@ class Capitalization { (capitalCamel == null ? 0 : capitalCamel!.hashCode) + (smallSnake == null ? 0 : smallSnake!.hashCode) + (capitalSnake == null ? 0 : capitalSnake!.hashCode) + - (sCAETHFlowPoints == null ? 0 : sCAETHFlowPoints!.hashCode) + + (scaETHFlowPoints == null ? 0 : scaETHFlowPoints!.hashCode) + (ATT_NAME == null ? 0 : ATT_NAME!.hashCode); @override - String toString() => 'Capitalization[smallCamel=$smallCamel, capitalCamel=$capitalCamel, smallSnake=$smallSnake, capitalSnake=$capitalSnake, sCAETHFlowPoints=$sCAETHFlowPoints, ATT_NAME=$ATT_NAME]'; + String toString() => 'Capitalization[smallCamel=$smallCamel, capitalCamel=$capitalCamel, smallSnake=$smallSnake, capitalSnake=$capitalSnake, scaETHFlowPoints=$scaETHFlowPoints, ATT_NAME=$ATT_NAME]'; Map toJson() { final json = {}; @@ -114,8 +114,8 @@ class Capitalization { } else { json[r'Capital_Snake'] = null; } - if (this.sCAETHFlowPoints != null) { - json[r'SCA_ETH_Flow_Points'] = this.sCAETHFlowPoints; + if (this.scaETHFlowPoints != null) { + json[r'SCA_ETH_Flow_Points'] = this.scaETHFlowPoints; } else { json[r'SCA_ETH_Flow_Points'] = null; } @@ -150,7 +150,7 @@ class Capitalization { capitalCamel: mapValueOfType(json, r'CapitalCamel'), smallSnake: mapValueOfType(json, r'small_Snake'), capitalSnake: mapValueOfType(json, r'Capital_Snake'), - sCAETHFlowPoints: mapValueOfType(json, r'SCA_ETH_Flow_Points'), + scaETHFlowPoints: mapValueOfType(json, r'SCA_ETH_Flow_Points'), ATT_NAME: mapValueOfType(json, r'ATT_NAME'), ); } diff --git a/samples/server/petstore/php-laravel/lib/app/Models/Capitalization.php b/samples/server/petstore/php-laravel/lib/app/Models/Capitalization.php index 9e7df6f9195a..07c26944c058 100644 --- a/samples/server/petstore/php-laravel/lib/app/Models/Capitalization.php +++ b/samples/server/petstore/php-laravel/lib/app/Models/Capitalization.php @@ -21,10 +21,10 @@ class Capitalization { /** @var string $capitalSnake */ public $capitalSnake = ""; - /** @var string $sCAETHFlowPoints */ - public $sCAETHFlowPoints = ""; + /** @var string $scaETHFlowPoints */ + public $scaETHFlowPoints = ""; - /** @var string $aTTNAME Name of the pet*/ - public $aTTNAME = ""; + /** @var string $attNAME Name of the pet*/ + public $attNAME = ""; }