diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenOperation.java b/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenOperation.java index 5ad8bcb79e9..f44b6d4a986 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenOperation.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenOperation.java @@ -80,6 +80,42 @@ public CodegenOperation(Boolean deprecated, boolean hasErrorResponseObject, Stri this.jsonPathPiece = jsonPathPiece; } + // used by operation templates + public Map getNonErrorResponses() { + HashMap nonErrorResponses = new HashMap<>(); + if (statusCodeResponses != null) { + for (Map.Entry entry: statusCodeResponses.entrySet()) { + if (entry.getKey() >= 200 && entry.getKey() <= 299) { + nonErrorResponses.put(entry.getKey().toString(), entry.getValue()); + } + } + } + if (wildcardCodeResponses != null) { + for (Map.Entry entry: wildcardCodeResponses.entrySet()) { + if (entry.getKey() == 2) { + nonErrorResponses.put(entry.getKey().toString(), entry.getValue()); + } + } + } + if (defaultResponse != null) { + if (nonErrorResponses.isEmpty()) { + /* default response should be non-error because + The Responses Object MUST contain at least one response code, and if only one response code + is provided it SHOULD be the response for a successful operation call. + */ + nonErrorResponses.put("default", defaultResponse); + } else { + // the code does not know if this is an error response or non-error + // TODO add generation option that specifies it? + nonErrorResponses.put("default", defaultResponse); + } + } + if (nonErrorResponses.isEmpty()) { + return null; + } + return nonErrorResponses; + } + public boolean getAllResponsesAreErrors() { if (responses.size() == 1 && defaultResponse != null) { return false; diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenRequestBody.java b/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenRequestBody.java index 221ec597687..dc906b412c2 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenRequestBody.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/model/CodegenRequestBody.java @@ -1,8 +1,11 @@ package org.openapijsonschematools.codegen.model; +import java.util.HashSet; import java.util.LinkedHashMap; +import java.util.LinkedHashSet; import java.util.Map; import java.util.Objects; +import java.util.Set; import java.util.TreeSet; /** @@ -21,6 +24,49 @@ public class CodegenRequestBody { public final CodegenKey jsonPathPiece; public final CodegenRefInfo refInfo; + /* + A method that returns all content schemas + This only works on the RequestBody that contains a CodegenMediaType with a schema definition + */ + public Set getContentSchemas() { + if (content == null) { + return null; + } + LinkedHashSet schemas = new LinkedHashSet<>(); + LinkedHashSet anyTypeSchemas = new LinkedHashSet<>(); + for (CodegenMediaType mediaType: content.values()) { + if (mediaType == null) { + continue; + } + if (mediaType.schema == null) { + continue; + } + CodegenSchema schema = new CodegenSchema(); + if (mediaType.schema.refInfo != null) { + // TODO adjust this for 3.1.0 + // in 3.1.0 ref can be combined with other constraints + // so types and format should come from + // the first schema then, not the deepest ref + CodegenSchema deepest = mediaType.schema.getDeepestRef(); + schema.types = deepest.types; + schema.format = deepest.format; + } else { + schema.types = mediaType.schema.types; + schema.format = mediaType.schema.format; + } + if (schema.types == null && schema.format == null) { + // return only anyType if it exists because it covers all use cases + anyTypeSchemas.add(schema); + return anyTypeSchemas; + } + schemas.add(schema); + } + if (schemas.isEmpty()) { + return null; + } + return schemas; + } + public CodegenRequestBody(String description, String unescapedDescription, Map vendorExtensions, Boolean required, LinkedHashMap content, TreeSet imports, String componentModule, CodegenKey jsonPathPiece, CodegenRefInfo refInfo) { this.description = description; this.unescapedDescription = unescapedDescription; diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/templating/handlebars/CustomHelpers.java b/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/templating/handlebars/CustomHelpers.java index 46045e16f76..10edac0dd7e 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/templating/handlebars/CustomHelpers.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapijsonschematools/codegen/templating/handlebars/CustomHelpers.java @@ -86,37 +86,4 @@ public Object apply(final Object context, final Options options) { return null; } }, - - /** - * gets the anchor identifier suffix - * - */ - getIdentifierSuffix { - @Override - public Object apply(final Object context, final Options options) { - Object b = options.param(0, null); - if (context instanceof HashMap && b instanceof List) { - HashMap, Integer> thisContext = (HashMap, Integer>) context; - List identifier = getIdentifier((List) b); - int newQty = thisContext.getOrDefault(identifier, -1) + 1; - ((HashMap, Integer>) context).put(identifier, newQty); - if (newQty == 0) { - return ""; - } - return "-"+ newQty; - } - return null; - } - }; - private static List getIdentifier(List identifierPieces) { - ArrayList result = new ArrayList<>(); - for (Object item: identifierPieces) { - if (item instanceof CodegenKey) { - result.add(((CodegenKey) item).anchorPiece); - } else if (item instanceof String) { - result.add((String) item); - } - } - return Collections.unmodifiableList(result); - } } diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/_helper_schema_python_types.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/_helper_schema_python_types.hbs index 6a2ce68fe29..dab87c105b3 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/_helper_schema_python_types.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/_helper_schema_python_types.hbs @@ -1 +1 @@ -{{#eq types null}}dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, {{else}}{{#each types}}{{#eq this "array"}}list, tuple, {{/eq}}{{#eq this "object"}}dict, frozendict.frozendict, {{/eq}}{{#eq this "null"}}None, {{/eq}}{{#eq this "string" }}{{#neq ../format "binary"}}str, {{/neq}}{{#eq ../format "date"}}datetime.date, {{/eq}}{{#eq ../format "date-time"}}datetime.datetime, {{/eq}}{{#eq ../format "uuid"}}uuid.UUID, {{/eq}}{{#eq ../format "binary"}}bytes, io.FileIO, io.BufferedReader, {{/eq}}{{/eq}}{{#eq this "integer"}}decimal.Decimal, int, {{/eq}}{{#eq this "number"}}decimal.Decimal, int, float, {{/eq}}{{#eq this "boolean"}}bool, {{/eq}}{{/each}}{{/eq}} \ No newline at end of file +{{#eq types null}}dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader{{else}}{{#each types}}{{#unless @first}}, {{/unless}}{{#eq this "array"}}list, tuple{{/eq}}{{#eq this "object"}}dict, frozendict.frozendict{{/eq}}{{#eq this "null"}}None{{/eq}}{{#eq this "string" }}{{#neq ../format "binary"}}str{{/neq}}{{#eq ../format "date"}}, datetime.date{{/eq}}{{#eq ../format "date-time"}}, datetime.datetime{{/eq}}{{#eq ../format "uuid"}}, uuid.UUID{{/eq}}{{#eq ../format "binary"}}bytes, io.FileIO, io.BufferedReader{{/eq}}{{/eq}}{{#eq this "integer"}}decimal.Decimal, int{{/eq}}{{#eq this "number"}}decimal.Decimal, int, float{{/eq}}{{#eq this "boolean"}}bool{{/eq}}{{/each}}{{/eq}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/_helper_schema_python_types_newline.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/_helper_schema_python_types_newline.hbs new file mode 100644 index 00000000000..0f9b18b8eae --- /dev/null +++ b/modules/openapi-json-schema-generator/src/main/resources/python/_helper_schema_python_types_newline.hbs @@ -0,0 +1,72 @@ +{{#eq types null}} +dict, +frozendict.frozendict, +str, +datetime.date, +datetime.datetime, +uuid.UUID, +int, +float, +decimal.Decimal, +bool, +None, +list, +tuple, +bytes, +io.FileIO, +io.BufferedReader +{{else}} + {{#each types}} + {{#eq this "array"}} +list, +tuple{{#unless @last}},{{/unless}} + {{/eq}} + {{#eq this "object"}} +dict, +frozendict.frozendict{{#unless @last}},{{/unless}} + {{/eq}} + {{#eq this "null"}} +None{{#unless @last}},{{/unless}} + {{/eq}} + {{#eq this "string" }} + {{#eq ../format null}} +str{{#unless @last}},{{/unless}} + {{else}} + {{#eq ../format "date"}} +str, +datetime.date{{#unless @last}},{{/unless}} + {{else}} + {{#eq ../format "date-time"}} +str, +datetime.datetime{{#unless @last}},{{/unless}} + {{else}} + {{#eq ../format "uuid"}} +str, +uuid.UUID{{#unless @last}},{{/unless}} + {{else}} + {{#eq ../format "binary"}} +bytes, +io.FileIO, +io.BufferedReader{{#unless @last}},{{/unless}} + {{else}} +str{{#unless @last}},{{/unless}} + {{/eq}} + {{/eq}} + {{/eq}} + {{/eq}} + {{/eq}} + {{/eq}} + {{#eq this "integer"}} +decimal.Decimal, +int{{#unless @last}},{{/unless}} + {{/eq}} + {{#eq this "number"}} +decimal.Decimal, +int, +float{{#unless @last}},{{/unless}} + {{/eq}} + {{#eq this "boolean"}} +bool{{#unless @last}},{{/unless}} + {{/eq}} + {{/each}} +{{/eq}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_anchor_id.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_anchor_id.hbs index 7eb6f9fa2d7..5c02c98bbd9 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_anchor_id.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_anchor_id.hbs @@ -1 +1 @@ -{{#each identifierPieces}}{{#if this.anchorPiece}}{{this.anchorPiece}}{{else}}{{this}}{{/if}}{{#unless @last}}-{{/unless}}{{/each}}{{#if includeSuffix}}{{> components/schemas/_helper_identifier_suffix identifierSuffix=(getIdentifierSuffix identifierToHeadingQty identifierPieces) }}{{/if}} \ No newline at end of file +{{#each identifierPieces}}{{#if this.anchorPiece}}{{this.anchorPiece}}{{else}}{{this}}{{/if}}{{#unless @last}}-{{/unless}}{{/each}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_header_from_identifier_pieces.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_header_from_identifier_pieces.hbs index 20791f9e4a4..1c650293bf9 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_header_from_identifier_pieces.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_header_from_identifier_pieces.hbs @@ -1,4 +1 @@ {{headerSize}} {{#each identifierPieces}}{{#if this.camelCase}}{{this.camelCase}}{{else}}{{this}}{{/if}}{{#unless @last}} {{/unless}}{{/each}} -{{#if recordUsage}} -{{> components/schemas/_helper_identifier_suffix identifierSuffix=(getIdentifierSuffix identifierToHeadingQty identifierPieces) }} -{{/if}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_schema_accessed_types.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_schema_accessed_types.hbs index 82cd84936ca..44b4607a2a1 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_schema_accessed_types.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/_helper_schema_accessed_types.hbs @@ -1 +1 @@ -{{#eq types null}}frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, {{else}}{{#each types}}{{#eq this "array"}}tuple, {{/eq}}{{#eq this "object"}}frozendict.frozendict, {{/eq}}{{#eq this "null"}}NoneClass, {{/eq}}{{#eq this "string" }}{{#neq ../format "binary"}}str, {{/neq}}{{#eq ../format "binary"}}bytes, io.FileIO, {{/eq}}{{/eq}}{{#eq this "integer"}}decimal.Decimal, {{/eq}}{{#eq this "number"}}decimal.Decimal, {{/eq}}{{#eq this "boolean"}}BoolClass, {{/eq}}{{/each}}{{/eq}} \ No newline at end of file +{{#eq types null}}frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO{{else}}{{#each types}}{{#unless @first}}, {{/unless}}{{#eq this "array"}}tuple{{/eq}}{{#eq this "object"}}frozendict.frozendict{{/eq}}{{#eq this "null"}}NoneClass{{/eq}}{{#eq this "string" }}{{#neq ../format "binary"}}str{{/neq}}{{#eq ../format "binary"}}bytes, io.FileIO{{/eq}}{{/eq}}{{#eq this "integer"}}decimal.Decimal{{/eq}}{{#eq this "number"}}decimal.Decimal{{/eq}}{{#eq this "boolean"}}BoolClass{{/eq}}{{/each}}{{/eq}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/headers/header_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/headers/header_doc.hbs index a70a4994145..8e820e95990 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/headers/header_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/headers/header_doc.hbs @@ -3,9 +3,9 @@ {{packageName}}.components.headers.{{componentModule}} {{/if}} {{#eq identifierPieces.size 0}} -{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Header" jsonPathPiece) recordUsage=true }} +{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Header" jsonPathPiece) }} {{else}} -{{> components/_helper_header_from_identifier_pieces recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces }} {{/eq}} {{#if description}} @@ -16,10 +16,10 @@ {{#with getDeepestRef}} {{#if schema}} {{#with schema}} -{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) jsonPathPiece) recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) jsonPathPiece) }} Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[{{../../refInfo.refClass}}.schema](../../components/headers/{{../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) jsonPathPiece) includeSuffix=false }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../description}}{{../../description}}{{/if}} +[{{../../refInfo.refClass}}.schema](../../components/headers/{{../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) jsonPathPiece) }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../description}}{{../../description}}{{/if}} {{/with}} {{/if}} {{#each content}} @@ -29,14 +29,14 @@ Ref Class | Input Type | Accessed Type | Description Content-Type | Schema ------------ | ------- {{/if}} -"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}) +"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}) {{/each}} {{#each content}} {{#with this.schema}} -{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) }} Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.schema](../../components/headers/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) includeSuffix=false }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../../description}}{{../../../description}}{{/if}} +[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.schema](../../components/headers/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../../description}}{{../../../description}}{{/if}} {{/with}} {{/each}} {{/with}} @@ -54,7 +54,7 @@ Ref Class | Input Type | Accessed Type | Description Content-Type | Schema ------------ | ------- {{/if}} -"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}) +"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}) {{/each}} {{#each content}} {{#with this}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/parameters/parameter_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/parameters/parameter_doc.hbs index c948c383e1e..1c308a8c5bc 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/parameters/parameter_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/parameters/parameter_doc.hbs @@ -3,9 +3,9 @@ {{../packageName}}.components.parameters.{{componentModule}} {{/if}} {{#eq identifierPieces.size 0}} -{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Parameter" jsonPathPiece) recordUsage=true }} +{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Parameter" jsonPathPiece) }} {{else}} -{{> components/_helper_header_from_identifier_pieces recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces }} {{/eq}} {{#if description}} @@ -16,10 +16,10 @@ {{#with getDeepestRef}} {{#if schema}} {{#with schema}} -{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) jsonPathPiece) recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) jsonPathPiece) }} Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[{{../../refInfo.refClass}}.schema](../../components/parameters/{{../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) jsonPathPiece) includeSuffix=false }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../description}}{{../../description}}{{/if}} +[{{../../refInfo.refClass}}.schema](../../components/parameters/{{../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) jsonPathPiece) }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../description}}{{../../description}}{{/if}} {{/with}} {{else}} {{#each getDeepestRef.content}} @@ -29,14 +29,14 @@ Ref Class | Input Type | Accessed Type | Description Content-Type | Schema ------------ | ------- {{/if}} -"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}) +"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}) {{/each}} {{#each getDeepestRef.content}} {{#with this.schema}} -{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) }} Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.schema](../../components/parameters/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) includeSuffix=false }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../../description}}{{../../../description}}{{/if}} +[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.schema](../../components/parameters/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../../description}}{{../../../description}}{{/if}} {{/with}} {{/each}} {{/if}} @@ -55,7 +55,7 @@ Ref Class | Input Type | Accessed Type | Description Content-Type | Schema ------------ | ------- {{/if}} -"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}) +"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}) {{/each}} {{#each content}} {{#with this.schema}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/request_bodies/request_body_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/request_bodies/request_body_doc.hbs index 099ed09d87a..662dc7416ce 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/request_bodies/request_body_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/request_bodies/request_body_doc.hbs @@ -3,9 +3,9 @@ {{packageName}}.components.request_bodies.{{componentModule}} {{/if}} {{#eq identifierPieces.size 0}} -{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "RequestBody" jsonPathPiece) recordUsage=true }} +{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "RequestBody" jsonPathPiece) }} {{else}} -{{> components/_helper_header_from_identifier_pieces recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces }} {{/eq}} {{#if description}} @@ -21,15 +21,15 @@ Content-Type | Schema ------------ | ------- {{/if}} -"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}) +"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}) {{/each}} {{#each content}} {{#with this.schema}} -{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) }} Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.schema](../../components/request_bodies/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) includeSuffix=false }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../../description}}{{../../../description}}{{/if}} +[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.schema](../../components/request_bodies/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "content" ../@key jsonPathPiece) }}) | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | {{#if ../../../description}}{{../../../description}}{{/if}} {{/with}} {{/each}} {{/with}} @@ -41,7 +41,7 @@ Ref Class | Input Type | Accessed Type | Description Content-Type | Schema ------------ | ------- {{/if}} -"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}) +"{{@key.original}}" | [content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}) {{/each}} {{#each content}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response.hbs index 5da60c50572..26e4ec103c2 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response.hbs @@ -43,17 +43,21 @@ class _ApiResponse(api_client.ApiResponse): response: urllib3.HTTPResponse {{#and headers content}} {{#if hasContentSchema}} + {{#gt content.size 1}} body: typing.Union[ - {{#each content}} - {{#if this.schema}} - {{#with this.schema}} + {{#each content}} + {{#if this.schema}} + {{#with this.schema}} {{../@key.snakeCase}}_{{jsonPathPiece.snakeCase}}.{{jsonPathPiece.camelCase}}, - {{/with}} - {{else}} + {{/with}} + {{else}} schemas.Unset, - {{/if}} - {{/each}} + {{/if}} + {{/each}} ] + {{else}} + body: {{#each content}}{{#if this.schema}}{{#with this.schema}}{{../@key.snakeCase}}_{{jsonPathPiece.snakeCase}}.{{jsonPathPiece.camelCase}}{{/with}}{{else}}schemas.Unset{{/if}}{{/each}} + {{/gt}} {{else}} body: schemas.Unset = schemas.unset {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response_doc.hbs index 4e61ba030fa..6c18423f965 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/responses/response_doc.hbs @@ -3,9 +3,9 @@ {{packageName}}.components.responses.{{componentModule}} {{/if}} {{#eq identifierPieces.size 0}} -{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Response" jsonPathPiece) recordUsage=true }} +{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Response" jsonPathPiece) }} {{else}} -{{> components/_helper_header_from_identifier_pieces recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces }} {{/eq}} {{#if description}} @@ -13,25 +13,29 @@ {{description}} {{/if}} -{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append identifierPieces "response_cls") recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append identifierPieces "response_cls") }} Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | {{#if refInfo}} {{#with getDeepestRef}} -body | {{#unless content}}Unset{{else}}{{#if hasContentSchema}}typing.Union[{{#each content}}{{#if this.schema}}[{{../../refInfo.refClass}}.content.{{@key.snakeCase}}.schema](../../components/responses/{{../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}){{else}}Unset{{/if}}, {{/each}}]{{else}}Unset{{/if}}{{/unless}} | {{#unless content}}body was not defined{{else}}{{#unless hasContentSchema}}body was not defined{{/unless}}{{/unless}} | +body | {{#unless content}}Unset{{else}}{{#if hasContentSchema}}{{#gt content.size 1}}typing.Union[{{/gt}}{{#each content}}{{#if this.schema}}[{{../../refInfo.refClass}}.content.{{@key.snakeCase}}.schema](../../components/responses/{{../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}){{else}}Unset{{/if}}{{#unless @last}}, {{/unless}}{{/each}}{{#gt content.size 1}}]{{/gt}}{{else}}Unset{{/if}}{{/unless}} | {{#unless content}}body was not defined{{else}}{{#unless hasContentSchema}}body was not defined{{/unless}}{{/unless}} | headers | {{#unless headers}}Unset{{else}}[{{../refInfo.refClass}}.Headers](../../components/responses/{{../refInfo.refModule}}.md#headers){{/unless}} | {{#unless headers}}headers were not defined{{/unless}} | {{/with}} {{else}} -{{#if content}}[body](#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "body") includeSuffix=true }}){{else}}body{{/if}} | {{#unless content}}Unset{{else}}{{#if hasContentSchema}}typing.Union[{{#each content}}{{#if this.schema}}[content.{{@key.snakeCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=true }}){{else}}Unset{{/if}}, {{/each}}]{{else}}Unset{{/if}}{{/unless}} | {{#unless content}}body was not defined{{else}}{{#unless hasContentSchema}}body was not defined{{/unless}}{{/unless}} | +{{#if content}} +[body](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "body") }}) | {{#if hasContentSchema}}{{#gt content.size 1}}typing.Union[{{/gt}}{{#each content}}{{#if this.schema}}[content.{{@key.snakeCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}){{else}}Unset{{/if}}{{#unless @last}}, {{/unless}}{{/each}}{{#gt content.size 1}}]{{/gt}}{{else}}Unset{{/if}} | {{#unless hasContentSchema}}body was not defined{{/unless}} | +{{else}} +body | Unset | body was not defined | +{{/if}} {{#if headers}}[headers](#headers){{else}}headers{{/if}} | {{#unless headers}}Unset{{else}}[Headers](#headers){{/unless}} | {{#unless headers}}headers were not defined{{/unless}} | {{#if content}} -{{headerSize}}# Body +{{> components/_helper_header_from_identifier_pieces headerSize=(join headerSize "#" "") identifierPieces=(append identifierPieces "Body") }} Content-Type | Schema ------------ | ------- {{#each content}} -"{{@key.original}}" | {{#if this.schema}}[content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) includeSuffix=false }}){{else}}no schema defined{{/if}} +"{{@key.original}}" | {{#if this.schema}}[content.{{@key.snakeCase}}.{{this.schema.jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" @key this.schema.jsonPathPiece) }}){{else}}no schema defined{{/if}} {{/each}} {{/if}} {{#if headers}} @@ -60,13 +64,13 @@ Key | Accessed Type | Description | Notes {{else}} {{#if schema}} {{#with schema}} -{{../@key}} | [headers.{{../jsonPathPiece.snakeCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "headers" ../jsonPathPiece jsonPathPiece) includeSuffix=true }}) | | {{#unless required}}optional{{/unless}} +{{../@key}} | [headers.{{../jsonPathPiece.snakeCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "headers" ../jsonPathPiece jsonPathPiece) }}) | | {{#unless required}}optional{{/unless}} {{/with}} {{else}} {{#each content}} {{#with this}} {{#with schema}} -{{../../@key}} | [headers.{{../../jsonPathPiece.snakeCase}}.content.{{../@key.snakeCase}}.{{jsonPathPiece.snakeCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "headers" ../../jsonPathPiece "content" ../@key jsonPathPiece) includeSuffix=true }}) | | {{#unless required}}optional{{/unless}} +{{../../@key}} | [headers.{{../../jsonPathPiece.snakeCase}}.content.{{../@key.snakeCase}}.{{jsonPathPiece.snakeCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "headers" ../../jsonPathPiece "content" ../@key jsonPathPiece) }}) | | {{#unless required}}optional{{/unless}} {{/with}} {{/with}} {{/each}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_new.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_new.hbs index 707fffeb811..43197964ccd 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_new.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_new.hbs @@ -5,10 +5,10 @@ def __new__( {{#contains types "array"}} arg_: typing.Union[ typing.Tuple[ - {{#with ../items}}{{#if refInfo.refClass}}'{{> components/schemas/_helper_refclass_with_module }}'{{else}}typing.Union[Schema_.{{jsonPathPiece.camelCase}}, {{> _helper_schema_python_types }}]{{/if}}{{/with}}, ... + {{#with ../items}}{{#if refInfo.refClass}}typing.Union['{{> components/schemas/_helper_refclass_with_module }}', {{#with getDeepestRef}}{{> _helper_schema_python_types }}{{/with}}]{{else}}typing.Union[Schema_.{{jsonPathPiece.camelCase}}, {{> _helper_schema_python_types }}]{{/if}}{{/with}}, ... ], typing.List[ - {{#with ../items}}{{#if refInfo.refClass}}'{{> components/schemas/_helper_refclass_with_module }}'{{else}}typing.Union[Schema_.{{jsonPathPiece.camelCase}}, {{> _helper_schema_python_types }}]{{/if}}{{/with}} + {{#with ../items}}{{#if refInfo.refClass}}typing.Union['{{> components/schemas/_helper_refclass_with_module }}', {{#with getDeepestRef}}{{> _helper_schema_python_types }}{{/with}}]{{else}}typing.Union[Schema_.{{jsonPathPiece.camelCase}}, {{> _helper_schema_python_types }}]{{/if}}{{/with}} ], ], {{/contains}} @@ -16,19 +16,19 @@ def __new__( *args_: typing.Union[{{> _helper_schema_python_types }}], {{/contains}} {{#contains types "string"}} - arg_: {{> _helper_schema_python_types }} + arg_: {{> _helper_schema_python_types }}, {{/contains}} {{#contains types "number"}} arg_: typing.Union[{{> _helper_schema_python_types }}], {{/contains}} {{#contains types "integer"}} - arg_: {{> _helper_schema_python_types }} + arg_: {{> _helper_schema_python_types }}, {{/contains}} {{#contains types "boolean"}} - arg_: {{> _helper_schema_python_types }} + arg_: {{> _helper_schema_python_types }}, {{/contains}} {{#contains types "null"}} - arg_: {{> _helper_schema_python_types }} + arg_: {{> _helper_schema_python_types }}, {{/contains}} {{else}} {{#contains types "object"}} @@ -47,7 +47,7 @@ def __new__( {{#if @key.isValid}} {{#with this}} {{#if refInfo.refClass}} - {{@key.original}}: '{{> components/schemas/_helper_refclass_with_module }}', + {{@key.original}}: typing.Union['{{> components/schemas/_helper_refclass_with_module }}', {{#with getDeepestRef}}{{> _helper_schema_python_types }}{{/with}}], {{else}} {{#if jsonPathPiece}} {{#if schemaIsFromAdditionalProperties}} @@ -68,9 +68,9 @@ def __new__( {{#each optionalProperties}} {{#if @key.isValid}} {{#if refInfo.refClass}} - {{@key.original}}: typing.Union['{{> components/schemas/_helper_refclass_with_module }}', schemas.Unset] = schemas.unset, + {{@key.original}}: typing.Union['{{> components/schemas/_helper_refclass_with_module }}', {{#with getDeepestRef}}{{> _helper_schema_python_types }}{{/with}}, schemas.Unset] = schemas.unset, {{else}} - {{@key.original}}: typing.Union[Schema_.Properties.{{jsonPathPiece.camelCase}}, {{> _helper_schema_python_types }}schemas.Unset] = schemas.unset, + {{@key.original}}: typing.Union[Schema_.Properties.{{jsonPathPiece.camelCase}}, {{> _helper_schema_python_types }}, schemas.Unset] = schemas.unset, {{/if}} {{/if}} {{/each}} @@ -78,7 +78,7 @@ def __new__( {{#with additionalProperties}} {{#unless isBooleanSchemaFalse}} {{#if refInfo.refClass}} - **kwargs: '{{> components/schemas/_helper_refclass_with_module }}', + **kwargs: typing.Union['{{> components/schemas/_helper_refclass_with_module }}', {{#with getDeepestRef}}{{> _helper_schema_python_types }}{{/with}}], {{else}} **kwargs: typing.Union[Schema_.{{jsonPathPiece.camelCase}}, {{> _helper_schema_python_types }}], {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_notes_msg.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_notes_msg.hbs index 7c002bd9b69..14ca920672f 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_notes_msg.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/_helper_notes_msg.hbs @@ -1 +1 @@ -{{#unless refInfo.refClass}}{{#if enumValueToName}} must be one of [{{#each enumValueToName}}{{#eq @key.type "null"}}None{{/eq}}{{#eq @key.type "boolean"}}{{#if @key.value}}True{{else}}False{{/if}}{{/eq}}{{#eq @key.type "string"}}"{{{@key.value}}}"{{/eq}}{{#eq @key.type "number"}}{{{@key.value}}}{{/eq}}{{#eq @key.type "integer"}}{{{@key.value}}}{{/eq}}, {{/each}}]{{/if}}{{#if defaultValue}}{{#unless requiredProperties}} if omitted the {{defaultUser}} will use the default value of {{{defaultValue.value}}}{{/unless}}{{/if}}{{#eq format "uuid"}} value must be a uuid{{/eq}}{{#eq format "date"}} value must conform to RFC-3339 full-date YYYY-MM-DD{{/eq}}{{#eq format "date-time"}} value must conform to RFC-3339 date-time{{/eq}}{{#eq format "number"}} value must be numeric and storable in decimal.Decimal{{/eq}}{{#eq format "int32"}} value must be a 32 bit integer{{/eq}}{{#eq format "int64"}} value must be a 64 bit integer{{/eq}}{{#eq format "double"}} value must be a 64 bit float{{/eq}}{{#eq format "float"}} value must be a 32 bit float{{/eq}}{{/unless}} \ No newline at end of file +{{#unless refInfo.refClass}}{{#if enumValueToName}} must be one of [{{#each enumValueToName}}{{#unless @first}}, {{/unless}}{{#eq @key.type "null"}}None{{/eq}}{{#eq @key.type "boolean"}}{{#if @key.value}}True{{else}}False{{/if}}{{/eq}}{{#eq @key.type "string"}}"{{{@key.value}}}"{{/eq}}{{#eq @key.type "number"}}{{{@key.value}}}{{/eq}}{{#eq @key.type "integer"}}{{{@key.value}}}{{/eq}}{{/each}}]{{/if}}{{#if defaultValue}}{{#unless requiredProperties}} if omitted the {{defaultUser}} will use the default value of {{{defaultValue.value}}}{{/unless}}{{/if}}{{#eq format "uuid"}} value must be a uuid{{/eq}}{{#eq format "date"}} value must conform to RFC-3339 full-date YYYY-MM-DD{{/eq}}{{#eq format "date-time"}} value must conform to RFC-3339 date-time{{/eq}}{{#eq format "number"}} value must be numeric and storable in decimal.Decimal{{/eq}}{{#eq format "int32"}} value must be a 32 bit integer{{/eq}}{{#eq format "int64"}} value must be a 64 bit integer{{/eq}}{{#eq format "double"}} value must be a 64 bit float{{/eq}}{{#eq format "float"}} value must be a 32 bit float{{/eq}}{{/unless}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/schema_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/schema_doc.hbs index 56a219e0965..9eb3a6c5d3f 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/schema_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/schemas/schema_doc.hbs @@ -3,9 +3,9 @@ {{packageName}}.components.schema.{{componentModule}} {{/if}} {{#eq identifierPieces.size 0}} -{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Schema" jsonPathPiece) recordUsage=true }} +{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Schema" jsonPathPiece) }} {{else}} -{{> components/_helper_header_from_identifier_pieces recordUsage=false }} +{{> components/_helper_header_from_identifier_pieces }} {{/eq}} {{#if description}} @@ -28,17 +28,17 @@ Input Type | Accessed Type | Description | Notes Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- {{#each requiredProperties}} -**{{@key.original}}** | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{> _helper_schema_python_types }}{{/if}} | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{> components/_helper_schema_accessed_types }}{{#if isComplicated}}[properties.{{@key.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "properties" @key.anchorPiece) includeSuffix=true }}){{/if}}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} +**{{@key.original}}** | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{#with getDeepestRef}}, {{> _helper_schema_python_types }}{{/with}}{{else}}{{> _helper_schema_python_types }}{{/if}} | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{#if isComplicated}}[properties.{{@key.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "properties" @key.anchorPiece) }}){{else}}{{> components/_helper_schema_accessed_types }}{{/if}}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/each}} {{#each optionalProperties}} -**{{@key.original}}** | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{> _helper_schema_python_types }}{{/if}} | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{> components/_helper_schema_accessed_types }}{{#if isComplicated}}[properties.{{@key.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "properties" @key.anchorPiece) includeSuffix=true }}){{/if}}{{/if}} | {{#if description}}{{description}}{{/if}} | [optional]{{> components/schemas/_helper_notes_msg defaultUser="server" }} +**{{@key.original}}** | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{#with getDeepestRef}}, {{> _helper_schema_python_types }}{{/with}}{{else}}{{> _helper_schema_python_types }}{{/if}} | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{#if isComplicated}}[properties.{{@key.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "properties" @key.anchorPiece) }}){{else}}{{> components/_helper_schema_accessed_types }}{{/if}}{{/if}} | {{#if description}}{{description}}{{/if}} | [optional]{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/each}} {{#with additionalProperties}} {{#unless isBooleanSchemaFalse}} {{#if isBooleanSchemaTrue}} **any_string_name** | {{> _helper_schema_python_types }} | {{> components/_helper_schema_accessed_types }} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional] {{else}} -**any_string_name** | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{> _helper_schema_python_types }}{{/if}} | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{> components/_helper_schema_accessed_types }}{{#if isComplicated}}[{{@jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece) includeSuffix=true }}){{/if}}{{/if}} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional]{{> components/schemas/_helper_notes_msg defaultUser="server" }} +**any_string_name** | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{#with getDeepestRef}}, {{> _helper_schema_python_types }}{{/with}}{{else}}{{> _helper_schema_python_types }}{{/if}} | {{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}{{#if isComplicated}}[{{@jsonPathPiece.camelCase}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece) }}){{else}}{{> components/_helper_schema_accessed_types }}{{/if}}{{/if}} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional]{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/if}} {{/unless}} {{else}} @@ -51,7 +51,7 @@ Key | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#with items}} -{{#unless refInfo.refClass}}{{#if isComplicated}}[{{/if}}{{jsonPathPiece.original}}{{#if isComplicated}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece.anchorPiece) includeSuffix=true }}){{/if}}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} +{{#unless refInfo.refClass}}{{#if isComplicated}}[{{/if}}{{jsonPathPiece.original}}{{#if isComplicated}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece.anchorPiece) }}){{/if}}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/with}} {{/if}} {{#or allOf anyOf oneOf not}} @@ -63,7 +63,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#each allOf}} -{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "allof" jsonPathPiece.anchorPiece) includeSuffix=true }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} +{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "allof" jsonPathPiece.anchorPiece) }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/each}} {{/if}} {{#if anyOf}} @@ -71,7 +71,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#each anyOf}} -{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "anyof" jsonPathPiece.anchorPiece) includeSuffix=true }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} +{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "anyof" jsonPathPiece.anchorPiece) }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/each}} {{/if}} {{#if oneOf}} @@ -79,7 +79,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#each oneOf}} -{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "oneof" jsonPathPiece.anchorPiece) includeSuffix=true }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} +{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "oneof" jsonPathPiece.anchorPiece) }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/each}} {{/if}} {{#if not}} @@ -87,7 +87,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#with not}} -{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece.anchorPiece) includeSuffix=true }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} +{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{else}}[{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece.anchorPiece) }}){{/if}} | {{#unless refInfo.refClass}}{{> _helper_schema_python_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#unless refInfo.refClass}}{{> components/_helper_schema_accessed_types }}{{/unless}}{{#if refInfo.refClass}}{{> components/schemas/_helper_refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} |{{> components/schemas/_helper_notes_msg defaultUser="server" }} {{/with}} {{/if}} {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/components/security_schemes/security_scheme_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/components/security_schemes/security_scheme_doc.hbs index 7f7a7d4d7ad..64a04dd2565 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/components/security_schemes/security_scheme_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/components/security_schemes/security_scheme_doc.hbs @@ -3,7 +3,7 @@ {{packageName}}.components.security_schemes.{{componentModule}} {{/if}} {{#eq identifierPieces.size 0}} -{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "SecurityScheme" jsonPathPiece) recordUsage=true }} +{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "SecurityScheme" jsonPathPiece) }} {{/eq}} {{#if description}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/configurations/api_configuration.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/configurations/api_configuration.hbs index a4ce8c61793..fe1c28fa8f0 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/configurations/api_configuration.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/configurations/api_configuration.hbs @@ -125,12 +125,12 @@ ServerIndexInfo = typing_extensions.TypedDict( {{/if}} {{#each paths}} {{#if servers}} - "paths/{{../@key.original}}/servers": typing_extensions.Literal[{{#each servers}}{{#unless @first}}, {{/unless}}{{@key}}{{/each}}], + "paths/{{@key.original}}/servers": typing_extensions.Literal[{{#each servers}}{{#unless @first}}, {{/unless}}{{@key}}{{/each}}], {{/if}} {{#if operations}} {{#each operations}} {{#if servers}} - "paths/{{../../@key.original}}/{{../@key.original}}/servers": typing_extensions.Literal[{{#each servers}}{{#unless @first}}, {{/unless}}{{@key}}{{/each}}], + "paths/{{../@key.original}}/{{@key.original}}/servers": typing_extensions.Literal[{{#each servers}}{{#unless @first}}, {{/unless}}{{@key}}{{/each}}], {{/if}} {{/each}} {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs index 8e8c138d5c9..eb933783332 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args.hbs @@ -1,6 +1,6 @@ self, {{#if requestBody}} -{{> paths/path/verb/_helper_operation_args_request_body }} + {{> paths/path/verb/_helper_operation_args_request_body }} {{else}} {{#if isOverload}} {{#eq skipDeserialization "True"}} @@ -51,7 +51,7 @@ ) -> api_client.ApiResponseWithoutDeserialization: ... {{/eq}} {{#eq skipDeserialization "False"}} -) -> {{#if getAllResponsesAreErrors}}api_client.ApiResponseWithoutDeserialization: ...{{else}}{{#gt responses.size 1}}typing.Union[ +) -> {{#if getAllResponsesAreErrors}}api_client.ApiResponseWithoutDeserialization: ...{{else}}{{#gt getNonErrorResponses.size 1}}typing.Union[ {{> paths/path/verb/_helper_operation_response_type_hint multiple=true }} ]{{else}}{{> paths/path/verb/_helper_operation_response_type_hint multiple=false }}{{/gt}}: ... {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_baseapi_wrapper.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_baseapi_wrapper.hbs deleted file mode 100644 index 7a89eab2a8e..00000000000 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_baseapi_wrapper.hbs +++ /dev/null @@ -1,5 +0,0 @@ -@typing.overload -{{#with this}} -def _{{operationId.snakeCase}}( -{{> paths/path/verb/_helper_operation_args isOverload=true skipDeserialization="False" contentType=contentType}} -{{/with}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_httpmethod_wrapper.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_httpmethod_wrapper.hbs deleted file mode 100644 index 76220e3be55..00000000000 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_httpmethod_wrapper.hbs +++ /dev/null @@ -1,5 +0,0 @@ -@typing.overload -{{#with this}} -def {{httpMethod.original}}( -{{> paths/path/verb/_helper_operation_args isOverload=true skipDeserialization="False" contentType=contentType}} -{{/with}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_operationid_wrapper.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_operationid_wrapper.hbs deleted file mode 100644 index 299cfb9275c..00000000000 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_operationid_wrapper.hbs +++ /dev/null @@ -1,5 +0,0 @@ -@typing.overload -{{#with this}} -def {{operationId.snakeCase}}( -{{> paths/path/verb/_helper_operation_args isOverload=true skipDeserialization="False" contentType=contentType}} -{{/with}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_request_body.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_request_body.hbs index 98941380933..97996de9ca6 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_request_body.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_args_request_body.hbs @@ -1,148 +1,222 @@ {{#if requestBody.refInfo}} +{{! $ref requestBody }} {{#if requestBody.getDeepestRef.required}} + {{! required }} {{#with requestBody.getDeepestRef}} {{#eq ../contentType "null"}} - body: typing.Union[{{#each content}}request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/each}}], +body: typing.Union[ + {{#each content}} + request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + {{/each}} + {{#each getContentSchemas}} + {{> _helper_schema_python_types_newline }} + {{/each}} +], {{else}} - body: typing.Union[{{#each content}}{{#eq @key.original ../../contentType }}request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/eq}}{{/each}}], +body: typing.Union[ + {{#each content}} + {{#eq @key.original ../../contentType }} + request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + {{#with this.schema.getSelfOrDeepestRef}} + {{> _helper_schema_python_types_newline }} + {{/with}} + {{/eq}} + {{/each}} +], {{/eq}} {{/with}} {{#if isOverload}} {{#eq skipDeserialization "True"}} - skip_deserialization: typing_extensions.Literal[True], +skip_deserialization: typing_extensions.Literal[True], {{/eq}} {{#neq contentType "null"}} {{#with requestBody.getDeepestRef}} {{#each content}} {{#eq @key.original ../../contentType}} {{#if @first}} - content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., +content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., {{else}} - content_type: typing_extensions.Literal["{{{@key.original}}}"], +content_type: typing_extensions.Literal["{{{@key.original}}}"], {{/if}} {{/eq}} {{/each}} {{/with}} {{else}} - content_type: str = ..., +content_type: str = ..., {{/neq}} {{else}} {{#with requestBody.getDeepestRef}} {{#each content}} {{#if @first}} - content_type: str = '{{{@key.original}}}', +content_type: str = '{{{@key.original}}}', {{/if}} {{/each}} {{/with}} {{/if}} {{else}} + {{! optional }} {{#if isOverload}} {{#eq skipDeserialization "True"}} - skip_deserialization: typing_extensions.Literal[True], +skip_deserialization: typing_extensions.Literal[True], {{/eq}} {{#neq contentType "null"}} {{#with requestBody.getDeepestRef}} {{#each content}} {{#eq @key.original ../../contentType}} {{#if @first}} - content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., +content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., {{else}} - content_type: typing_extensions.Literal["{{{@key.original}}}"], +content_type: typing_extensions.Literal["{{{@key.original}}}"], {{/if}} {{/eq}} {{/each}} {{/with}} {{else}} - content_type: str = ..., +content_type: str = ..., {{/neq}} {{else}} {{#with requestBody.getDeepestRef}} {{#each content}} {{#if @first}} - content_type: str = '{{{@key.original}}}', +content_type: str = '{{{@key.original}}}', {{/if}} {{/each}} {{/with}} {{/if}} {{#with requestBody.getDeepestRef}} {{#eq ../contentType "null"}} - body: typing.Union[{{#each content}}request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/each}}schemas.Unset] = schemas.unset, +body: typing.Union[ + {{#each content}} + request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + {{/each}} + {{#each getContentSchemas}} + schemas.Unset, + {{> _helper_schema_python_types_newline }} + {{/each}} +] = schemas.unset, {{else}} - body: typing.Union[{{#each content}}{{#eq @key.original ../../contentType }}request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/eq}}{{/each}}schemas.Unset] = schemas.unset, +body: typing.Union[ + {{#each content}} + {{#eq @key.original ../../contentType }} + request_body.{{../../requestBody.jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + schemas.Unset, + {{#with this.schema.getSelfOrDeepestRef}} + {{> _helper_schema_python_types_newline }} + {{/with}} + {{/eq}} + {{/each}} +] = schemas.unset, {{/eq}} {{/with}} {{/if}} {{else}} +{{! inline requestBody }} {{#if requestBody.required}} + {{! required }} {{#with requestBody}} {{#eq ../contentType "null"}} - body: typing.Union[{{#each content}}request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/each}}], +body: typing.Union[ + {{#each content}} + request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + {{/each}} + {{#each getContentSchemas}} + {{> _helper_schema_python_types_newline }} + {{/each}} +], {{else}} - body: typing.Union[{{#each content}}{{#eq @key.original ../../contentType }}request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/eq}}{{/each}}], +body: typing.Union[ + {{#each content}} + {{#eq @key.original ../../contentType }} + request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + {{#with this.schema.getSelfOrDeepestRef}} + {{> _helper_schema_python_types_newline }} + {{/with}} + {{/eq}} + {{/each}} +], {{/eq}} {{/with}} {{#if isOverload}} {{#eq skipDeserialization "True"}} - skip_deserialization: typing_extensions.Literal[True], +skip_deserialization: typing_extensions.Literal[True], {{/eq}} {{#neq contentType "null"}} {{#with requestBody}} {{#each content}} {{#eq @key.original ../../contentType}} {{#if @first}} - content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., +content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., {{else}} - content_type: typing_extensions.Literal["{{{@key.original}}}"], +content_type: typing_extensions.Literal["{{{@key.original}}}"], {{/if}} {{/eq}} {{/each}} {{/with}} {{else}} - content_type: str = ..., +content_type: str = ..., {{/neq}} {{else}} {{#with requestBody}} {{#each content}} {{#if @first}} - content_type: str = '{{{@key.original}}}', +content_type: str = '{{{@key.original}}}', {{/if}} {{/each}} {{/with}} {{/if}} {{else}} + {{! optional }} {{#if isOverload}} {{#eq skipDeserialization "True"}} - skip_deserialization: typing_extensions.Literal[True], +skip_deserialization: typing_extensions.Literal[True], {{/eq}} {{#neq contentType "null"}} {{#with requestBody}} {{#each content}} {{#eq @key.original ../../contentType}} {{#if @first}} - content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., +content_type: typing_extensions.Literal["{{{@key.original}}}"] = ..., {{else}} - content_type: typing_extensions.Literal["{{{@key.original}}}"], +content_type: typing_extensions.Literal["{{{@key.original}}}"], {{/if}} {{/eq}} {{/each}} {{/with}} {{else}} - content_type: str = ..., +content_type: str = ..., {{/neq}} {{else}} {{#with requestBody}} {{#each content}} {{#if @first}} - content_type: str = '{{{@key.original}}}', +content_type: str = '{{{@key.original}}}', {{/if}} {{/each}} {{/with}} {{/if}} {{#with requestBody}} {{#eq ../contentType "null"}} - body: typing.Union[{{#each content}}request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/each}}schemas.Unset] = schemas.unset, +body: typing.Union[ + {{#each content}} + request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + {{/each}} + schemas.Unset, + {{#each getContentSchemas}} + {{> _helper_schema_python_types_newline }} + {{/each}} +] = schemas.unset, {{else}} - body: typing.Union[{{#each content}}{{#eq @key.original ../../contentType }}request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, {{#with this.schema.getSelfOrDeepestRef}}{{> _helper_schema_python_types }}{{/with}}{{/eq}}{{/each}}schemas.Unset] = schemas.unset, +body: typing.Union[ + {{#each content}} + {{#eq @key.original ../../contentType }} + request_body.{{../jsonPathPiece.camelCase}}.content["{{{@key.original}}}"].schema, + schemas.Unset, + {{#with this.schema.getSelfOrDeepestRef}} + {{> _helper_schema_python_types_newline }} + {{/with}} + {{/eq}} + {{/each}} +] = schemas.unset, {{/eq}} {{/with}} {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_docs_xparams.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_docs_xparams.hbs index 37e0ca70c5f..469c50dc9a4 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_docs_xparams.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_docs_xparams.hbs @@ -2,18 +2,27 @@ {{headerSize}}## {{paramPrefix}}_params {{headerSize}}### Request{{paramType}}Parameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- {{#each parameters}} {{#if refInfo}} -{{getDeepestRef.name}} | [{{refInfo.refClass}}](../../../components/parameters/{{refInfo.refModule}}.md) | | {{#unless getDeepestRef.required}}optional{{/unless}} + {{#with getDeepestRef}} + {{#if schema}} +{{name}} | [{{../refInfo.refClass}}.schema](../../../components/parameters/{{../refInfo.refModule}}.md#schema), {{#with schema}}{{> _helper_schema_python_types }}{{/with}} | | {{#unless required}}optional{{/unless}} + {{else}} + {{#each content}} +{{../name}} | [{{../../refInfo.refClass}}.content.{{@key.snakeCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append (newArray ) "content" @key this.schema.jsonPathPiece) }}), {{#with schema}}{{> _helper_schema_python_types }}{{/with}} | | {{#unless required}}optional{{/unless}} + {{/each}} + {{/if}} + {{/with}} {{else}} {{#if schema}} -{{name}} | [{{jsonPathPiece.camelCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece schema.jsonPathPiece) includeSuffix=false }}) | | {{#unless required}}optional{{/unless}} +{{name}} | [{{jsonPathPiece.camelCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces jsonPathPiece schema.jsonPathPiece) }}), {{#with schema}}{{> _helper_schema_python_types }}{{/with}} | | {{#unless required}}optional{{/unless}} {{else}} {{#each content}} -{{../name}} | [{{../jsonPathPiece.camelCase}}.content.{{@key.snakeCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces ../jsonPathPiece "content" @key this.schema.jsonPathPiece) includeSuffix=false }}) | | {{#unless required}}optional{{/unless}} +{{../name}} | [{{../jsonPathPiece.camelCase}}.content.{{@key.snakeCase}}.schema](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces ../jsonPathPiece "content" @key this.schema.jsonPathPiece) }}), {{#with schema}}{{> _helper_schema_python_types }}{{/with}} | | {{#unless required}}optional{{/unless}} {{/each}} {{/if}} {{/if}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs index 4125df2b156..c0f1e989ef2 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/_helper_operation_response_type_hint.hbs @@ -1,20 +1,4 @@ -{{#each statusCodeResponses}} -{{#gte @key 200}} -{{#lte @key 299}} -response_{{@key}}.{{jsonPathPiece.camelCase}}.response_cls{{#if multiple}}, +{{#each getNonErrorResponses}} +{{jsonPathPiece.snakeCase}}.{{jsonPathPiece.camelCase}}.response_cls{{#if multiple}}, {{/if}} -{{/lte}} -{{/gte}} -{{/each}} -{{#each wildcardCodeResponses}} -{{#eq @key 2}} -response_{{@key}}xx.{{jsonPathPiece.camelCase}}.response_cls{{#if multiple}}, -{{/if}} -{{/eq}} -{{/each}} -{{#if defaultResponse}} -{{#with defaultResponse}} -response_default.{{jsonPathPiece.camelCase}}.response_cls{{#if multiple}}, -{{/if}} -{{/with}} -{{/if}} \ No newline at end of file +{{/each}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation.hbs index 20ea654bd5a..91ab3ce67e0 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation.hbs @@ -124,45 +124,50 @@ _security: typing.List[security_schemes.SecurityRequirementObject] = [ {{#unless isStub}} -{{#if defaultResponse}} -{{#with defaultResponse}} + {{#if defaultResponse}} + {{#with defaultResponse}} default_response = response_default.{{jsonPathPiece.camelCase}} -{{/with}} -{{/if}} -{{#if nonDefaultResponses}} + {{/with}} + {{/if}} + {{#if nonDefaultResponses}} __StatusCodeToResponse = typing_extensions.TypedDict( '__StatusCodeToResponse', { -{{#each nonDefaultResponses}} + {{#each nonDefaultResponses}} '{{@key}}': typing.Type[response_{{@key}}.{{jsonPathPiece.camelCase}}], -{{/each}} + {{/each}} } ) _status_code_to_response: __StatusCodeToResponse = { -{{#each nonDefaultResponses}} + {{#each nonDefaultResponses}} '{{@key}}': response_{{@key}}.{{jsonPathPiece.camelCase}}, -{{/each}} + {{/each}} } -{{/if}} + {{/if}} {{/unless}} {{#each produces}} -{{#if @first}} + {{#if @first}} + _all_accept_content_types = ( -{{/if}} + {{/if}} "{{{.}}}", -{{#if @last}} + {{#if @last}} ) -{{/if}} + {{/if}} {{/each}} class BaseApi(api_client.Api): {{#if requestBody}} {{#each getContentTypeToOperation}} - {{> paths/path/verb/_helper_operation_args_baseapi_wrapper rootSecurity=../security contentType=@key this=this}} + @typing.overload + def _{{operationId.snakeCase}}( + {{> paths/path/verb/_helper_operation_args rootSecurity=../security isOverload=true skipDeserialization="False" contentType=@key}} {{/each}} - {{> paths/path/verb/_helper_operation_args_baseapi_wrapper rootSecurity=../security contentType="null" this=this}} + @typing.overload + def _{{operationId.snakeCase}}( + {{> paths/path/verb/_helper_operation_args rootSecurity=../security isOverload=true skipDeserialization="False" contentType="null"}} {{else}} @typing.overload @@ -381,10 +386,14 @@ class {{operationId.camelCase}}(BaseApi): {{#if requestBody}} {{#each getContentTypeToOperation}} - {{> paths/path/verb/_helper_operation_args_operationid_wrapper contentType=@key this=this}} + @typing.overload + def {{operationId.snakeCase}}( + {{> paths/path/verb/_helper_operation_args isOverload=true skipDeserialization="False" contentType=@key}} {{/each}} - {{> paths/path/verb/_helper_operation_args_operationid_wrapper contentType="null" this=this}} + @typing.overload + def {{operationId.snakeCase}}( + {{> paths/path/verb/_helper_operation_args isOverload=true skipDeserialization="False" contentType="null"}} {{else}} @typing.overload @@ -412,10 +421,14 @@ class ApiFor{{httpMethod.camelCase}}(BaseApi): {{#if requestBody}} {{#each getContentTypeToOperation}} - {{> paths/path/verb/_helper_operation_args_httpmethod_wrapper rootSecurity=../security contentType=@key this=this}} + @typing.overload + def {{httpMethod.original}}( + {{> paths/path/verb/_helper_operation_args rootSecurity=../security isOverload=true skipDeserialization="False" contentType=@key}} {{/each}} - {{> paths/path/verb/_helper_operation_args_httpmethod_wrapper rootSecurity=../security contentType="null" this=this}} + @typing.overload + def {{httpMethod.original}}( + {{> paths/path/verb/_helper_operation_args rootSecurity=../security isOverload=true skipDeserialization="False" contentType="null"}} {{else}} @typing.overload diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation_doc.hbs index c0470b10ac2..951101356c5 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/paths/path/verb/operation_doc.hbs @@ -38,22 +38,32 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- {{#with requestBody}} {{#if refInfo}} -[**body**](../../../components/request_bodies/{{refInfo.refModule}}.md) | typing.Union[{{#with getDeepestRef}}{{#each content}}{{#unless @first}}, {{/unless}}{{#with this.schema}}[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.{{jsonPathPiece.snakeCase}}](../../../components/request_bodies/{{../../../refInfo.refModule}}.md#{{../../../refInfo.refModule}}content{{../@key.snakeCase}}{{jsonPathPiece.snakeCase}}){{/with}}{{/each}}{{/with}}{{#unless getDeepestRef.required}}, Unset]{{else}}]{{/unless}} | {{#if getDeepestRef.required}}required{{else}}optional, default is unset{{/if}} | + {{#with getDeepestRef}} + {{#if required}} +[**body**](../../../components/request_bodies/{{../refInfo.refModule}}.md) | typing.Union[{{#each content}}{{#with this.schema}}[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.{{jsonPathPiece.snakeCase}}](../../../components/request_bodies/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" ../@key jsonPathPiece) }}){{/with}}, {{/each}}{{#each getContentSchemas}}{{> _helper_schema_python_types }}{{#unless @last}}, {{/unless}}{{/each}}] | required | + {{else}} +[**body**](../../../components/request_bodies/{{../refInfo.refModule}}.md) | typing.Union[{{#each content}}{{#with this.schema}}[{{../../../refInfo.refClass}}.content.{{../@key.snakeCase}}.{{jsonPathPiece.snakeCase}}](../../../components/request_bodies/{{../../../refInfo.refModule}}.md#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "content" ../@key jsonPathPiece) }}){{/with}}, {{/each}}Unset, {{#each getContentSchemas}}{{> _helper_schema_python_types }}{{#unless @last}}, {{/unless}}{{/each}}] | optional, default is unset | + {{/if}} + {{/with}} {{else}} -[body](#requestbody) | typing.Union[{{#each content}}{{#unless @first}}, {{/unless}}{{#with this.schema}}[{{../../jsonPathPiece.camelCase}}.content.{{../@key.snakeCase}}.{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{../../jsonPathPiece.snakeCase}}content{{../@key.snakeCase}}{{jsonPathPiece.snakeCase}}){{/with}}{{/each}}{{#unless required}}, Unset]{{else}}]{{/unless}} | {{#if required}}required{{else}}optional, default is unset{{/if}} | + {{#if required}} +[body](#requestbody) | typing.Union[{{#each content}}{{#with this.schema}}[{{../../jsonPathPiece.camelCase}}.content.{{../@key.snakeCase}}.{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "RequestBody" "content" ../@key jsonPathPiece) }}){{/with}}, {{/each}}{{#each getContentSchemas}}{{> _helper_schema_python_types }}{{#unless @last}}, {{/unless}}{{/each}}] | required | + {{else}} +[body](#requestbody) | typing.Union[{{#each content}}{{#with this.schema}}[{{../../jsonPathPiece.camelCase}}.content.{{../@key.snakeCase}}.{{#if jsonPathPiece.isValid}}{{jsonPathPiece.original}}{{else}}{{jsonPathPiece.snakeCase}}{{/if}}](#{{> components/_helper_anchor_id identifierPieces=(append identifierPieces "RequestBody" "content" ../@key jsonPathPiece) }}){{/with}}, {{/each}}Unset, {{#each getContentSchemas}}{{> _helper_schema_python_types }}{{#unless @last}}, {{/unless}}{{/each}}] | optional, default is unset | + {{/if}} {{/if}} {{/with}} {{#if queryParams}} -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | {{/if}} {{#if headerParams}} -[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams) | | +[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams), dict | | {{/if}} {{#if pathParams}} -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | {{/if}} {{#if cookieParams}} -[cookie_params](#cookie-params) | [RequestCookieParameters.Params](#requestcookieparametersparams) | | +[cookie_params](#cookie-params) | [RequestCookieParameters.Params](#requestcookieparametersparams), dict | | {{/if}} {{#with requestBody}} {{#if refInfo}} @@ -98,7 +108,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil {{headerSize}}# Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned {{#if defaultResponse}} @@ -130,7 +140,10 @@ default | [{{jsonPathPiece.camelCase}}.response_cls](#{{jsonPathPiece.anchorPiec Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -147,7 +160,10 @@ component security scheme class. See how to do this in the code sample. Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are the general api securities | Security Index | Security Scheme to Scope Names | @@ -162,8 +178,8 @@ component security scheme class. See how to do this in the code sample. {{headerSize}}# Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. {{#if servers}} - these servers are specific to this endpoint {{#with servers.0}} @@ -220,5 +236,5 @@ server_index | Class | Description {{> paths/path/verb/_helper_operation_doc_example rootSecurity=../security }} -[[Back to top]](#top) [[Back to API]](../{{tag.className}}.md) {{> _helper_footer_links readmePath="../../../../" endpointsLink=true}} +[[Back to top]](#top) [[Back to API]](../{{tag.moduleName}}.md) {{> _helper_footer_links readmePath="../../../../" endpointsLink=true}} {{/with}} \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/servers/server_doc.hbs b/modules/openapi-json-schema-generator/src/main/resources/python/servers/server_doc.hbs index a44b4f46c67..b3c962d24d1 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/servers/server_doc.hbs +++ b/modules/openapi-json-schema-generator/src/main/resources/python/servers/server_doc.hbs @@ -3,7 +3,7 @@ {{packageName}}.servers.{{jsonPathPiece.snakeCase}} {{/if}} {{#eq identifierPieces.size 0}} -{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Server" jsonPathPiece) recordUsage=true }} +{{> components/_helper_header_from_identifier_pieces identifierPieces=(append identifierPieces "Server" jsonPathPiece) }} {{else}} {{headerSize}} {{jsonPathPiece.camelCase}} {{/eq}} diff --git a/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore_customized.yaml b/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore_customized.yaml index d2aa219920e..f2269cc29d3 100644 --- a/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore_customized.yaml +++ b/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore_customized.yaml @@ -1435,6 +1435,7 @@ paths: tags: - fake summary: testing composed schemas at inline locations + description: composed schemas at inline locations + multiple requestBody content types operationId: inlineComposition parameters: - name: compositionAtRoot diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_request_body.md index a80da973246..709359699c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling _NotApi->post_forbidden_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../_NotApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../_not_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_response_body_for_content_types.md index b0145baf358..809d494a59e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_forbidden_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling _NotApi->post_forbidden_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../_NotApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../_not_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_request_body.md index 3a66730e4c7..854eb377af2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling _NotApi->post_not_more_complex_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../_NotApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../_not_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_response_body_for_content_types.md index 1c445f3d68c..0d2aa927435 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_more_complex_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling _NotApi->post_not_more_complex_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../_NotApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../_not_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_request_body.md index 8207c358cb9..d44ce47a1e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling _NotApi->post_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../_NotApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../_not_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_response_body_for_content_types.md index b200b83f04c..1da272d273b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/_not_api/post_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling _NotApi->post_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../_NotApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../_not_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md index 51e000f190e..0a6456f663f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_allows_a_schema_which_should_validate_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md index 0a3ed1a8162..ffd177aeaec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_request_body.md index 716d9cb0973..782b400e8dd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_are_allowed_by_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md index 64dac2f8363..395ed94bdb0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_are_allowed_by_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_request_body.md index 2130cb1b135..29defdc0b61 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_can_exist_by_itself_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md index f30f9688c2d..bec47e21b86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_can_exist_by_itself_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_request_body.md index 69ccd7fb95a..e45b56d1be7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_should_not_look_in_applicators_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md index ea66d3f7f74..d30f19ac2e0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/additional_properties_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AdditionalPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../additional_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_request_body.md index a1b688b90b8..ce052060d8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_combined_with_anyof_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md index 619a31dd1b8..19fc2d4dfc5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_combined_with_anyof_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_request_body.md index a5e601832e2..97ec387f346 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_response_body_for_content_types.md index b9ad3edb940..c25c33a500d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_request_body.md index dc291802634..833d63133a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_simple_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_response_body_for_content_types.md index d5e014ee2c3..617f97dbed7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_simple_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_simple_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_request_body.md index c0c7a7238d5..3e28226262e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_response_body_for_content_types.md index e869ad28a7f..f6bafeac7a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_request_body.md index f55a6a339d0..2b519b1c6d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_response_body_for_content_types.md index 11e4066f6bd..da9cd95f0c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_request_body.md index d87f021dbfa..569e245b96c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_the_first_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md index e0dd6442f11..26423ec1e54 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_the_first_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_request_body.md index 573b5856c76..9350f01e48f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_the_last_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md index 761ee3d921c..46f99e1b70c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_the_last_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_request_body.md index 559f966a0e8..f5f6808c800 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_two_empty_schemas_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md index 8a2beb1fec3..10e1008f540 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_allof_with_two_empty_schemas_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_request_body.md index 50398ca1477..2dcdc73fc56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_nested_allof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md index 0da441a7239..5ccadbf278b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/all_of_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AllOfApi->post_nested_allof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AllOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../all_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_request_body.md index b28b9fd5a1c..bc93d82d100 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_response_body_for_content_types.md index 473e8fea2c2..aaadbf713d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_request_body.md index ded611b12c8..e9f53d4e6e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_response_body_for_content_types.md index 724138f3993..052b05066d7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_request_body.md index 8f96eb9f25e..6970002d8d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_response_body_for_content_types.md index 33cce2e3ea8..56264594311 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_request_body.md index 990caf67c84..83771916f40 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md index 5eee59329a3..535b41437d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_anyof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_request_body.md index 05716c52de1..32ce7672f15 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_nested_anyof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md index 510e5cc7550..16524757744 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/any_of_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnyOfApi->post_nested_anyof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnyOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../any_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md index 4d3eafcfda9..0ff4ecf29fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_allows_a_schema_which_should_validate_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md index 5ec8a1d413a..544ab4bde76 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_request_body.md index 10f4d98d034..d1b935727b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_are_allowed_by_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md index c885cb4e0e5..4008524feb6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_are_allowed_by_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_request_body.md index 6310f6aaa72..d5eacc84f0b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_can_exist_by_itself_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md index fdfce6ae93c..231bcf6bc0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_can_exist_by_itself_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_request_body.md index 4b392544ea7..1b68a6d28f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_should_not_look_in_applicators_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md index 38ef4c83847..d3d64b62c20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_request_body.md index 151e671a049..71d2a395d48 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_combined_with_anyof_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md index 77faa2ef30e..e0882dc4b3a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_combined_with_anyof_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_request_body.md index ecaa25279ff..10cd59e2e58 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_response_body_for_content_types.md index c6fc0d2da84..b4f5b288f91 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_request_body.md index cd4daa04011..e0a584bc19c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_simple_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_response_body_for_content_types.md index da4bbc5dc55..d8b555922a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_simple_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_simple_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_request_body.md index 3ae90988bca..b02215f5ba6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_response_body_for_content_types.md index 96a37d7b9fc..93eb7562836 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_request_body.md index ac34d015f25..ecd802bd149 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_response_body_for_content_types.md index c501189225a..0e405465144 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_request_body.md index 5b47f08af53..d78489be20c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_the_first_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md index 54fe112c4d3..4693c061c8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_the_first_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_request_body.md index 7e29a6b7e8c..53b0305476b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_the_last_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md index a53b21f6c04..ee29a4529c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_the_last_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_request_body.md index 59b7306a077..56aa977ac9d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_two_empty_schemas_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md index 5571521a993..6210ad5394d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_allof_with_two_empty_schemas_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_request_body.md index ca43805a65f..e2cc7751932 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_response_body_for_content_types.md index a15a784986f..1e15557c1fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_request_body.md index 45949054c7b..f06b6613cd7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_response_body_for_content_types.md index e4dc5533aab..ffec6ed9982 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_request_body.md index 5e51893c52c..f8dc17ab642 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_response_body_for_content_types.md index d6fd1d98e82..c4fd64a37d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_request_body.md index 6fb2cb56295..4c102d26440 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md index 082d3512f12..cce12bab757 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_anyof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_request_body.md index 2178b00fda7..d2429f4dac0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_array_type_matches_arrays_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_response_body_for_content_types.md index 56101e94208..4974d3fdd2c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_array_type_matches_arrays_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_array_type_matches_arrays_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_request_body.md index 4023398cac5..4c74312baee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_boolean_type_matches_booleans_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_response_body_for_content_types.md index 7726b410e3a..ea36cce4cd1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_boolean_type_matches_booleans_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_boolean_type_matches_booleans_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_request_body.md index 4c33c47c7c7..11f608e9e23 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_by_int_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_response_body_for_content_types.md index 996d68f48e7..5c725ea2837 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_int_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_by_int_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_request_body.md index cb5f4f1d851..793fc239ae9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_by_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_response_body_for_content_types.md index 1914b322f5d..2028618f638 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_by_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_request_body.md index 3e92af08f28..504b6abe66d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_by_small_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_response_body_for_content_types.md index 3f0c53718e0..8059b1bd996 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_by_small_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_by_small_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_request_body.md index f356f75acf5..7ff90523ebb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_date_time_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_response_body_for_content_types.md index 36d49591a06..763029c43c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_date_time_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_date_time_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_request_body.md index f0a969714a9..38c12f2f2dc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_email_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_response_body_for_content_types.md index 919dfd44e44..08e1605d7bc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_email_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_email_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_request_body.md index 11dd929647b..602c8093dff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with0_does_not_match_false_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md index 61c3a2f3986..b3088862009 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with0_does_not_match_false_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_request_body.md index 19c9ec34ece..607da94e5ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with1_does_not_match_true_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md index de4a5ddbcca..4e7c4260865 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with1_does_not_match_true_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_request_body.md index f28ce852387..ac29642705f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_response_body_for_content_types.md index 9d49d4d9232..bb507d310bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_request_body.md index 3cee515f497..682be40cea6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with_false_does_not_match0_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md index 0c906a4eec1..0a71efd0fa2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with_false_does_not_match0_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_request_body.md index 18383071b95..ed67896ed8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with_true_does_not_match1_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md index c53ba61fe4a..feaf5f05bc5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enum_with_true_does_not_match1_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_request_body.md index bbbd916b4b8..667b866d3d7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enums_in_properties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_response_body_for_content_types.md index a61f9803ec3..00d9e7d3842 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_enums_in_properties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_enums_in_properties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_request_body.md index e454ef3a7cf..3eb34278f9c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_forbidden_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_response_body_for_content_types.md index 5713ae81fb3..fc9511e23b1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_forbidden_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_forbidden_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_request_body.md index e58ccb14e61..1e7dcb6ecfc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_hostname_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_response_body_for_content_types.md index 89b83619247..77ccc96605a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_hostname_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_hostname_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_request_body.md index 1cd100c1320..284e338a4cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_integer_type_matches_integers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_response_body_for_content_types.md index 758d33c9d7e..2bbde54fa52 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_integer_type_matches_integers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_integer_type_matches_integers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md index df15f60b9bf..97a54e01ae8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md index 269ed5c25f5..bccf01b25ba 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_request_body.md index 47b8cf71c7d..28eb4636ead 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_invalid_string_value_for_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_response_body_for_content_types.md index 6e4462b0eb0..64d083d1c8d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_invalid_string_value_for_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_invalid_string_value_for_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_request_body.md index 92019af92b6..512792ca0f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ipv4_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_response_body_for_content_types.md index 304f403a70c..5715b38be75 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv4_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ipv4_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_request_body.md index 98549bec08c..0bf73a1f441 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ipv6_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_response_body_for_content_types.md index 35a7a1272ea..3d5ea54fdb2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ipv6_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ipv6_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_request_body.md index fe19ab3c17a..28eb8365c29 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_json_pointer_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_response_body_for_content_types.md index 187cc098ad5..242c358fbca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_json_pointer_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_json_pointer_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_request_body.md index d3dfe3a869b..5bd8bfa54f5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maximum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_response_body_for_content_types.md index f2e1f195d0c..ebb14bdc94c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maximum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_request_body.md index edc24d5e2df..2405eb4d4c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maximum_validation_with_unsigned_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md index c0f722309bb..6d05b04747b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maximum_validation_with_unsigned_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_request_body.md index da5b3277e28..b8cef406928 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_response_body_for_content_types.md index df3acaa3b28..114016ff6ed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_request_body.md index e93c7b60481..f5f2a8c59d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_response_body_for_content_types.md index f2614e17045..406c456c47c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_request_body.md index 2100fd158aa..9852c1d499d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxproperties0_means_the_object_is_empty_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md index 4d9051b8cf8..47e1d4a47bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxproperties0_means_the_object_is_empty_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_request_body.md index 918de1d98ae..ea6243e7306 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_response_body_for_content_types.md index 2c478afa661..da3fc3c8037 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_maxproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_maxproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_request_body.md index 074349560e2..f873c80162b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minimum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_response_body_for_content_types.md index 8080d424ebf..de153cd7d18 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minimum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_request_body.md index 22c36165267..207e2ea7ef1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minimum_validation_with_signed_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md index d7aabdf3881..217d5b75300 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minimum_validation_with_signed_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_request_body.md index 56daf9f9abb..7065a886526 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_response_body_for_content_types.md index bea619d5209..8a54add8a5e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_request_body.md index 0e13f2f2b86..75d867954e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_response_body_for_content_types.md index f40f6c563a2..2b26a726658 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_request_body.md index ca450ada659..76ab3a0c716 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_response_body_for_content_types.md index 61b756a18a3..4b59e07170b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_minproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_minproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_request_body.md index 693f564f1f0..4122224246b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_allof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md index 21b3e1b0703..12486c1efb0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_allof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_request_body.md index b4b8c79199c..943e68e253a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_anyof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md index 1a07f96b16b..2c15f1d5b13 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_anyof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_request_body.md index c08923c627e..633d0be4234 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -103,4 +103,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_response_body_for_content_types.md index effd72e880f..dc7192816f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_request_body.md index 3dc7160b522..dedd259503d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_oneof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md index 7d12bbdb147..0c8d08b37b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nested_oneof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_request_body.md index e9b5e34dd36..a77ae82d60e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_not_more_complex_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_response_body_for_content_types.md index 41fdf54d39c..ac33d4c45bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_more_complex_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_not_more_complex_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_request_body.md index 3db040fca5d..5aa871e1338 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_response_body_for_content_types.md index b18910321e4..4cc1479de67 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_request_body.md index dba6850bf95..25e1aca4da5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nul_characters_in_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_response_body_for_content_types.md index 1462043169a..6b8e9076b2c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_nul_characters_in_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_nul_characters_in_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_request_body.md index 4d4f9af142a..f46a530eaec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), None] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_null_type_matches_only_the_null_object_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md index 9df984dcf41..cfebe823a9e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_null_type_matches_only_the_null_object_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_request_body.md index da11ca33412..cefda0a9ddd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_number_type_matches_numbers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_response_body_for_content_types.md index 567e173a9c1..73918c2cdfa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_number_type_matches_numbers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_number_type_matches_numbers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_request_body.md index b440bda75d6..350213e8534 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_object_properties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_response_body_for_content_types.md index 92e99eb5937..9a81f56a0ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_properties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_object_properties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_request_body.md index 4ff1f5c3824..2cc2209d68a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_object_type_matches_objects_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_response_body_for_content_types.md index bc2afe4d592..121e13beac0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_object_type_matches_objects_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_object_type_matches_objects_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_request_body.md index f4dbda985fb..0fbaf3d7c9f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_response_body_for_content_types.md index 852299bdecd..07f658e5b38 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_request_body.md index 16099ec587f..a30f91aaf54 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_response_body_for_content_types.md index 801117848c3..e1020a4a859 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_request_body.md index 807fb1ab61f..26c986a0081 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_response_body_for_content_types.md index 4cee4a777d3..f5e26f7ed31 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_request_body.md index 2c9644ef839..4f3841b408d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_with_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_response_body_for_content_types.md index 20c3a9ea508..10d74e7a35f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_with_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_request_body.md index dbb714bf333..7309d4caebd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_with_required_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_response_body_for_content_types.md index f5a57213c76..a1c02ad4408 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_oneof_with_required_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_oneof_with_required_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_request_body.md index a1e73116a0a..f453bbdec0b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_pattern_is_not_anchored_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_response_body_for_content_types.md index 6a0743ce9a6..d0e5ea4e54e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_is_not_anchored_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_pattern_is_not_anchored_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_request_body.md index e55b2164219..c3e6b24d4c2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_pattern_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_response_body_for_content_types.md index 2d76d972f80..cee1480878d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_pattern_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_pattern_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_request_body.md index 57a14fc338a..28aa8916551 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_properties_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_response_body_for_content_types.md index b2bc1291da2..e8b74b84248 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_properties_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_properties_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_request_body.md index 4495208123f..0c7bca84b29 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_property_named_ref_that_is_not_a_reference_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md index 5f5bc5f8900..985dc233113 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_property_named_ref_that_is_not_a_reference_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_request_body.md index da7b68300f5..63c77a0b8c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_additionalproperties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_response_body_for_content_types.md index b9cb01cdfe8..cc47112b2f8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_additionalproperties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_additionalproperties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_request_body.md index ac553fb31f4..54ac3041d7c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_response_body_for_content_types.md index d0304c706bc..5ef87543b71 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_request_body.md index b0904ef48b3..fee0c6915c2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_response_body_for_content_types.md index 51bfe4f4a73..3898f1a4b48 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_request_body.md index 974b93102a1..7d35ddfb865 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_response_body_for_content_types.md index 45335e832d2..57b0d61c33c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_request_body.md index da385ff01ac..566d14034b1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_response_body_for_content_types.md index f2190e3e988..b5a7c896c30 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_request_body.md index ac5fc09af8a..252244c2af1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_response_body_for_content_types.md index 2be117c4601..5261bc4ee09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_request_body.md index ff5fffa1b65..3d496445edd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_response_body_for_content_types.md index 8c0f54d63b4..9f7604dbca4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_ref_in_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_ref_in_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_request_body.md index 8d452715913..f03aa29e2bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_default_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_response_body_for_content_types.md index 6a487fdc097..5b154d65e4d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_default_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_default_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_request_body.md index 52e6262d8e1..6a9c3f6d96d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_response_body_for_content_types.md index 4f7604ffdd6..e3fd49a834d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_request_body.md index de1b5885683..759764c3b7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_with_empty_array_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_response_body_for_content_types.md index 52c527cad1d..56c7a1c6958 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_empty_array_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_with_empty_array_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_request_body.md index 7cce16b7152..1b44cbac84a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_response_body_for_content_types.md index b5d43aa12e3..35e65d7152a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_required_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_required_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_request_body.md index 9da0699be2f..cfd7b492ef9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_simple_enum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_response_body_for_content_types.md index 7dcb9452f3e..65f86ae5ddb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_simple_enum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_simple_enum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_request_body.md index 432f57a29ee..7e078b9e61c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_string_type_matches_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_response_body_for_content_types.md index 6a7660c1c46..a8fffa0d42a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_string_type_matches_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_string_type_matches_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md index 728891af028..e87001a4c14 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md index 5932b58a816..8bdb8ed32b5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_request_body.md index 5d6b1d066fa..d59df0c541b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uniqueitems_false_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_response_body_for_content_types.md index 5a30b3ed29c..abe61386d11 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_false_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uniqueitems_false_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_request_body.md index 5d5e99f20a0..543025c2fe7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uniqueitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_response_body_for_content_types.md index ebbbaef718c..5d8f823f352 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uniqueitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uniqueitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_request_body.md index 68d6d761357..224c5310bf3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uri_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_response_body_for_content_types.md index e26b0687e80..ba4fdbe3a73 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uri_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_request_body.md index 47b33e51b3f..630a6172f5d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uri_reference_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_response_body_for_content_types.md index a331d01677d..142cec0f947 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_reference_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uri_reference_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_request_body.md index 5f1f2b49ba8..ce91b334e9a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uri_template_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_response_body_for_content_types.md index 80c866328c2..d654b697206 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/content_type_json_api/post_uri_template_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ContentTypeJsonApi->post_uri_template_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ContentTypeJsonApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../content_type_json_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_request_body.md index c609e154503..169e7b8612e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->post_invalid_string_value_for_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_response_body_for_content_types.md index 48720b0a736..1b4a2113ff4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_invalid_string_value_for_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->post_invalid_string_value_for_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md index 05535dce7f5..94b5ea0926f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md index 0a5f3ec8903..d6fec7b2c9a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/default_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_request_body.md index 2a478aa5a17..462aad9cbc7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with0_does_not_match_false_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md index 92d1a1f4168..4ad9de25d96 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with0_does_not_match_false_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_request_body.md index 68465429d0d..c98c3af8cf5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with1_does_not_match_true_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md index 20f8faa4586..3f92b9b2a62 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with1_does_not_match_true_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_request_body.md index 3b625510a29..92534508176 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_response_body_for_content_types.md index b6c04be7cb8..56e7082d3e3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_request_body.md index 6c2db3391bf..3b0eb2fd303 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with_false_does_not_match0_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md index b00da70131a..9cdc23aa63b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with_false_does_not_match0_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_request_body.md index c769cc409ab..8f464dc8ee6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with_true_does_not_match1_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md index 4392dc73cbf..07f5cd8181f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enum_with_true_does_not_match1_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_request_body.md index 1ec1ff5b57a..c51b0ff035c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enums_in_properties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_response_body_for_content_types.md index ab12978cecd..fa8d0388bdd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_enums_in_properties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_enums_in_properties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_request_body.md index 17d4e9bd861..10c0c1edbff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_nul_characters_in_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_response_body_for_content_types.md index fe1b149a0c2..3e5e6db7fae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_nul_characters_in_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_nul_characters_in_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_request_body.md index 62e53728b00..24fd253cb97 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_simple_enum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_response_body_for_content_types.md index c12fe2efc08..30124ec5471 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/enum_api/post_simple_enum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling EnumApi->post_simple_enum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../EnumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../enum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_request_body.md index e4b9d8783e7..228bdb622fb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_date_time_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_response_body_for_content_types.md index 6f1a10a56dd..1739aec8aad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_date_time_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_date_time_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_request_body.md index 7c5aec369d8..53a111fe775 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_email_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_response_body_for_content_types.md index dd6e208ec79..ce6bc3fd79b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_email_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_email_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_request_body.md index 491795a27e8..84298614225 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_hostname_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_response_body_for_content_types.md index df4ffe5524c..888c1635fad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_hostname_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_hostname_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_request_body.md index 9208c2712f6..0bfbff05363 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_ipv4_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_response_body_for_content_types.md index 45b34e6c538..05fdddab1bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv4_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_ipv4_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_request_body.md index 9cc493b9b2f..261ced82ae0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_ipv6_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_response_body_for_content_types.md index 5e8763a8735..72a92a4ea94 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_ipv6_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_ipv6_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_request_body.md index 97108fada98..cadaec0951a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_json_pointer_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_response_body_for_content_types.md index 5a3631f7deb..8ea72cb06d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_json_pointer_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_json_pointer_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_request_body.md index 9ba963617ed..15f1dac3609 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_uri_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_response_body_for_content_types.md index c9cc510f585..2e9340cf4a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_uri_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_request_body.md index bc695688fca..29e31379c06 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_uri_reference_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_response_body_for_content_types.md index 3b6a02c23a8..29a75d98dde 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_reference_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_uri_reference_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_request_body.md index 2ed4b8ab8ab..f01e709cdc6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_uri_template_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_response_body_for_content_types.md index 2900a203b1a..556946c5f2e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/format_api/post_uri_template_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling FormatApi->post_uri_template_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FormatApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../format_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_request_body.md index ab6dd19ebb6..7fe4546388e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -103,4 +103,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ItemsApi->post_nested_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_response_body_for_content_types.md index 82a34818795..4acd0868937 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/items_api/post_nested_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ItemsApi->post_nested_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_request_body.md index a380c53670a..a8885dee31c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxItemsApi->post_maxitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_response_body_for_content_types.md index efb86374b3a..28ba9ecdc17 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_items_api/post_maxitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxItemsApi->post_maxitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_request_body.md index e8c2ff2552a..a1d0205bd8c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxLengthApi->post_maxlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxLengthApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_length_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_response_body_for_content_types.md index 7c7fb178407..c0a0045851f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_length_api/post_maxlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxLengthApi->post_maxlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxLengthApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_length_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_request_body.md index d7fd153e867..9b903ec2a24 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxPropertiesApi->post_maxproperties0_means_the_object_is_empty_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md index b7b0f5964e2..ebc46c88288 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxPropertiesApi->post_maxproperties0_means_the_object_is_empty_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_request_body.md index 1307fc004f3..cff1b4b3e49 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxPropertiesApi->post_maxproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_response_body_for_content_types.md index f7ce4dbd8ef..64dd729318e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/max_properties_api/post_maxproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaxPropertiesApi->post_maxproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaxPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../max_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_request_body.md index 7eb6511eaaf..ce8db71408b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaximumApi->post_maximum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaximumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../maximum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_response_body_for_content_types.md index cf98d4ee457..f4ea9a0398b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaximumApi->post_maximum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaximumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../maximum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_request_body.md index b9645e06733..0060bdfd690 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaximumApi->post_maximum_validation_with_unsigned_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaximumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../maximum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md index 8d04e05c50f..7bccb8e714d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/maximum_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MaximumApi->post_maximum_validation_with_unsigned_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MaximumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../maximum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_request_body.md index 7bef5489c69..a94c7b25c51 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinItemsApi->post_minitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../min_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_response_body_for_content_types.md index ce1a29db102..1ae8a6c252a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_items_api/post_minitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinItemsApi->post_minitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../min_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_request_body.md index cc1163bb74f..e5b8512cf07 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinLengthApi->post_minlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinLengthApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../min_length_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_response_body_for_content_types.md index c8091f3a19e..2109b21cb67 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_length_api/post_minlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinLengthApi->post_minlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinLengthApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../min_length_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_request_body.md index 4d4e1ec2669..be0859ec97b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinPropertiesApi->post_minproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../min_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_response_body_for_content_types.md index 3c9481a0236..99fa226c357 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/min_properties_api/post_minproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinPropertiesApi->post_minproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinPropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../min_properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_request_body.md index 89af91335a5..66fad9ee91c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinimumApi->post_minimum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinimumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../minimum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_response_body_for_content_types.md index cb1f00640c3..e03b3abb48f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinimumApi->post_minimum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinimumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../minimum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_request_body.md index b543650e041..872e948c69c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinimumApi->post_minimum_validation_with_signed_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinimumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../minimum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md index 1952a1f7f1b..14da7c05152 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/minimum_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MinimumApi->post_minimum_validation_with_signed_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MinimumApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../minimum_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_request_body.md index adeb09b276c..125ed9922fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_by_int_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_response_body_for_content_types.md index 58ffd0e6047..687cbe24206 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_int_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_by_int_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_request_body.md index ae8519b6666..ae01e9d834d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_by_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_response_body_for_content_types.md index 9c955fb5bbd..b794b3f1d56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_by_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_request_body.md index 85f1aa8b30e..64aab91eef4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_by_small_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_response_body_for_content_types.md index 58ef2e7e6d2..c801849d36e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_by_small_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_by_small_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md index 985d5d37623..f69628499cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md index 4e1e18dc938..6fc1571a943 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/multiple_of_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling MultipleOfApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../MultipleOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../multiple_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_request_body.md index 489a378770e..e6074791b32 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_nested_oneof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md index e64caccfdb0..1c8581a8629 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_nested_oneof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_request_body.md index 4922d7b34b9..2ad277c1f95 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_response_body_for_content_types.md index 151a011faa1..f892ff9713e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_request_body.md index 8068bc909e0..73523f0a83b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_response_body_for_content_types.md index b745468e0c6..962a90b6a32 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_request_body.md index ce2a2ab2bfb..65120e6108c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_response_body_for_content_types.md index 8d17dc412c8..4dc8d151b69 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_request_body.md index 24bc292ee2b..2bd7e9b53a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_with_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_response_body_for_content_types.md index 712f6a32bc0..e5d9a5b9684 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_with_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_request_body.md index f5f4266bb86..b5396a8527e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_with_required_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_response_body_for_content_types.md index 1f38576449b..43cd7583d1b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/one_of_api/post_oneof_with_required_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OneOfApi->post_oneof_with_required_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OneOfApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../one_of_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md index f8102b8dc62..ca89caee25a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_additionalproperties_allows_a_schema_which_should_validate_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_are_allowed_by_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_are_allowed_by_default_request_body.md index 925a41e1be0..51b8da4a8ac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_are_allowed_by_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_are_allowed_by_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_additionalproperties_are_allowed_by_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_can_exist_by_itself_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_can_exist_by_itself_request_body.md index 9f9a7b675e4..adcf070ac7e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_can_exist_by_itself_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_can_exist_by_itself_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_additionalproperties_can_exist_by_itself_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_should_not_look_in_applicators_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_should_not_look_in_applicators_request_body.md index 69b3efee917..168d16b71ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_should_not_look_in_applicators_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_additionalproperties_should_not_look_in_applicators_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_additionalproperties_should_not_look_in_applicators_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_combined_with_anyof_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_combined_with_anyof_oneof_request_body.md index f62e2ada24e..95e8b8a5bb6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_combined_with_anyof_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_combined_with_anyof_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_combined_with_anyof_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_request_body.md index f1febe2fc15..9c48d2026f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_simple_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_simple_types_request_body.md index 1147f6df6b1..3a02dfd6e97 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_simple_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_simple_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_simple_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_base_schema_request_body.md index 85019a6dfa0..fb4db02471c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_one_empty_schema_request_body.md index d7779d036f8..3ed710c3b6e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_first_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_first_empty_schema_request_body.md index 55496e6c3ed..070bbfdc567 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_first_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_first_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_with_the_first_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_last_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_last_empty_schema_request_body.md index 9b67a51b4e6..d78cbf69b7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_last_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_the_last_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_with_the_last_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_two_empty_schemas_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_two_empty_schemas_request_body.md index 7e57023c728..13acfa6f571 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_two_empty_schemas_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_allof_with_two_empty_schemas_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_allof_with_two_empty_schemas_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_complex_types_request_body.md index 7311655957e..4289120d754 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_anyof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_request_body.md index 3f4ee5279f6..ce57a2a4e42 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_base_schema_request_body.md index 479fd189eca..5de7b05a570 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_anyof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_one_empty_schema_request_body.md index 4bf2b869c14..907c4b30a71 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_anyof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_anyof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_array_type_matches_arrays_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_array_type_matches_arrays_request_body.md index 4243f280f93..5877c138745 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_array_type_matches_arrays_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_array_type_matches_arrays_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_array_type_matches_arrays_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_boolean_type_matches_booleans_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_boolean_type_matches_booleans_request_body.md index 711575fb29b..76a472c3a5d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_boolean_type_matches_booleans_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_boolean_type_matches_booleans_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_boolean_type_matches_booleans_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_int_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_int_request_body.md index adeb1ea5bc6..c0484e70d0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_int_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_int_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_by_int_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_number_request_body.md index 081a78c5adc..cde67d41dc1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_by_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_small_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_small_number_request_body.md index 7494a25903b..5ef9fb99259 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_small_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_by_small_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_by_small_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_date_time_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_date_time_format_request_body.md index 631de4f02aa..44935398a1b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_date_time_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_date_time_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_date_time_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_email_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_email_format_request_body.md index 8f206c888ec..9e9e998bf21 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_email_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_email_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_email_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with0_does_not_match_false_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with0_does_not_match_false_request_body.md index a065fab9e8a..83a0168c5d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with0_does_not_match_false_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with0_does_not_match_false_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_enum_with0_does_not_match_false_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with1_does_not_match_true_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with1_does_not_match_true_request_body.md index 21d2526d84b..3eb77108913 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with1_does_not_match_true_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with1_does_not_match_true_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_enum_with1_does_not_match_true_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_escaped_characters_request_body.md index 21d9fe55948..845aed81994 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_enum_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_false_does_not_match0_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_false_does_not_match0_request_body.md index ccd1ad42b24..8620e8ef6f2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_false_does_not_match0_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_false_does_not_match0_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_enum_with_false_does_not_match0_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_true_does_not_match1_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_true_does_not_match1_request_body.md index 0f7a81be0c0..77b055766b7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_true_does_not_match1_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enum_with_true_does_not_match1_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_enum_with_true_does_not_match1_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enums_in_properties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enums_in_properties_request_body.md index 33520e9ac46..2efa35ae26b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enums_in_properties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_enums_in_properties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_enums_in_properties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_forbidden_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_forbidden_property_request_body.md index 569b462ddee..7731b4680a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_forbidden_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_forbidden_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_forbidden_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_hostname_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_hostname_format_request_body.md index 639997a30ae..a9cd8d094c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_hostname_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_hostname_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_hostname_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_integer_type_matches_integers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_integer_type_matches_integers_request_body.md index 36f47d0e687..b8e2134ec95 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_integer_type_matches_integers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_integer_type_matches_integers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_integer_type_matches_integers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md index 34134ae2f3f..b1898276002 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_string_value_for_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_string_value_for_default_request_body.md index 646ad284603..6e1852c1c78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_string_value_for_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_invalid_string_value_for_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_invalid_string_value_for_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv4_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv4_format_request_body.md index 32163ac83de..a3a3ab5b55e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv4_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv4_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ipv4_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv6_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv6_format_request_body.md index 033f8e542c7..a0099bfe41b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv6_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ipv6_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ipv6_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_json_pointer_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_json_pointer_format_request_body.md index 6ad70dbc474..8c98097e8fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_json_pointer_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_json_pointer_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_json_pointer_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_request_body.md index a6973ea0bf9..8b34cd009e2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_maximum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_with_unsigned_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_with_unsigned_integer_request_body.md index 8898344c8c6..7c92dc491c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_with_unsigned_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maximum_validation_with_unsigned_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_maximum_validation_with_unsigned_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxitems_validation_request_body.md index c07f3906b65..7a9e75aa573 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_maxitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxlength_validation_request_body.md index 08f11c6edcd..0daa4b87206 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_maxlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties0_means_the_object_is_empty_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties0_means_the_object_is_empty_request_body.md index 40f18aafce7..48b372f229b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties0_means_the_object_is_empty_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties0_means_the_object_is_empty_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_maxproperties0_means_the_object_is_empty_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties_validation_request_body.md index 05cc5bfb0e0..b70eaa930bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_maxproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_maxproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_request_body.md index 141ea739f46..0bea3623296 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_minimum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_with_signed_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_with_signed_integer_request_body.md index 2e2ff7d8cc8..faec3e472dd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_with_signed_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minimum_validation_with_signed_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_minimum_validation_with_signed_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minitems_validation_request_body.md index d38cefb15b4..0a6442680b5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_minitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minlength_validation_request_body.md index 00d2e55ad1b..4378cd3c0f3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_minlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minproperties_validation_request_body.md index 5774c69c771..e749d292076 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_minproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_minproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_allof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_allof_to_check_validation_semantics_request_body.md index c4ebe3b5469..45955479d7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_allof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_allof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_nested_allof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_anyof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_anyof_to_check_validation_semantics_request_body.md index 3a909101f9c..64c469156a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_anyof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_anyof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_nested_anyof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_items_request_body.md index bfd5a6e95c5..a27209f0679 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -103,4 +103,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_nested_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_oneof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_oneof_to_check_validation_semantics_request_body.md index ac334e70897..eafee84e3c2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_oneof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nested_oneof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_nested_oneof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_more_complex_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_more_complex_schema_request_body.md index aa16196e9a6..3d682f935ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_more_complex_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_more_complex_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_not_more_complex_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_request_body.md index 222c4233aa0..bd35a10dc16 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nul_characters_in_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nul_characters_in_strings_request_body.md index acaac33cd83..373d6805615 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nul_characters_in_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_nul_characters_in_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_nul_characters_in_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_null_type_matches_only_the_null_object_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_null_type_matches_only_the_null_object_request_body.md index 8674da520b3..9b3bafe832c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_null_type_matches_only_the_null_object_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_null_type_matches_only_the_null_object_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), None] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_null_type_matches_only_the_null_object_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_number_type_matches_numbers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_number_type_matches_numbers_request_body.md index a53b1ef83eb..cb0f8c1631f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_number_type_matches_numbers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_number_type_matches_numbers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_number_type_matches_numbers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_properties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_properties_validation_request_body.md index ccf78f72168..4e694b3db1b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_properties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_properties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_object_properties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_type_matches_objects_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_type_matches_objects_request_body.md index 53bf278383b..226064cb221 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_type_matches_objects_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_object_type_matches_objects_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_object_type_matches_objects_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_complex_types_request_body.md index 51b39301968..5f4b9d0725c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_oneof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_request_body.md index a298bccd455..624508de6f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_base_schema_request_body.md index da2e7a8067f..348a1c24b8b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_oneof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_empty_schema_request_body.md index 1e882272422..0fbd1d7baa1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_oneof_with_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_required_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_required_request_body.md index b84910542be..869660089dd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_required_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_oneof_with_required_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_oneof_with_required_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_is_not_anchored_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_is_not_anchored_request_body.md index d6481f6e83e..03a9e7e7690 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_is_not_anchored_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_is_not_anchored_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_pattern_is_not_anchored_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_validation_request_body.md index 02828a0f38b..2ab0188b430 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_pattern_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_pattern_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_properties_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_properties_with_escaped_characters_request_body.md index eca5ad62a1b..84efe2663a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_properties_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_properties_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_properties_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_property_named_ref_that_is_not_a_reference_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_property_named_ref_that_is_not_a_reference_request_body.md index 9a104813bd9..42472b80b90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_property_named_ref_that_is_not_a_reference_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_property_named_ref_that_is_not_a_reference_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_property_named_ref_that_is_not_a_reference_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_additionalproperties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_additionalproperties_request_body.md index ef13b88730b..bd47b2c4b69 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_additionalproperties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_additionalproperties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ref_in_additionalproperties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_allof_request_body.md index 849fdec46b1..656d29e8c34 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ref_in_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_anyof_request_body.md index 832656dc978..b7a71339050 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ref_in_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_items_request_body.md index b155efcef74..1934d510449 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ref_in_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_not_request_body.md index b77ffc3c211..c52566b7172 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ref_in_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_oneof_request_body.md index 124c8af41cf..7a8d567ff84 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ref_in_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_property_request_body.md index effbbad7aaa..3cef64d4134 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_ref_in_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_ref_in_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_default_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_default_validation_request_body.md index 740ce78bac4..5f8708b33a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_default_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_default_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_required_default_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_validation_request_body.md index 3e174fa4f76..81d5fc1cc73 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_required_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_empty_array_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_empty_array_request_body.md index 7766d12eaa2..482abdb38ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_empty_array_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_empty_array_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_required_with_empty_array_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_escaped_characters_request_body.md index 81ddb271a2c..dc0fc94996b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_required_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_required_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_simple_enum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_simple_enum_validation_request_body.md index c988986dc15..27c61d80c8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_simple_enum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_simple_enum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_simple_enum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_string_type_matches_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_string_type_matches_strings_request_body.md index d3058db785a..cadfdf0007c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_string_type_matches_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_string_type_matches_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_string_type_matches_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md index b08de502ec0..36f57177fe9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_false_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_false_validation_request_body.md index de0b4e8944a..0a9352b6291 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_false_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_false_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_uniqueitems_false_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_validation_request_body.md index 3a9de894cd6..a2c977ea13f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uniqueitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_uniqueitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_format_request_body.md index f02aca9a776..315714f169a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_uri_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_reference_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_reference_format_request_body.md index edfeccbe786..6aa3eebbacb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_reference_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_reference_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_uri_reference_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_template_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_template_format_request_body.md index 712e4ee3ba6..e3f5944b509 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_template_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/operation_request_body_api/post_uri_template_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling OperationRequestBodyApi->post_uri_template_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../OperationRequestBodyApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../operation_request_body_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md index dee80216b6f..00b4f0f1042 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_allows_a_schema_which_should_validate_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md index 5d6296d6e98..0ca380978d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_request_body.md index 77979ce27c6..ef291283aa2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_are_allowed_by_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md index 2c5071edc48..51889d1c497 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_are_allowed_by_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_request_body.md index aeac51f0820..10a8d790c72 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_can_exist_by_itself_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md index 6dac35dcb8e..b580f7eb2ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_can_exist_by_itself_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_request_body.md index 5383a6be873..ad005af6f4b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_should_not_look_in_applicators_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md index 9fd4b821414..0a733b0686d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_request_body.md index ca566a00678..aaebfad784e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_combined_with_anyof_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md index c72a1fa725f..412d14cd4f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_combined_with_anyof_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_request_body.md index ea1c37ac28c..0400fc4ce3e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_response_body_for_content_types.md index 6b4cd6b0951..27848e27e26 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_request_body.md index a8118ef2169..176b94e21e2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_simple_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_response_body_for_content_types.md index 7bd8e514398..39be2650d7e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_simple_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_simple_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_request_body.md index 348a1e3991f..e3f97d7f692 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_response_body_for_content_types.md index a45391a3a10..593f91d457c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_request_body.md index 056ca751e5e..4fd8cde1db9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_response_body_for_content_types.md index 6bbb47722e9..ded35d298fc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_request_body.md index e683f805e9a..d848c079715 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_the_first_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md index 5ee61186b84..a2dc7ea1972 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_the_first_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_request_body.md index 205e9bc0ae9..c8d7fed6b1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_the_last_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md index ca701186af0..11362f91caf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_the_last_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_request_body.md index 1b0d88dfe5b..b7d3979974d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_two_empty_schemas_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md index 82f0a14eebb..06bdf7dabc8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_allof_with_two_empty_schemas_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_request_body.md index 70d0e8c672b..cda8b3edd2b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_response_body_for_content_types.md index c740fe5e2aa..20b76269c38 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_request_body.md index 9c17dafa06f..e3f7b6f432f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_response_body_for_content_types.md index 451ec575c5b..a0e92c435e3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_request_body.md index 42e6902d293..08a61e017c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_response_body_for_content_types.md index c996a97091d..c0330d8582c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_request_body.md index c713832421a..caaf28bf655 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_with_one_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md index 08a79fe3db2..862390e7dd3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_anyof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_request_body.md index 8774737c7a3..bd0a73a2cdf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_array_type_matches_arrays_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_response_body_for_content_types.md index fd7ac299567..d5a60a894d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_array_type_matches_arrays_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_array_type_matches_arrays_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_request_body.md index 81ebd42cf99..53a6ee73e0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_boolean_type_matches_booleans_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_response_body_for_content_types.md index d4a41ada22e..5cfd08ee750 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_boolean_type_matches_booleans_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_boolean_type_matches_booleans_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_request_body.md index b52b82582e9..9f70b5a3e3b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_by_int_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_response_body_for_content_types.md index 0eaaf3a99f5..9809b99e170 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_int_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_by_int_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_request_body.md index ed1925e5eeb..8da170cedf9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_by_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_response_body_for_content_types.md index 4e055442489..cc8d452643e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_by_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_request_body.md index 7e61d23e9dd..25350bf462b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_by_small_number_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_response_body_for_content_types.md index 6fc89926d46..810e60bb69b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_by_small_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_by_small_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_request_body.md index 63cc3b56cc8..02a27014955 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_date_time_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_response_body_for_content_types.md index 34dd91f7d10..677b0b5d97b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_date_time_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_date_time_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_request_body.md index bdcfef01c52..ff69bf6c12f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_email_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_response_body_for_content_types.md index 699697ba51a..b285a74ccb3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_email_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_email_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_request_body.md index fbad39364c4..15c0757bf34 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with0_does_not_match_false_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md index d433c3d5187..e80d0935b5f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with0_does_not_match_false_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_request_body.md index 4a116bd4afe..af7fef2fbe6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with1_does_not_match_true_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md index cf8e1f40072..9546a2603ad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with1_does_not_match_true_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_request_body.md index 1ae85e9ccf8..b424bbfe6b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_response_body_for_content_types.md index be769fce340..60a9363ed0e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_request_body.md index 2372ed2a259..1b901b7e07b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with_false_does_not_match0_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md index b13524c7bd3..bd8f54eb4c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with_false_does_not_match0_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_request_body.md index 949a002c864..22faa50efbb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with_true_does_not_match1_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md index 36ac7604598..6ce856d4caf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enum_with_true_does_not_match1_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_request_body.md index accbf72ff38..b3a1f56a36e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -98,4 +98,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enums_in_properties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_response_body_for_content_types.md index 2110c1e37c5..a3d5754ad78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_enums_in_properties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_enums_in_properties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_request_body.md index b9b95c6c256..24f8b98af78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_forbidden_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_response_body_for_content_types.md index 1b38a360f13..cb54de309b6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_forbidden_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_forbidden_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_request_body.md index baa906d1f13..1705bc90a05 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_hostname_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_response_body_for_content_types.md index 2135648ccf3..e77def936ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_hostname_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_hostname_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_request_body.md index 9d73d017cdc..47bac77aba9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_integer_type_matches_integers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_response_body_for_content_types.md index ad0121a797f..efe5af4c4ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_integer_type_matches_integers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_integer_type_matches_integers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md index 03a30817c7b..ce26747d9c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md index cc7eb059635..1b6abee0c90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_request_body.md index e528f060c9a..cb981332634 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_invalid_string_value_for_default_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_response_body_for_content_types.md index 056dafabbd7..5c3b36145f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_invalid_string_value_for_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_invalid_string_value_for_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_request_body.md index 579095e9601..296f07e8f49 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ipv4_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_response_body_for_content_types.md index 1f388b8e356..f85cd9e1e5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv4_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ipv4_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_request_body.md index ed791e526da..ea665cb8d89 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ipv6_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_response_body_for_content_types.md index 1ff6df74afc..90531506d8c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ipv6_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ipv6_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_request_body.md index 4019a2ba04c..dce32f1bf09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_json_pointer_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_response_body_for_content_types.md index 218800d7bb9..8515df35070 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_json_pointer_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_json_pointer_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_request_body.md index fd1f75d6877..ca1eb298034 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maximum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_response_body_for_content_types.md index 73d7a844a68..804b9b753e3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maximum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_request_body.md index 2fd65a7e818..a96f0c2e552 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maximum_validation_with_unsigned_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md index e4e3e51e79a..5d3a38297b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maximum_validation_with_unsigned_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_request_body.md index 106bcd39875..1613973c7d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_response_body_for_content_types.md index 03a156cba71..89037eb4010 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_request_body.md index 3b2b371740a..02a163e5a10 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_response_body_for_content_types.md index cebd2f8b20d..aa81d016224 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_request_body.md index dcaf3db4ce3..49982ee360e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxproperties0_means_the_object_is_empty_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md index f1ac4c15b10..161b9a9ec4f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxproperties0_means_the_object_is_empty_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_request_body.md index 029ca84f0d6..4cd22776b8d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_response_body_for_content_types.md index 9fbbea359fc..ee356ac7e5a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_maxproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_maxproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_request_body.md index 7ab15269c75..1267379bb96 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minimum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_response_body_for_content_types.md index ec9fba8cc94..04eb351fca9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minimum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_request_body.md index fd3d35cf7a6..b4aa723ac82 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minimum_validation_with_signed_integer_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md index 34a55b1f2fa..8d29af8c943 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minimum_validation_with_signed_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_request_body.md index 7274b2fabc2..0ee6e7341d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_response_body_for_content_types.md index bd542ed336c..770331142fb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_request_body.md index 40889e298da..18b5097dbd1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minlength_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_response_body_for_content_types.md index 568618b0e9f..0864a171e72 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_request_body.md index d62d43076d4..340134e993e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minproperties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_response_body_for_content_types.md index 15728f3e87a..038ed03e4fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_minproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_minproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_request_body.md index 6c60c91a816..615637fb3b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_allof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md index a6aea468fe0..65837fc9e9c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_allof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_request_body.md index 69154b6e5a0..505674e3488 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_anyof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md index bbf62d2f430..2a7a82df3e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_anyof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_request_body.md index 11398a9fdc6..73b86ab5a29 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -103,4 +103,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_response_body_for_content_types.md index 116840eed57..ed3b2d255c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_request_body.md index 3b21811c0b2..b03c355e4d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_oneof_to_check_validation_semantics_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md index fe1a75b298c..6f9bbb2222e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nested_oneof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_request_body.md index dd0e36da051..34db67bdb04 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_not_more_complex_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_response_body_for_content_types.md index 0233260086b..6c951fe2d51 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_more_complex_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_not_more_complex_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_request_body.md index c14137edf3a..017ba579a79 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_response_body_for_content_types.md index 0888b786f24..0d321436410 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_request_body.md index 6db7f2de60b..a3c5b18e9b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nul_characters_in_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_response_body_for_content_types.md index b0bec62a944..8dbc0112e3d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_nul_characters_in_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_nul_characters_in_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_request_body.md index 5bdbd1cf63a..ecc47555fab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), None] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_null_type_matches_only_the_null_object_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md index 9c2f2ec5b3f..862c5cec785 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_null_type_matches_only_the_null_object_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_request_body.md index f2fd9f1f6ae..7893413503c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_number_type_matches_numbers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_response_body_for_content_types.md index 2afe67523bb..87fdbe4e55b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_number_type_matches_numbers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_number_type_matches_numbers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_request_body.md index 4e247a87cfd..6cf54acc64e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_object_properties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_response_body_for_content_types.md index d3368a48314..e8600bb9c35 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_properties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_object_properties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_request_body.md index bfffdf81bd6..e9ddd6e33d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_object_type_matches_objects_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_response_body_for_content_types.md index 9778924e1d9..407cea7a5f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_object_type_matches_objects_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_object_type_matches_objects_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_request_body.md index f2d3424dc18..e77fd12b993 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_complex_types_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_response_body_for_content_types.md index f1c7494475c..834b725a7d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_request_body.md index f87f7269e9a..04f871e3b6c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_response_body_for_content_types.md index 8ec7166a121..38aa2106553 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_request_body.md index ea351bf88a9..6478ab409fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_with_base_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_response_body_for_content_types.md index b97a30203f9..1826ff8f0a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_request_body.md index d28ac84b7cf..4e3fac32881 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_with_empty_schema_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_response_body_for_content_types.md index cc78d6dcfcc..85edfb4f12d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_with_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_request_body.md index 7f9f5a8293b..429c00121b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_with_required_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_response_body_for_content_types.md index 4481e0bf639..fd5ff111702 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_oneof_with_required_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_oneof_with_required_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_request_body.md index 77929d23f7a..4fae69507c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_pattern_is_not_anchored_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_response_body_for_content_types.md index 8fb4db70e52..bcb67a92cff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_is_not_anchored_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_pattern_is_not_anchored_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_request_body.md index 34d8cb47573..de80037775c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_pattern_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_response_body_for_content_types.md index 899a2f997ab..b1aa677fd6e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_pattern_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_pattern_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_request_body.md index 5fce98fff0d..1733c1329a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_properties_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_response_body_for_content_types.md index fde56618d7f..7031e6d529d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_properties_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_properties_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_request_body.md index 1d2cbee8e06..509a47ea937 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_property_named_ref_that_is_not_a_reference_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md index 90bf7df4423..9b2708aa1b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_property_named_ref_that_is_not_a_reference_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_request_body.md index 544061464e8..d393ab5b8e2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_additionalproperties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_response_body_for_content_types.md index 59d313ff438..259b6615deb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_additionalproperties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_additionalproperties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_request_body.md index 2c6845a295e..5e024e1e681 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_response_body_for_content_types.md index df441198206..75f26edf14a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_request_body.md index 36d2c43ea69..6e19433b8fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_response_body_for_content_types.md index d2aa753609c..fda89b6f7f6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_request_body.md index 31afac06891..80fe05ad061 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_response_body_for_content_types.md index 7d0521d2ab7..4316dfb8866 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_request_body.md index 20b78f680b2..cc07de8134d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_response_body_for_content_types.md index 08d36d391d1..9c620d78c99 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_request_body.md index cf8bc66a33e..da7f0799def 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_response_body_for_content_types.md index 1a9e435a420..d15301a3100 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_request_body.md index 03520061268..da0c4e30a94 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_response_body_for_content_types.md index ae8e3a93ce1..e836da08129 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_ref_in_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_ref_in_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_request_body.md index 384d8db64af..7e26773e397 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_default_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_response_body_for_content_types.md index 1a41b9f42d5..15e080b34ff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_default_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_default_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_request_body.md index 5817aaf87d5..8b11716d0b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_response_body_for_content_types.md index 70c926add7e..57a39870957 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_request_body.md index c68ea00ec8b..142387e68a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_with_empty_array_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_response_body_for_content_types.md index 4c4863aad32..80740b3777f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_empty_array_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_with_empty_array_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_request_body.md index fa8a9e64697..399bd92f349 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_response_body_for_content_types.md index 153a6ff6097..3c5fd5a87f0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_required_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_required_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_request_body.md index 215406ddc0c..5d2c9a18a25 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_simple_enum_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_response_body_for_content_types.md index 8f1abe42ccf..3219534e57a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_simple_enum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_simple_enum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_request_body.md index 5f15a29fe48..0be44659900 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_string_type_matches_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_response_body_for_content_types.md index 9db21d3017e..13805b7fdda 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_string_type_matches_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_string_type_matches_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md index f144fddb728..dac792855f5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md index 9e18c3ab5c3..99da0c1f106 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_request_body.md index e3c858cfb87..fe6fa265772 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uniqueitems_false_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_response_body_for_content_types.md index 1a5a65c1e30..d6847b9cbf8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_false_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uniqueitems_false_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_request_body.md index 9b49caee5a0..8787f5f6350 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uniqueitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_response_body_for_content_types.md index 5851260d0d4..44bdd17478d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uniqueitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uniqueitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_request_body.md index 667acdf5f1d..c0b54eb70a0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uri_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_response_body_for_content_types.md index 8da373e9908..d95d74a6059 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uri_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_request_body.md index 66e2b88381a..048145b840d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uri_reference_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_response_body_for_content_types.md index da93123c45d..0ee5df27bcf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_reference_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uri_reference_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_request_body.md index f074d694de3..ec3c8944f51 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uri_template_format_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_response_body_for_content_types.md index 42ee5a41f3a..f4b23ef85c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/path_post_api/post_uri_template_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PathPostApi->post_uri_template_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PathPostApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../path_post_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_request_body.md index 6db3faef7ae..8395d817156 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PatternApi->post_pattern_is_not_anchored_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PatternApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pattern_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_response_body_for_content_types.md index 16bba95bad7..be6e2a0bf10 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_is_not_anchored_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PatternApi->post_pattern_is_not_anchored_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PatternApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pattern_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_request_body.md index 59012801844..fcca2ea324c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PatternApi->post_pattern_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PatternApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pattern_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_response_body_for_content_types.md index c6414dba61d..cda13159a2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/pattern_api/post_pattern_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PatternApi->post_pattern_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PatternApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pattern_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_request_body.md index 2648d520348..b623705fe3a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PropertiesApi->post_object_properties_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_response_body_for_content_types.md index 6aabf9a5125..9aedcc1f98e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_object_properties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PropertiesApi->post_object_properties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_request_body.md index 49cdc4d4881..94311944066 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PropertiesApi->post_properties_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_response_body_for_content_types.md index a70d656a2fc..d998f95333f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/properties_api/post_properties_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling PropertiesApi->post_properties_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PropertiesApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../properties_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_request_body.md index 30024585bf6..d666de6b588 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_property_named_ref_that_is_not_a_reference_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md index 3b451074d58..36e516fd031 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_property_named_ref_that_is_not_a_reference_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_request_body.md index 50cb9c163d2..ec63440c044 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_additionalproperties_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_response_body_for_content_types.md index dd3ed691df4..04097478347 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_additionalproperties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_additionalproperties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_request_body.md index 855bbaf70b8..813dabbefb5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_allof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_response_body_for_content_types.md index 5f7be3e114d..902ebaac910 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_request_body.md index 96bca74cf86..3f94d19f3e1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_anyof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_response_body_for_content_types.md index 8ce49090d9e..dcda82d9831 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_request_body.md index 4d70c3ae94e..62c6fd5a4a2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_items_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_response_body_for_content_types.md index 5e62a9cfa33..096f7f3eb0a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_request_body.md index d868fa7be52..dd857f15048 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_not_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_response_body_for_content_types.md index 8b8ea0cebfe..9c786cc285c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_request_body.md index 1dc53a9bfca..a93aa3ed8bc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_oneof_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_response_body_for_content_types.md index dcc0bfad9e9..525de9c3be6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_request_body.md index 6a09192afec..a1ca69fd810 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_property_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_response_body_for_content_types.md index d2bf77931d9..6cc44a5fc2f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ref_api/post_ref_in_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RefApi->post_ref_in_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RefApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../ref_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_request_body.md index 91e993f3d9b..15f68c6e2e0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_default_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_response_body_for_content_types.md index 4415a6aa4b8..086869ad88e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_default_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_default_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_request_body.md index 7dba4ccfa6e..bbc6a99069f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_response_body_for_content_types.md index d8c59ab7269..3cf2f31b4b9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_request_body.md index bab78f02300..d7effb081e8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_with_empty_array_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_response_body_for_content_types.md index aca18d9f9ca..8e6184f5ef9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_empty_array_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_with_empty_array_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_request_body.md index 27e0a8ecacb..fa293ca8ac5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_with_escaped_characters_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_response_body_for_content_types.md index dd315a9c377..d75fa8de6b1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/required_api/post_required_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling RequiredApi->post_required_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../RequiredApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../required_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md index 8c88c3f7c84..17de3db080b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesAllowsASchemaWhichShouldValidate](../../../components/schema/additionalproperties_allows_a_schema_which_should_validate.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md index b07720beeda..35bc53eeb6e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_are_allowed_by_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesAreAllowedByDefault](../../../components/schema/additionalproperties_are_allowed_by_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_additionalproperties_are_allowed_by_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md index a4ed0327db4..6272a5d46d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_can_exist_by_itself_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalpropertiesCanExistByItself](../../../components/schema/additionalproperties_can_exist_by_itself.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_additionalproperties_can_exist_by_itself_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md index 3ebc54b5762..d4e08257c36 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AdditionalpropertiesShouldNotLookInApplicators](../../../components/schema/additionalproperties_should_not_look_in_applicators.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md index 90b661b2307..fe29a17081b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_combined_with_anyof_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofCombinedWithAnyofOneof](../../../components/schema/allof_combined_with_anyof_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_combined_with_anyof_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_response_body_for_content_types.md index c16cce908fb..7a421b14abe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Allof](../../../components/schema/allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_simple_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_simple_types_response_body_for_content_types.md index fdc769c052e..2b69a3fe300 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_simple_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_simple_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofSimpleTypes](../../../components/schema/allof_simple_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_simple_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_base_schema_response_body_for_content_types.md index 8b003f954c8..629f93f6887 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithBaseSchema](../../../components/schema/allof_with_base_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_one_empty_schema_response_body_for_content_types.md index 504080dbdb0..0b846125d61 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithOneEmptySchema](../../../components/schema/allof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md index 872fe8d6890..6cd511cd6bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_first_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheFirstEmptySchema](../../../components/schema/allof_with_the_first_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_with_the_first_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md index c539475f17b..8e341759ba9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_the_last_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTheLastEmptySchema](../../../components/schema/allof_with_the_last_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_with_the_last_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md index 961324bf2bf..c3a7b2a243c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_allof_with_two_empty_schemas_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AllofWithTwoEmptySchemas](../../../components/schema/allof_with_two_empty_schemas.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_allof_with_two_empty_schemas_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_complex_types_response_body_for_content_types.md index 1e7a6f4d1b6..91225ffe701 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofComplexTypes](../../../components/schema/anyof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_anyof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_response_body_for_content_types.md index 7268be8b365..117115bdf0c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Anyof](../../../components/schema/anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_base_schema_response_body_for_content_types.md index 8d68b811447..4cedce568b6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str, | str, | +[AnyofWithBaseSchema](../../../components/schema/anyof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_anyof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md index a05e73a0a86..8a01e38386a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_anyof_with_one_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[AnyofWithOneEmptySchema](../../../components/schema/anyof_with_one_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_anyof_with_one_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_array_type_matches_arrays_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_array_type_matches_arrays_response_body_for_content_types.md index 6a84ce76099..6c819ad3760 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_array_type_matches_arrays_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_array_type_matches_arrays_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_array_type_matches_arrays_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_boolean_type_matches_booleans_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_boolean_type_matches_booleans_response_body_for_content_types.md index ffef3cda5a1..3464fc592c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_boolean_type_matches_booleans_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_boolean_type_matches_booleans_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_boolean_type_matches_booleans_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_int_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_int_response_body_for_content_types.md index dfa9538b5d0..a5bf7c7f4e0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_int_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_int_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByInt](../../../components/schema/by_int.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_by_int_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_number_response_body_for_content_types.md index 7268eac6739..9da037a46ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ByNumber](../../../components/schema/by_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_by_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_small_number_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_small_number_response_body_for_content_types.md index 8c6100a40c5..58ce3909ffe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_small_number_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_by_small_number_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[BySmallNumber](../../../components/schema/by_small_number.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_by_small_number_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_date_time_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_date_time_format_response_body_for_content_types.md index 620875658ca..7a0b6a89f4f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_date_time_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_date_time_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[DateTimeFormat](../../../components/schema/date_time_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_date_time_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_email_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_email_format_response_body_for_content_types.md index 0220d4999e3..79146c69677 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_email_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_email_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[EmailFormat](../../../components/schema/email_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_email_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md index ba5cdf00987..188ef3684c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with0_does_not_match_false_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith0DoesNotMatchFalse](../../../components/schema/enum_with0_does_not_match_false.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_enum_with0_does_not_match_false_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md index d7193ffbd3c..4d72f9445ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with1_does_not_match_true_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[EnumWith1DoesNotMatchTrue](../../../components/schema/enum_with1_does_not_match_true.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_enum_with1_does_not_match_true_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_escaped_characters_response_body_for_content_types.md index a5b982d3e90..f53f7f8101a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str, | str, | +[EnumWithEscapedCharacters](../../../components/schema/enum_with_escaped_characters.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_enum_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md index d0cd4c8fde0..0f7235e0a91 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_false_does_not_match0_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool, | BoolClass, | +[EnumWithFalseDoesNotMatch0](../../../components/schema/enum_with_false_does_not_match0.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_enum_with_false_does_not_match0_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md index 014ab840a13..42396c72fd1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enum_with_true_does_not_match1_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool, | BoolClass, | +[EnumWithTrueDoesNotMatch1](../../../components/schema/enum_with_true_does_not_match1.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_enum_with_true_does_not_match1_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enums_in_properties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enums_in_properties_response_body_for_content_types.md index ef316238506..c6579022ae3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enums_in_properties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_enums_in_properties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[EnumsInProperties](../../../components/schema/enums_in_properties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_enums_in_properties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_forbidden_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_forbidden_property_response_body_for_content_types.md index 07b857ef136..b832d92c872 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_forbidden_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_forbidden_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ForbiddenProperty](../../../components/schema/forbidden_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_forbidden_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_hostname_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_hostname_format_response_body_for_content_types.md index 26b9c6913dc..ce134c2bccf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_hostname_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_hostname_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[HostnameFormat](../../../components/schema/hostname_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_hostname_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_integer_type_matches_integers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_integer_type_matches_integers_response_body_for_content_types.md index b0b8abaf7e1..e1e5b18e081 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_integer_type_matches_integers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_integer_type_matches_integers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_integer_type_matches_integers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md index b921999405b..33e3302b1db 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int, | decimal.Decimal, | +[InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](../../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_string_value_for_default_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_string_value_for_default_response_body_for_content_types.md index 44fb6ae195b..80dc5d753d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_string_value_for_default_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_invalid_string_value_for_default_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[InvalidStringValueForDefault](../../../components/schema/invalid_string_value_for_default.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_invalid_string_value_for_default_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv4_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv4_format_response_body_for_content_types.md index dbf4bf27ce2..7f481b460b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv4_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv4_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv4Format](../../../components/schema/ipv4_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ipv4_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv6_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv6_format_response_body_for_content_types.md index c437b75773c..f01dce24d14 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv6_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ipv6_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Ipv6Format](../../../components/schema/ipv6_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ipv6_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_json_pointer_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_json_pointer_format_response_body_for_content_types.md index 13e6255c72e..4eb49649710 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_json_pointer_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_json_pointer_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[JsonPointerFormat](../../../components/schema/json_pointer_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_json_pointer_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_response_body_for_content_types.md index e101896bb32..0343f696db1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidation](../../../components/schema/maximum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_maximum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md index cbb9002799b..7e155360e0d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maximum_validation_with_unsigned_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaximumValidationWithUnsignedInteger](../../../components/schema/maximum_validation_with_unsigned_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_maximum_validation_with_unsigned_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxitems_validation_response_body_for_content_types.md index 4d019e682b9..011e007aa8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxitemsValidation](../../../components/schema/maxitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_maxitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxlength_validation_response_body_for_content_types.md index 060eddc0a45..0a185ea5349 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxlengthValidation](../../../components/schema/maxlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_maxlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md index 7e1a02e23eb..5e1c8d6d24d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Maxproperties0MeansTheObjectIsEmpty](../../../components/schema/maxproperties0_means_the_object_is_empty.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_maxproperties0_means_the_object_is_empty_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties_validation_response_body_for_content_types.md index e6aa195f635..1a3970575a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_maxproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MaxpropertiesValidation](../../../components/schema/maxproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_maxproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_response_body_for_content_types.md index 16967c6c21d..1ae2f034192 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidation](../../../components/schema/minimum_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_minimum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md index e1ecbdfe0e1..141bd9891d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minimum_validation_with_signed_integer_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinimumValidationWithSignedInteger](../../../components/schema/minimum_validation_with_signed_integer.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_minimum_validation_with_signed_integer_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minitems_validation_response_body_for_content_types.md index d08eb73bb6d..9ddcb5d9b82 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinitemsValidation](../../../components/schema/minitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_minitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minlength_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minlength_validation_response_body_for_content_types.md index 218aa046128..e76c71dbbcd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minlength_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minlength_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinlengthValidation](../../../components/schema/minlength_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_minlength_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minproperties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minproperties_validation_response_body_for_content_types.md index b5c6e6905aa..6e4f8fc4e56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minproperties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_minproperties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[MinpropertiesValidation](../../../components/schema/minproperties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_minproperties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md index 3c64a75e342..0d828a255ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_allof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAllofToCheckValidationSemantics](../../../components/schema/nested_allof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_nested_allof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md index d58ff683f60..e42712bc457 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedAnyofToCheckValidationSemantics](../../../components/schema/nested_anyof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_nested_anyof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_items_response_body_for_content_types.md index 500cb26070d..7a4094cbc32 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedItems](../../../components/schema/nested_items.md) | list, tuple, | tuple, | +[NestedItems](../../../components/schema/nested_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_nested_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md index 11875fec2ff..22459014dc7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NestedOneofToCheckValidationSemantics](../../../components/schema/nested_oneof_to_check_validation_semantics.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_nested_oneof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_more_complex_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_more_complex_schema_response_body_for_content_types.md index 5291f3c90a9..7331e547110 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_more_complex_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_more_complex_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[NotMoreComplexSchema](../../../components/schema/not_more_complex_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_not_more_complex_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_response_body_for_content_types.md index ed5e398a91b..b589417dbc0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[_Not](../../../components/schema/_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nul_characters_in_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nul_characters_in_strings_response_body_for_content_types.md index d1afeec385d..c718c95869c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nul_characters_in_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_nul_characters_in_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str, | str, | +[NulCharactersInStrings](../../../components/schema/nul_characters_in_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_nul_characters_in_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md index c4fb9eb2a84..42e31697bc9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_null_type_matches_only_the_null_object_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_number_type_matches_numbers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_number_type_matches_numbers_response_body_for_content_types.md index e240b0503ae..d7bdf70bec5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_number_type_matches_numbers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_number_type_matches_numbers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_number_type_matches_numbers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_properties_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_properties_validation_response_body_for_content_types.md index d5d7324d1b6..d89cfd0b77f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_properties_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_properties_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ObjectPropertiesValidation](../../../components/schema/object_properties_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_object_properties_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_type_matches_objects_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_type_matches_objects_response_body_for_content_types.md index 79a41fe3e9e..c1ed73ca24b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_type_matches_objects_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_object_type_matches_objects_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_object_type_matches_objects_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_complex_types_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_complex_types_response_body_for_content_types.md index d5978b770ee..8abbdf6f129 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_complex_types_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_complex_types_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofComplexTypes](../../../components/schema/oneof_complex_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_oneof_complex_types_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_response_body_for_content_types.md index 4c79634fb46..897f3371c57 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Oneof](../../../components/schema/oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_base_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_base_schema_response_body_for_content_types.md index 49b8aaef64b..40b642a254d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_base_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_base_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str, | str, | +[OneofWithBaseSchema](../../../components/schema/oneof_with_base_schema.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_oneof_with_base_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_empty_schema_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_empty_schema_response_body_for_content_types.md index 5601d03dfe5..0bc4427b7d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_empty_schema_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_empty_schema_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[OneofWithEmptySchema](../../../components/schema/oneof_with_empty_schema.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_oneof_with_empty_schema_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_required_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_required_response_body_for_content_types.md index 897837537de..2c5e0fffa3f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_required_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_oneof_with_required_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[OneofWithRequired](../../../components/schema/oneof_with_required.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_oneof_with_required_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_is_not_anchored_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_is_not_anchored_response_body_for_content_types.md index 005b15e60e8..dc233c84b44 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_is_not_anchored_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_is_not_anchored_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternIsNotAnchored](../../../components/schema/pattern_is_not_anchored.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_pattern_is_not_anchored_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_validation_response_body_for_content_types.md index fe57b135cc5..ae2d41b5a2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_pattern_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PatternValidation](../../../components/schema/pattern_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_pattern_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_properties_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_properties_with_escaped_characters_response_body_for_content_types.md index 2de1e3b9505..0639d86444d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_properties_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_properties_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertiesWithEscapedCharacters](../../../components/schema/properties_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_properties_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md index e900af5969c..24e8b035524 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_property_named_ref_that_is_not_a_reference_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[PropertyNamedRefThatIsNotAReference](../../../components/schema/property_named_ref_that_is_not_a_reference.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_property_named_ref_that_is_not_a_reference_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_additionalproperties_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_additionalproperties_response_body_for_content_types.md index 09fa4f1a47c..de546003978 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_additionalproperties_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_additionalproperties_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefInAdditionalproperties](../../../components/schema/ref_in_additionalproperties.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ref_in_additionalproperties_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_allof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_allof_response_body_for_content_types.md index 45eae5764d5..a0e52fad298 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_allof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_allof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAllof](../../../components/schema/ref_in_allof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ref_in_allof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_anyof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_anyof_response_body_for_content_types.md index c39fcc3fbe3..d2b48d83be3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_anyof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_anyof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInAnyof](../../../components/schema/ref_in_anyof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ref_in_anyof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_items_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_items_response_body_for_content_types.md index 130b21db9f0..08591c42e9d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_items_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_items_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple, | tuple, | +[RefInItems](../../../components/schema/ref_in_items.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ref_in_items_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_not_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_not_response_body_for_content_types.md index 43300b0d5b2..62ec25cbbab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_not_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_not_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInNot](../../../components/schema/ref_in_not.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ref_in_not_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_oneof_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_oneof_response_body_for_content_types.md index d6b99479dae..ab7dcf47d57 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_oneof_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_oneof_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInOneof](../../../components/schema/ref_in_oneof.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ref_in_oneof_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_property_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_property_response_body_for_content_types.md index b0d2e8e7bed..88148f8a6a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_property_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_ref_in_property_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RefInProperty](../../../components/schema/ref_in_property.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_ref_in_property_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_default_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_default_validation_response_body_for_content_types.md index cff9b7b9265..3903e0dce3d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_default_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_default_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredDefaultValidation](../../../components/schema/required_default_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_required_default_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_validation_response_body_for_content_types.md index bcc38e280cc..4ad4613dc2e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredValidation](../../../components/schema/required_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_required_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_empty_array_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_empty_array_response_body_for_content_types.md index 476af71c032..2a137f5d152 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_empty_array_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_empty_array_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEmptyArray](../../../components/schema/required_with_empty_array.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_required_with_empty_array_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_escaped_characters_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_escaped_characters_response_body_for_content_types.md index aa209c2960c..225836af65b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_escaped_characters_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_required_with_escaped_characters_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[RequiredWithEscapedCharacters](../../../components/schema/required_with_escaped_characters.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_required_with_escaped_characters_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_simple_enum_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_simple_enum_validation_response_body_for_content_types.md index 605996b12cc..7a03d38177c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_simple_enum_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_simple_enum_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[SimpleEnumValidation](../../../components/schema/simple_enum_validation.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_simple_enum_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_string_type_matches_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_string_type_matches_strings_response_body_for_content_types.md index 57ed346cebe..3990c378c2f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_string_type_matches_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_string_type_matches_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_string_type_matches_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md index a128bac5d5d..0c9ca7ac8d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](../../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_false_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_false_validation_response_body_for_content_types.md index 777b2ad05c2..4ea72a3f385 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_false_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_false_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_uniqueitems_false_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_validation_response_body_for_content_types.md index 7d7b41a69e2..320d39d304e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uniqueitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_uniqueitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_format_response_body_for_content_types.md index 890e8a95bb8..09710e0dad0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriFormat](../../../components/schema/uri_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_uri_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_reference_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_reference_format_response_body_for_content_types.md index 278e565bf96..f0d6e729dbb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_reference_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_reference_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriReferenceFormat](../../../components/schema/uri_reference_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_uri_reference_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_template_format_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_template_format_response_body_for_content_types.md index a9b868655b3..535a735a7ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_template_format_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/response_content_content_type_schema_api/post_uri_template_format_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UriTemplateFormat](../../../components/schema/uri_template_format.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling ResponseContentContentTypeSchemaApi->post_uri_template_format_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../ResponseContentContentTypeSchemaApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../response_content_content_type_schema_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_request_body.md index 8a6ba801d28..16bcd0ee5d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -97,4 +97,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_array_type_matches_arrays_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_response_body_for_content_types.md index 8eafbb42578..5c60bf887c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_array_type_matches_arrays_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple, | tuple, | +[ArrayTypeMatchesArrays](../../../components/schema/array_type_matches_arrays.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_array_type_matches_arrays_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_request_body.md index ec299ded60d..960cae22194 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), bool] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_boolean_type_matches_booleans_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_response_body_for_content_types.md index b867c37c032..58bb8ebf6c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_boolean_type_matches_booleans_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool, | BoolClass, | +[BooleanTypeMatchesBooleans](../../../components/schema/boolean_type_matches_booleans.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_boolean_type_matches_booleans_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_request_body.md index 923963f7142..1dc2130d07f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_integer_type_matches_integers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_response_body_for_content_types.md index eec41b8fed0..501c06fdb32 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_integer_type_matches_integers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int, | decimal.Decimal, | +[IntegerTypeMatchesIntegers](../../../components/schema/integer_type_matches_integers.md) | decimal.Decimal, int | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_integer_type_matches_integers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_request_body.md index dbf5b40c467..55a6baf025a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), None] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_null_type_matches_only_the_null_object_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md index 7e55be18b5d..b7191ab13fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_null_type_matches_only_the_null_object_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None, | NoneClass, | +[NullTypeMatchesOnlyTheNullObject](../../../components/schema/null_type_matches_only_the_null_object.md) | None | NoneClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_null_type_matches_only_the_null_object_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_request_body.md index c4594ae9659..5d2a24c4812 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), decimal.Decimal, int, float] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_number_type_matches_numbers_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_response_body_for_content_types.md index 1b3780cc439..a40a4f170ad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_number_type_matches_numbers_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberTypeMatchesNumbers](../../../components/schema/number_type_matches_numbers.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_number_type_matches_numbers_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_request_body.md index 7d9ffb6bc81..36c42940884 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_object_type_matches_objects_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_response_body_for_content_types.md index abc99d5d0c4..eb20565f907 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_object_type_matches_objects_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectTypeMatchesObjects](../../../components/schema/object_type_matches_objects.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_object_type_matches_objects_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_request_body.md index 2194f9b8cfe..6719fe3e98b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), str] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_string_type_matches_strings_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_response_body_for_content_types.md index 3bc1c3d8af9..f6351fc6a40 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/type_api/post_string_type_matches_strings_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str, | str, | +[StringTypeMatchesStrings](../../../components/schema/string_type_matches_strings.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling TypeApi->post_string_type_matches_strings_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../TypeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../type_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_request_body.md index 2f01a761e86..ef70fbb06bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling UniqueItemsApi->post_uniqueitems_false_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UniqueItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../unique_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_response_body_for_content_types.md index adc9787b161..2d567d9abdf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_false_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsFalseValidation](../../../components/schema/uniqueitems_false_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling UniqueItemsApi->post_uniqueitems_false_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UniqueItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../unique_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_request_body.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_request_body.md index 93dfda40cd5..80082085dad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_request_body.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_request_body.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -95,4 +95,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling UniqueItemsApi->post_uniqueitems_validation_request_body: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UniqueItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../unique_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_response_body_for_content_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_response_body_for_content_types.md index 27ab246e680..5ab63aa0159 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_response_body_for_content_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/unique_items_api/post_uniqueitems_validation_response_body_for_content_types.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -40,10 +40,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -54,13 +54,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[UniqueitemsValidation](../../../components/schema/uniqueitems_validation.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = https://someserver.com/v1 @@ -90,4 +90,4 @@ with unit_test_api.ApiClient(used_configuration) as api_client: print("Exception when calling UniqueItemsApi->post_uniqueitems_validation_response_body_for_content_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UniqueItemsApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../unique_items_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/_not.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/_not.md index b6d202ff468..ba7f83e0f06 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/_not.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/_not.md @@ -4,19 +4,19 @@ unit_test_api.components.schema._not ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## not Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_not](#_not) | decimal.Decimal, int, | decimal.Decimal, | | +[_not](#_not) | decimal.Decimal, int | decimal.Decimal | | # _Not ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | +decimal.Decimal, int | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.md index 90fdb7d8cdf..9306b55b379 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.md @@ -4,13 +4,13 @@ unit_test_api.components.schema.additionalproperties_allows_a_schema_which_shoul ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] -**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] -**any_string_name** | bool, | BoolClass, | any string name can be used but the value must be the correct type | [optional] +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] +**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] +**any_string_name** | bool | BoolClass | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_are_allowed_by_default.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_are_allowed_by_default.md index ef5127f9c14..b24c85e46e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_are_allowed_by_default.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_are_allowed_by_default.md @@ -4,13 +4,13 @@ unit_test_api.components.schema.additionalproperties_are_allowed_by_default ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] -**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] +**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_can_exist_by_itself.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_can_exist_by_itself.md index 98c519b2631..7cf722be59f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_can_exist_by_itself.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_can_exist_by_itself.md @@ -4,11 +4,11 @@ unit_test_api.components.schema.additionalproperties_can_exist_by_itself ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | bool, | BoolClass, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | bool | BoolClass | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_should_not_look_in_applicators.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_should_not_look_in_applicators.md index 3208c6ef5bb..8b8e37beafa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_should_not_look_in_applicators.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_should_not_look_in_applicators.md @@ -4,30 +4,30 @@ unit_test_api.components.schema.additionalproperties_should_not_look_in_applicat ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | bool, | BoolClass, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | bool | BoolClass | any string name can be used but the value must be the correct type | [optional] ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof.md index ddbc63b5243..67dd2c51733 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof.md @@ -4,26 +4,26 @@ unit_test_api.components.schema.allof ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | decimal.Decimal, int, | decimal.Decimal, | | +**bar** | decimal.Decimal, int | decimal.Decimal | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # allof _1 @@ -31,12 +31,12 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | str, | str, | | +**foo** | str | str | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_combined_with_anyof_oneof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_combined_with_anyof_oneof.md index 1bddfa51c88..f4b70e3d923 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_combined_with_anyof_oneof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_combined_with_anyof_oneof.md @@ -4,41 +4,41 @@ unit_test_api.components.schema.allof_combined_with_anyof_oneof ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_simple_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_simple_types.md index 4ac9be03f46..dbbbd0a04a2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_simple_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_simple_types.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.allof_simple_types ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.md index 9c954b7e272..4c60cf6b655 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.md @@ -4,32 +4,32 @@ unit_test_api.components.schema.allof_with_base_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | decimal.Decimal, int, | decimal.Decimal, | | +**bar** | decimal.Decimal, int | decimal.Decimal | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | str, | str, | | +**foo** | str | str | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # allof _1 @@ -37,12 +37,12 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**baz** | None, | NoneClass, | | +**baz** | None | NoneClass | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_one_empty_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_one_empty_schema.md index 9d36d0114e8..c9edfc21dfe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_one_empty_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_one_empty_schema.md @@ -4,19 +4,19 @@ unit_test_api.components.schema.allof_with_one_empty_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_first_empty_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_first_empty_schema.md index fb1a7b07308..9cd6bd9b5de 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_first_empty_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_first_empty_schema.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.allof_with_the_first_empty_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#allof-_1) | decimal.Decimal, int, float, | decimal.Decimal, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#allof-_1) | decimal.Decimal, int, float | decimal.Decimal | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_last_empty_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_last_empty_schema.md index deb017bd948..b7e5e730859 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_last_empty_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_last_empty_schema.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.allof_with_the_last_empty_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | decimal.Decimal, int, float, | decimal.Decimal, | | -[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | decimal.Decimal, int, float | decimal.Decimal | | +[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_two_empty_schemas.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_two_empty_schemas.md index 6f0dbb42f1c..80969d62e56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_two_empty_schemas.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_two_empty_schemas.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.allof_with_two_empty_schemas ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#allof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof.md index fa8f2b04277..a49c986df1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.anyof ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0) | decimal.Decimal, int, | decimal.Decimal, | | -[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#anyof-_0) | decimal.Decimal, int | decimal.Decimal | | +[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | +decimal.Decimal, int | decimal.Decimal | | # anyof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.md index db40e11b526..7224c5e75e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.md @@ -4,26 +4,26 @@ unit_test_api.components.schema.anyof_complex_types ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | decimal.Decimal, int, | decimal.Decimal, | | +**bar** | decimal.Decimal, int | decimal.Decimal | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # anyof _1 @@ -31,12 +31,12 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | str, | str, | | +**foo** | str | str | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_base_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_base_schema.md index 7b34570e811..abb9b870ab5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_base_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_base_schema.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.anyof_with_base_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_one_empty_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_one_empty_schema.md index 837fc8654b1..5ba8b01be39 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_one_empty_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_one_empty_schema.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.anyof_with_one_empty_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0) | decimal.Decimal, int, float, | decimal.Decimal, | | -[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#anyof-_0) | decimal.Decimal, int, float | decimal.Decimal | | +[_1](#anyof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | # anyof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/array_type_matches_arrays.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/array_type_matches_arrays.md index d2b6d53d34c..cd903cafdf8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/array_type_matches_arrays.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/array_type_matches_arrays.md @@ -4,11 +4,11 @@ unit_test_api.components.schema.array_type_matches_arrays ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/boolean_type_matches_booleans.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/boolean_type_matches_booleans.md index a80c816874e..7c49847d1ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/boolean_type_matches_booleans.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/boolean_type_matches_booleans.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.boolean_type_matches_booleans ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bool, | BoolClass, | | +bool | BoolClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_int.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_int.md index e83dcb82862..12fc6d819d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_int.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_int.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.by_int ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_number.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_number.md index 9aac970dcd8..aa7a75107c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_number.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_number.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.by_number ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_small_number.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_small_number.md index edc1156bef7..ae25d634ca2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_small_number.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_small_number.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.by_small_number ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/date_time_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/date_time_format.md index 6040939fad2..4740b03b693 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/date_time_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/date_time_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.date_time_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | value must conform to RFC-3339 date-time +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | value must conform to RFC-3339 date-time [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/email_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/email_format.md index 4d29c61a924..33d665f286a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/email_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/email_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.email_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with0_does_not_match_false.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with0_does_not_match_false.md index ff2b743bdcd..265e832700c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with0_does_not_match_false.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with0_does_not_match_false.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.enum_with0_does_not_match_false ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | must be one of [0, ] +decimal.Decimal, int, float | decimal.Decimal | | must be one of [0] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with1_does_not_match_true.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with1_does_not_match_true.md index 5e0e9fd5952..2a96bb74bf0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with1_does_not_match_true.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with1_does_not_match_true.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.enum_with1_does_not_match_true ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | must be one of [1, ] +decimal.Decimal, int, float | decimal.Decimal | | must be one of [1] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_escaped_characters.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_escaped_characters.md index c9b096473bf..bde7746d5ff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_escaped_characters.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_escaped_characters.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.enum_with_escaped_characters ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["foo\nbar", "foo\rbar", ] +str | str | | must be one of ["foo\nbar", "foo\rbar"] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_false_does_not_match0.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_false_does_not_match0.md index a2516d87ff2..e92a5782eb0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_false_does_not_match0.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_false_does_not_match0.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.enum_with_false_does_not_match0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bool, | BoolClass, | | must be one of [False, ] +bool | BoolClass | | must be one of [False] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_true_does_not_match1.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_true_does_not_match1.md index 0a2322a41e1..41c2f18a9bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_true_does_not_match1.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_true_does_not_match1.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.enum_with_true_does_not_match1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bool, | BoolClass, | | must be one of [True, ] +bool | BoolClass | | must be one of [True] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.md index 718924be86b..fb9c8c7685e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.md @@ -4,13 +4,13 @@ unit_test_api.components.schema.enums_in_properties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | str, | str, | | must be one of ["bar", ] -**foo** | str, | str, | | [optional] must be one of ["foo", ] +**bar** | str | str | | must be one of ["bar"] +**foo** | str | str | | [optional] must be one of ["foo"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.md index bc4d50bad3c..87a4c912359 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.md @@ -4,12 +4,12 @@ unit_test_api.components.schema.forbidden_property ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, [properties.Foo](#properties-foo) | | [optional] +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [properties.Foo](#properties-foo) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties Foo @@ -17,19 +17,19 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## not Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_not](#properties-foo-_not) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_not](#properties-foo-_not) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # properties Foo _Not ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/hostname_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/hostname_format.md index 13811da8443..5b709dc9a79 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/hostname_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/hostname_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.hostname_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/integer_type_matches_integers.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/integer_type_matches_integers.md index 46b64cd37ae..38f14cbd68c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/integer_type_matches_integers.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/integer_type_matches_integers.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.integer_type_matches_integers ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | +decimal.Decimal, int | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md index 7c673e67aca..5f566442369 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_flo ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | +decimal.Decimal, int | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.md index da90fdd000d..be79bde96fd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.md @@ -4,12 +4,12 @@ unit_test_api.components.schema.invalid_string_value_for_default ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | str, | str, | | [optional] if omitted the server will use the default value of bad +**bar** | str | str | | [optional] if omitted the server will use the default value of bad **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv4_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv4_format.md index 38814d37ead..d2accca6579 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv4_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv4_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.ipv4_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv6_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv6_format.md index 9b7845bccd9..e76a722a6f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv6_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv6_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.ipv6_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/json_pointer_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/json_pointer_format.md index 9c617e5e4ab..7d6c3715a9f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/json_pointer_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/json_pointer_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.json_pointer_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation.md index a4ba00179e0..be2e9db2029 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.maximum_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation_with_unsigned_integer.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation_with_unsigned_integer.md index 108e4696649..96b2694fcd7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation_with_unsigned_integer.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation_with_unsigned_integer.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.maximum_validation_with_unsigned_integer ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxitems_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxitems_validation.md index 517b584c541..ae856a23665 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxitems_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxitems_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.maxitems_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxlength_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxlength_validation.md index 0cad35f42e0..a7d3cbf4810 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxlength_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxlength_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.maxlength_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties0_means_the_object_is_empty.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties0_means_the_object_is_empty.md index ab71d6d62d7..97bc3d5a312 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties0_means_the_object_is_empty.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties0_means_the_object_is_empty.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.maxproperties0_means_the_object_is_empty ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties_validation.md index 787fba876ac..2863d84fbd7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.maxproperties_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation.md index feb61c888db..d6928256ff0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.minimum_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation_with_signed_integer.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation_with_signed_integer.md index 4e65bfc6344..c337924a236 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation_with_signed_integer.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation_with_signed_integer.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.minimum_validation_with_signed_integer ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minitems_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minitems_validation.md index 4e141dac84e..1c5e6b7fae5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minitems_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minitems_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.minitems_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minlength_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minlength_validation.md index 79ba1ab9da3..3c34251e2d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minlength_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minlength_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.minlength_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minproperties_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minproperties_validation.md index 6976b5b38c7..b7a9b99c570 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minproperties_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minproperties_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.minproperties_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_allof_to_check_validation_semantics.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_allof_to_check_validation_semantics.md index 92e9d19ab6b..4d3961f1e29 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_allof_to_check_validation_semantics.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_allof_to_check_validation_semantics.md @@ -4,32 +4,32 @@ unit_test_api.components.schema.nested_allof_to_check_validation_semantics ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0-allof-_0) | None, | NoneClass, | | +[_0](#allof-_0-allof-_0) | None | NoneClass | | # allof _0 allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_anyof_to_check_validation_semantics.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_anyof_to_check_validation_semantics.md index d1fd24f6cfe..d3a97d0066c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_anyof_to_check_validation_semantics.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_anyof_to_check_validation_semantics.md @@ -4,32 +4,32 @@ unit_test_api.components.schema.nested_anyof_to_check_validation_semantics ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#anyof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0-anyof-_0) | None, | NoneClass, | | +[_0](#anyof-_0-anyof-_0) | None | NoneClass | | # anyof _0 anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_items.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_items.md index f70a933ffb4..59b1e59a269 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_items.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_items.md @@ -4,47 +4,47 @@ unit_test_api.components.schema.nested_items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | list, tuple, | tuple, | | +[items](#items) | list, tuple | tuple | | # Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#items-items) | list, tuple, | tuple, | | +[items](#items-items) | list, tuple | tuple | | # Items Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#items-items-items) | list, tuple, | tuple, | | +[items](#items-items-items) | list, tuple | tuple | | # Items Items Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, float, | decimal.Decimal, | | +items | decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_oneof_to_check_validation_semantics.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_oneof_to_check_validation_semantics.md index 813f467081e..5e43550dd9a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_oneof_to_check_validation_semantics.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_oneof_to_check_validation_semantics.md @@ -4,32 +4,32 @@ unit_test_api.components.schema.nested_oneof_to_check_validation_semantics ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0-oneof-_0) | None, | NoneClass, | | +[_0](#oneof-_0-oneof-_0) | None | NoneClass | | # oneof _0 oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.md index 5e3f21bd3f3..0df6fc56941 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.md @@ -4,25 +4,25 @@ unit_test_api.components.schema.not_more_complex_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## not Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_not](#_not) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_not](#_not) | dict, frozendict.frozendict | frozendict.frozendict | | # _Not ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | str, | str, | | [optional] +**foo** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nul_characters_in_strings.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nul_characters_in_strings.md index 4d972b14cdb..e6070446d19 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nul_characters_in_strings.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nul_characters_in_strings.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.nul_characters_in_strings ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["hello\x00there", ] +str | str | | must be one of ["hello\x00there"] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/null_type_matches_only_the_null_object.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/null_type_matches_only_the_null_object.md index 30e1cb223b8..4fe05ad72bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/null_type_matches_only_the_null_object.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/null_type_matches_only_the_null_object.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.null_type_matches_only_the_null_object ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/number_type_matches_numbers.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/number_type_matches_numbers.md index 081024cb1ff..9a9dfba239c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/number_type_matches_numbers.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/number_type_matches_numbers.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.number_type_matches_numbers ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_properties_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_properties_validation.md index d4f6d159328..011d45bca13 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_properties_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_properties_validation.md @@ -4,13 +4,13 @@ unit_test_api.components.schema.object_properties_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | decimal.Decimal, int, | decimal.Decimal, | | [optional] -**bar** | str, | str, | | [optional] +**foo** | decimal.Decimal, int | decimal.Decimal | | [optional] +**bar** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_type_matches_objects.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_type_matches_objects.md index bc79689ad11..f5e472739df 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_type_matches_objects.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_type_matches_objects.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.object_type_matches_objects ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof.md index 05c951e65a1..dc2b9d4d947 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.oneof ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | decimal.Decimal, int, | decimal.Decimal, | | -[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#oneof-_0) | decimal.Decimal, int | decimal.Decimal | | +[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | +decimal.Decimal, int | decimal.Decimal | | # oneof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.md index ac9f579ef5c..d767d6b83cb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.md @@ -4,26 +4,26 @@ unit_test_api.components.schema.oneof_complex_types ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | decimal.Decimal, int, | decimal.Decimal, | | +**bar** | decimal.Decimal, int | decimal.Decimal | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # oneof _1 @@ -31,12 +31,12 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | str, | str, | | +**foo** | str | str | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_base_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_base_schema.md index 0153951d786..224ca5ca36b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_base_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_base_schema.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.oneof_with_base_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_empty_schema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_empty_schema.md index 287fd475731..d91e44deb52 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_empty_schema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_empty_schema.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.oneof_with_empty_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | decimal.Decimal, int, float, | decimal.Decimal, | | -[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#oneof-_0) | decimal.Decimal, int, float | decimal.Decimal | | +[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | # oneof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.md index 6412c3d2804..a35a8dcea62 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.md @@ -4,27 +4,27 @@ unit_test_api.components.schema.oneof_with_required ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#oneof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +[_1](#oneof-_1) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # oneof _1 @@ -32,13 +32,13 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**baz** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +**baz** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_is_not_anchored.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_is_not_anchored.md index cbfc0137e85..638642b3f2f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_is_not_anchored.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_is_not_anchored.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.pattern_is_not_anchored ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_validation.md index 80fed893159..faae41b0d87 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.pattern_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/properties_with_escaped_characters.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/properties_with_escaped_characters.md index 0f4dfe7ff66..d9f8216acb0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/properties_with_escaped_characters.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/properties_with_escaped_characters.md @@ -4,17 +4,17 @@ unit_test_api.components.schema.properties_with_escaped_characters ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo\nbar** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] -**foo\"bar** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] -**foo\\bar** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] -**foo\rbar** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] -**foo\tbar** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] -**foo\fbar** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] +**foo\nbar** | decimal.Decimal, int, float | decimal.Decimal | | [optional] +**foo\"bar** | decimal.Decimal, int, float | decimal.Decimal | | [optional] +**foo\\bar** | decimal.Decimal, int, float | decimal.Decimal | | [optional] +**foo\rbar** | decimal.Decimal, int, float | decimal.Decimal | | [optional] +**foo\tbar** | decimal.Decimal, int, float | decimal.Decimal | | [optional] +**foo\fbar** | decimal.Decimal, int, float | decimal.Decimal | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/property_named_ref_that_is_not_a_reference.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/property_named_ref_that_is_not_a_reference.md index 155332c6774..0b81378f2bf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/property_named_ref_that_is_not_a_reference.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/property_named_ref_that_is_not_a_reference.md @@ -4,12 +4,12 @@ unit_test_api.components.schema.property_named_ref_that_is_not_a_reference ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**$ref** | str, | str, | | [optional] +**$ref** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_additionalproperties.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_additionalproperties.md index e1b3b4761e7..cd0c5f44c11 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_additionalproperties.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_additionalproperties.md @@ -4,11 +4,11 @@ unit_test_api.components.schema.ref_in_additionalproperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md) | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_allof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_allof.md index 7c384f44d0e..aca95db4a6a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_allof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_allof.md @@ -4,7 +4,7 @@ unit_test_api.components.schema.ref_in_allof ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_anyof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_anyof.md index 1458e627fd3..70ebc21c954 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_anyof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_anyof.md @@ -4,7 +4,7 @@ unit_test_api.components.schema.ref_in_anyof ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_items.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_items.md index cd477ee2e70..a7d66165332 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_items.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_items.md @@ -4,7 +4,7 @@ unit_test_api.components.schema.ref_in_items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_not.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_not.md index afa92d8a485..33a1b31f650 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_not.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_not.md @@ -4,7 +4,7 @@ unit_test_api.components.schema.ref_in_not ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## not diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_oneof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_oneof.md index c2c2ccca471..7241f9a3abb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_oneof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_oneof.md @@ -4,7 +4,7 @@ unit_test_api.components.schema.ref_in_oneof ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_property.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_property.md index c44de0dad30..48579de62c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_property.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_property.md @@ -4,12 +4,12 @@ unit_test_api.components.schema.ref_in_property ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**a** | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md) | | [optional] +**a** | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_default_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_default_validation.md index fb1d4e4a658..51492fc4559 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_default_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_default_validation.md @@ -4,12 +4,12 @@ unit_test_api.components.schema.required_default_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_validation.md index 72b62efa950..362fa85e514 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_validation.md @@ -4,13 +4,13 @@ unit_test_api.components.schema.required_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_empty_array.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_empty_array.md index 67e19c6d266..190b2a3dbf4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_empty_array.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_empty_array.md @@ -4,12 +4,12 @@ unit_test_api.components.schema.required_with_empty_array ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] +**foo** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_escaped_characters.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_escaped_characters.md index 59b14b248ad..a304f9f0198 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_escaped_characters.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_escaped_characters.md @@ -4,17 +4,17 @@ unit_test_api.components.schema.required_with_escaped_characters ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**foo\tbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**foo\nbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**foo\fbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**foo\rbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**foo\"bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**foo\\bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +**foo\tbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**foo\nbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**foo\fbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**foo\rbar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**foo\"bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**foo\\bar** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/simple_enum_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/simple_enum_validation.md index 5f661cfecf4..03cd362a337 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/simple_enum_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/simple_enum_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.simple_enum_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | must be one of [1, 2, 3, ] +decimal.Decimal, int, float | decimal.Decimal | | must be one of [1, 2, 3] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/string_type_matches_strings.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/string_type_matches_strings.md index e00814fb128..f9412fa23d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/string_type_matches_strings.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/string_type_matches_strings.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.string_type_matches_strings ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md index 8c63c1f4539..d656e83ec17 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.md @@ -4,12 +4,12 @@ unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_ ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**alpha** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] if omitted the server will use the default value of 5 +**alpha** | decimal.Decimal, int, float | decimal.Decimal | | [optional] if omitted the server will use the default value of 5 **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_false_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_false_validation.md index c9b77614720..352ea5fe25d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_false_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_false_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.uniqueitems_false_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_validation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_validation.md index 4720cea72df..47658642cda 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_validation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_validation.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.uniqueitems_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_format.md index e3efe0ca556..6d63b58d291 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.uri_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_reference_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_reference_format.md index b79c4790a09..a77caf9fe2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_reference_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_reference_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.uri_reference_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_template_format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_template_format.md index d5f6a09e5ea..4f536992dfc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_template_format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_template_format.md @@ -4,6 +4,6 @@ unit_test_api.components.schema.uri_template_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.py index 5cec4155019..a2ff1696759 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.pyi index 5cec4155019..a2ff1696759 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/_not.pyi @@ -40,7 +40,7 @@ class _Not( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Not': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py index 13ab162ed5b..dbcbef81c8d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py @@ -86,11 +86,11 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi index fea4af7b6ce..102db4ad6aa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.pyi @@ -85,11 +85,11 @@ class AdditionalpropertiesAllowsASchemaWhichShouldValidate( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'AdditionalpropertiesAllowsASchemaWhichShouldValidate': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py index 70b54a7d04f..4255c658ed7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py @@ -86,7 +86,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi index 70b54a7d04f..4255c658ed7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.pyi @@ -86,7 +86,7 @@ class AdditionalpropertiesAreAllowedByDefault( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py index d130dcbda92..b0d25ceb008 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.py @@ -46,9 +46,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi index 740c7c2f0b0..85f6e4ddaa9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_can_exist_by_itself.pyi @@ -45,9 +45,9 @@ class AdditionalpropertiesCanExistByItself( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'AdditionalpropertiesCanExistByItself': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py index 5c82abf5cc1..d8dd920c99b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py @@ -88,7 +88,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -114,9 +114,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi index 5c82abf5cc1..d8dd920c99b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.pyi @@ -88,7 +88,7 @@ class AdditionalpropertiesShouldNotLookInApplicators( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -114,9 +114,9 @@ class AdditionalpropertiesShouldNotLookInApplicators( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'AdditionalpropertiesShouldNotLookInApplicators': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.py index c9bca64bd43..5696d7f17a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.py @@ -92,7 +92,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -157,7 +157,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -175,7 +175,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Allof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.pyi index c9bca64bd43..5696d7f17a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof.pyi @@ -92,7 +92,7 @@ class Allof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -157,7 +157,7 @@ class Allof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -175,7 +175,7 @@ class Allof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Allof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py index 4cf67297c16..f7c4ee6906a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.py @@ -51,7 +51,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -80,7 +80,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -109,7 +109,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -126,7 +126,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofCombinedWithAnyofOneof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi index 96ac3cbfbf3..c441e8ffe1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_combined_with_anyof_oneof.pyi @@ -50,7 +50,7 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -78,7 +78,7 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -106,7 +106,7 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -123,7 +123,7 @@ class AllofCombinedWithAnyofOneof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofCombinedWithAnyofOneof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.py index ccbf57c89b6..e11a1bf0b3e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.py @@ -51,7 +51,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -75,7 +75,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -93,7 +93,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofSimpleTypes': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.pyi index 2d51ee100cc..fb5bfe50b26 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_simple_types.pyi @@ -50,7 +50,7 @@ class AllofSimpleTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -73,7 +73,7 @@ class AllofSimpleTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -91,7 +91,7 @@ class AllofSimpleTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofSimpleTypes': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.py index 4c25791543b..e5ce6cab51a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.py @@ -101,7 +101,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -166,7 +166,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -217,7 +217,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.pyi index 4c25791543b..e5ce6cab51a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_base_schema.pyi @@ -101,7 +101,7 @@ class AllofWithBaseSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -166,7 +166,7 @@ class AllofWithBaseSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -217,7 +217,7 @@ class AllofWithBaseSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithBaseSchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.py index 3f6e699c9ee..31a5842dfa1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.py @@ -45,7 +45,7 @@ class AllOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithOneEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.pyi index 3f6e699c9ee..31a5842dfa1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_one_empty_schema.pyi @@ -45,7 +45,7 @@ class AllofWithOneEmptySchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithOneEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.py index d91c17552a0..aa8c069d9e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheFirstEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi index d91c17552a0..aa8c069d9e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_first_empty_schema.pyi @@ -47,7 +47,7 @@ class AllofWithTheFirstEmptySchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheFirstEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.py index b7493dcc0c3..46ced0275a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheLastEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi index b7493dcc0c3..46ced0275a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_the_last_empty_schema.pyi @@ -47,7 +47,7 @@ class AllofWithTheLastEmptySchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTheLastEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.py index 9f964ec037a..19cba0180c7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTwoEmptySchemas': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi index 9f964ec037a..19cba0180c7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/allof_with_two_empty_schemas.pyi @@ -47,7 +47,7 @@ class AllofWithTwoEmptySchemas( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AllofWithTwoEmptySchemas': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.py index 10d0198d0e3..6f9a1793260 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.py @@ -52,7 +52,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -70,7 +70,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Anyof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.pyi index bc7927bd1cd..e43d94dc961 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof.pyi @@ -51,7 +51,7 @@ class Anyof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -69,7 +69,7 @@ class Anyof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Anyof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.py index c5a6d4be617..449e626f547 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.py @@ -92,7 +92,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -157,7 +157,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -175,7 +175,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofComplexTypes': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.pyi index c5a6d4be617..449e626f547 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_complex_types.pyi @@ -92,7 +92,7 @@ class AnyofComplexTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -157,7 +157,7 @@ class AnyofComplexTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -175,7 +175,7 @@ class AnyofComplexTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofComplexTypes': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.py index ce04c060411..a76c3900698 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.py @@ -53,7 +53,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -77,7 +77,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -95,7 +95,7 @@ def __new__( def __new__( cls, - arg_: str, + arg_: str, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'AnyofWithBaseSchema': return super().__new__( diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.pyi index 17eb60df922..7abfbc39cdd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_base_schema.pyi @@ -52,7 +52,7 @@ class AnyofWithBaseSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -75,7 +75,7 @@ class AnyofWithBaseSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -93,7 +93,7 @@ class AnyofWithBaseSchema( def __new__( cls, - arg_: str, + arg_: str, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'AnyofWithBaseSchema': return super().__new__( diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.py index aa412961f6c..d7acc797edc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.py @@ -47,7 +47,7 @@ class AnyOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofWithOneEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi index aa412961f6c..d7acc797edc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/anyof_with_one_empty_schema.pyi @@ -47,7 +47,7 @@ class AnyofWithOneEmptySchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyofWithOneEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.py index e606857a077..518bfcc9b20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.py @@ -41,10 +41,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.pyi index e606857a077..518bfcc9b20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/array_type_matches_arrays.pyi @@ -41,10 +41,10 @@ class ArrayTypeMatchesArrays( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.py index 94d55f55628..0eadb22f79c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByInt': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.pyi index 9db0af14555..44fca686d91 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_int.pyi @@ -39,7 +39,7 @@ class ByInt( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByInt': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.py index 75f1456ac98..13e07d9cdbf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByNumber': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.pyi index a8fe080c638..59cb0a1e8e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_number.pyi @@ -39,7 +39,7 @@ class ByNumber( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ByNumber': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.py index d35e70fa5ed..d02973bef5c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BySmallNumber': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.pyi index 1a28216d3d3..37215928e13 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/by_small_number.pyi @@ -39,7 +39,7 @@ class BySmallNumber( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BySmallNumber': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.py index b2eacbc6d1d..535365bcfed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.py @@ -41,7 +41,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTimeFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.pyi index b2eacbc6d1d..535365bcfed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/date_time_format.pyi @@ -41,7 +41,7 @@ class DateTimeFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTimeFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.py index 72dd449eaa6..70b9da8d697 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EmailFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.pyi index 72dd449eaa6..70b9da8d697 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/email_format.pyi @@ -40,7 +40,7 @@ class EmailFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EmailFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.py index 0f27114910f..f95a658bc80 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.py @@ -124,8 +124,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[Schema_.Properties.Bar, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + bar: typing.Union[Schema_.Properties.Bar, str], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.pyi index fa4abd1789e..0c224934a06 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.pyi @@ -105,8 +105,8 @@ class EnumsInProperties( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union[Schema_.Properties.Bar, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + bar: typing.Union[Schema_.Properties.Bar, str], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.py index 644073ab40d..dc14bded746 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.py @@ -76,7 +76,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.pyi index 644073ab40d..dc14bded746 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.pyi @@ -76,7 +76,7 @@ class ForbiddenProperty( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.py index 7692ddd7f90..eb162ac4f87 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HostnameFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.pyi index 7692ddd7f90..eb162ac4f87 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/hostname_format.pyi @@ -40,7 +40,7 @@ class HostnameFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'HostnameFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.py index 888535d4483..4f61dda6020 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.py @@ -88,7 +88,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.pyi index 377c87e5587..9033d501cae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.pyi @@ -81,7 +81,7 @@ class InvalidStringValueForDefault( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.py index f8781f92461..ac05443f7b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv4Format': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.pyi index f8781f92461..ac05443f7b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv4_format.pyi @@ -40,7 +40,7 @@ class Ipv4Format( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv4Format': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.py index 9af9c5cbb7f..1756857457a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv6Format': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.pyi index 9af9c5cbb7f..1756857457a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ipv6_format.pyi @@ -40,7 +40,7 @@ class Ipv6Format( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Ipv6Format': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.py index 183d68a0e26..1875025048c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'JsonPointerFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.pyi index 183d68a0e26..1875025048c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/json_pointer_format.pyi @@ -40,7 +40,7 @@ class JsonPointerFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'JsonPointerFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.py index 2e897578ac6..8bf14184866 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.pyi index 59dc85e7f94..93fc8d4b00e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation.pyi @@ -39,7 +39,7 @@ class MaximumValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py index c20218af9ac..c0f5128fa43 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidationWithUnsignedInteger': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi index f68a4172750..c2805c7d998 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maximum_validation_with_unsigned_integer.pyi @@ -39,7 +39,7 @@ class MaximumValidationWithUnsignedInteger( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaximumValidationWithUnsignedInteger': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.py index 54c8d07379f..ba4e705e5e3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxitemsValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.pyi index c4ca075260d..b0eaababc6a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxitems_validation.pyi @@ -39,7 +39,7 @@ class MaxitemsValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxitemsValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.py index f79f0e4f805..ceefcc85c75 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxlengthValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.pyi index 44d35995123..3e7c5640cd8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxlength_validation.pyi @@ -39,7 +39,7 @@ class MaxlengthValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxlengthValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py index dad25c769c3..6168e5efa6c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Maxproperties0MeansTheObjectIsEmpty': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi index 2b0367ada15..8e098a452f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties0_means_the_object_is_empty.pyi @@ -39,7 +39,7 @@ class Maxproperties0MeansTheObjectIsEmpty( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Maxproperties0MeansTheObjectIsEmpty': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.py index 82c07359d8f..18fbf634fd3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxpropertiesValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.pyi index cd4f0fb4707..ab5d3950954 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/maxproperties_validation.pyi @@ -39,7 +39,7 @@ class MaxpropertiesValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MaxpropertiesValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.py index 2075806e3c8..6cf38b9077b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.pyi index d319c310acd..ffebcf9d0ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation.pyi @@ -39,7 +39,7 @@ class MinimumValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.py index a8a501ecc46..c6983336d29 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidationWithSignedInteger': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi index cae6d135421..e32ad223074 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minimum_validation_with_signed_integer.pyi @@ -39,7 +39,7 @@ class MinimumValidationWithSignedInteger( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinimumValidationWithSignedInteger': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.py index 0710c342efb..07884cfbda7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinitemsValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.pyi index 718d64025b4..fa8a2d1ef2f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minitems_validation.pyi @@ -39,7 +39,7 @@ class MinitemsValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinitemsValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.py index 4cf574bd325..5e0ef67823e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinlengthValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.pyi index 5cc76eca618..0de37460a37 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minlength_validation.pyi @@ -39,7 +39,7 @@ class MinlengthValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinlengthValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.py index 847e3e5c107..0127b6a27dc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinpropertiesValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.pyi index b680e74433a..c5a120d4644 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/minproperties_validation.pyi @@ -39,7 +39,7 @@ class MinpropertiesValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MinpropertiesValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py index c6c41a48ff2..68b4cbc1db5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.py @@ -56,7 +56,7 @@ class AllOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -73,7 +73,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAllofToCheckValidationSemantics': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi index c6c41a48ff2..68b4cbc1db5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_allof_to_check_validation_semantics.pyi @@ -56,7 +56,7 @@ class NestedAllofToCheckValidationSemantics( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -73,7 +73,7 @@ class NestedAllofToCheckValidationSemantics( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAllofToCheckValidationSemantics': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py index 24f56df5489..b7d737a7027 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.py @@ -56,7 +56,7 @@ class AnyOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -73,7 +73,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAnyofToCheckValidationSemantics': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi index 24f56df5489..b7d737a7027 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_anyof_to_check_validation_semantics.pyi @@ -56,7 +56,7 @@ class NestedAnyofToCheckValidationSemantics( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -73,7 +73,7 @@ class NestedAnyofToCheckValidationSemantics( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedAnyofToCheckValidationSemantics': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.py index f547a0228dd..321b81015fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.py @@ -68,10 +68,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -89,10 +89,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -110,10 +110,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -131,10 +131,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.pyi index f547a0228dd..321b81015fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_items.pyi @@ -68,10 +68,10 @@ class NestedItems( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -89,10 +89,10 @@ class NestedItems( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -110,10 +110,10 @@ class NestedItems( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -131,10 +131,10 @@ class NestedItems( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py index bd17412d333..d9d3d1330b9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.py @@ -56,7 +56,7 @@ class OneOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -73,7 +73,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedOneofToCheckValidationSemantics': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi index bd17412d333..d9d3d1330b9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/nested_oneof_to_check_validation_semantics.pyi @@ -56,7 +56,7 @@ class NestedOneofToCheckValidationSemantics( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -73,7 +73,7 @@ class NestedOneofToCheckValidationSemantics( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NestedOneofToCheckValidationSemantics': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.py index 71564c18bc8..80564a6959c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.py @@ -84,7 +84,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -100,7 +100,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NotMoreComplexSchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.pyi index d797b395047..a5d5fabf1d3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.pyi @@ -83,7 +83,7 @@ class NotMoreComplexSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -99,7 +99,7 @@ class NotMoreComplexSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NotMoreComplexSchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.py index ffffdd98a95..9a60dd1b62d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.py @@ -86,7 +86,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.pyi index ffffdd98a95..9a60dd1b62d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.pyi @@ -86,7 +86,7 @@ class ObjectPropertiesValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, decimal.Decimal, int, schemas.Unset] = schemas.unset, bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.py index 9abf8f94991..62cfb859c9d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.py @@ -52,7 +52,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -70,7 +70,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Oneof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.pyi index 99b8085d42b..802786d438d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof.pyi @@ -51,7 +51,7 @@ class Oneof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -69,7 +69,7 @@ class Oneof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Oneof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.py index fd7550bb83c..b89a8ab65cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.py @@ -92,7 +92,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -157,7 +157,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -175,7 +175,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofComplexTypes': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.pyi index fd7550bb83c..b89a8ab65cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_complex_types.pyi @@ -92,7 +92,7 @@ class OneofComplexTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -157,7 +157,7 @@ class OneofComplexTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -175,7 +175,7 @@ class OneofComplexTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofComplexTypes': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.py index 44a29c3da7d..7df93e9b55e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.py @@ -53,7 +53,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -77,7 +77,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -95,7 +95,7 @@ def __new__( def __new__( cls, - arg_: str, + arg_: str, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'OneofWithBaseSchema': return super().__new__( diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.pyi index 404bad54348..36589364e38 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_base_schema.pyi @@ -52,7 +52,7 @@ class OneofWithBaseSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -75,7 +75,7 @@ class OneofWithBaseSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -93,7 +93,7 @@ class OneofWithBaseSchema( def __new__( cls, - arg_: str, + arg_: str, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'OneofWithBaseSchema': return super().__new__( diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.py index 93dfe29b3f2..c4478118aae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.py @@ -47,7 +47,7 @@ class OneOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.pyi index 93dfe29b3f2..c4478118aae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_empty_schema.pyi @@ -47,7 +47,7 @@ class OneofWithEmptySchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithEmptySchema': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.py index c2bf54b68a1..f7d7becbf8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.py @@ -98,7 +98,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -167,7 +167,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -185,7 +185,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithRequired': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.pyi index c2bf54b68a1..f7d7becbf8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/oneof_with_required.pyi @@ -98,7 +98,7 @@ class OneofWithRequired( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_0': @@ -167,7 +167,7 @@ class OneofWithRequired( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -185,7 +185,7 @@ class OneofWithRequired( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'OneofWithRequired': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.py index 2c40b4879c8..ad8f238b67b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.py @@ -42,7 +42,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternIsNotAnchored': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.pyi index f871976a13b..f8aff1654f0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_is_not_anchored.pyi @@ -39,7 +39,7 @@ class PatternIsNotAnchored( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternIsNotAnchored': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.py index 0d3e6aeca7e..47268ce2d0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.py @@ -42,7 +42,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.pyi index 563791b91e0..0d27c8f2a47 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/pattern_validation.pyi @@ -39,7 +39,7 @@ class PatternValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PatternValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.py index e2915e2a96e..abbcf88f92f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.py @@ -126,7 +126,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertiesWithEscapedCharacters': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.pyi index e2915e2a96e..abbcf88f92f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/properties_with_escaped_characters.pyi @@ -126,7 +126,7 @@ class PropertiesWithEscapedCharacters( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertiesWithEscapedCharacters': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py index 5116b4d7cad..0114a6bb827 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.py @@ -76,7 +76,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertyNamedRefThatIsNotAReference': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi index 5116b4d7cad..0114a6bb827 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/property_named_ref_that_is_not_a_reference.pyi @@ -76,7 +76,7 @@ class PropertyNamedRefThatIsNotAReference( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'PropertyNamedRefThatIsNotAReference': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.py index 4a81dd7cf11..f5ea74fe159 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.py @@ -49,9 +49,9 @@ def get_item_(self, name: str) -> 'property_named_ref_that_is_not_a_reference.Pr def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', + **kwargs: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'RefInAdditionalproperties': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.pyi index 558073d0bbf..cf182df03d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_additionalproperties.pyi @@ -48,9 +48,9 @@ class RefInAdditionalproperties( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', + **kwargs: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'RefInAdditionalproperties': return super().__new__( cls, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.py index 94ac57e466a..14f5d6d22e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.py @@ -48,7 +48,7 @@ def _0() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyName def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAllof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.pyi index 94ac57e466a..14f5d6d22e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_allof.pyi @@ -48,7 +48,7 @@ class RefInAllof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAllof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.py index 783b8e5c2c7..c9ea3d4e8cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.py @@ -48,7 +48,7 @@ def _0() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyName def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAnyof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.pyi index 783b8e5c2c7..c9ea3d4e8cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_anyof.pyi @@ -48,7 +48,7 @@ class RefInAnyof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInAnyof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.py index 1bf2a835c0b..79c05b284d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.py @@ -44,10 +44,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ... + typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference' + typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.pyi index 1bf2a835c0b..79c05b284d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_items.pyi @@ -44,10 +44,10 @@ class RefInItems( cls, arg_: typing.Union[ typing.Tuple[ - 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ... + typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference' + typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.py index 4723b85afdb..dd846cc8be3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.py @@ -43,7 +43,7 @@ def _not() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNa def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInNot': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.pyi index 4723b85afdb..dd846cc8be3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_not.pyi @@ -43,7 +43,7 @@ class RefInNot( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInNot': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.py index 40f68d0fa4e..b58353ad3a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.py @@ -48,7 +48,7 @@ def _0() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyName def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInOneof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.pyi index 40f68d0fa4e..b58353ad3a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_oneof.pyi @@ -48,7 +48,7 @@ class RefInOneof( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInOneof': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.py index db78bfccea7..a37371d28f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.py @@ -79,8 +79,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInProperty': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.pyi index db78bfccea7..a37371d28f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.pyi @@ -79,8 +79,8 @@ class RefInProperty( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RefInProperty': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.py index 34073e747a8..d3e33f29e9f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.py @@ -76,7 +76,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.pyi index 34073e747a8..d3e33f29e9f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_default_validation.pyi @@ -76,7 +76,7 @@ class RequiredDefaultValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.py index dcf94c0c95e..f064a323d5d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.py @@ -91,7 +91,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.pyi index dcf94c0c95e..f064a323d5d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_validation.pyi @@ -91,7 +91,7 @@ class RequiredValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], bar: typing.Union[Schema_.Properties.Bar, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.py index fb0a1312799..2ed491da9c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.py @@ -76,7 +76,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.pyi index fb0a1312799..2ed491da9c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_empty_array.pyi @@ -76,7 +76,7 @@ class RequiredWithEmptyArray( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], foo: typing.Union[Schema_.Properties.Foo, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.py index 376f4b71611..45ec5182624 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.py @@ -119,7 +119,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEscapedCharacters': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.pyi index 376f4b71611..45ec5182624 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/required_with_escaped_characters.pyi @@ -119,7 +119,7 @@ class RequiredWithEscapedCharacters( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'RequiredWithEscapedCharacters': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py index 9ff1cda8bda..e9b934d4b4b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py @@ -87,7 +87,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi index a9d09a070d2..fd03be84b21 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi @@ -79,7 +79,7 @@ class TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], alpha: typing.Union[Schema_.Properties.Alpha, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.py index 040356f5c54..e6cae1e46c2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsFalseValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.pyi index 6a7c62a8480..7c93c7afdf9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_false_validation.pyi @@ -39,7 +39,7 @@ class UniqueitemsFalseValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsFalseValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.py index d41392a4154..11be6c30890 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.pyi index 8fa19d1cfa1..41f6de5726d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uniqueitems_validation.pyi @@ -39,7 +39,7 @@ class UniqueitemsValidation( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UniqueitemsValidation': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.py index 774200abd6f..12296f6a8c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.pyi index 774200abd6f..12296f6a8c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_format.pyi @@ -40,7 +40,7 @@ class UriFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.py index 318b7aa230c..98ffe3c77e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriReferenceFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.pyi index 318b7aa230c..98ffe3c77e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_reference_format.pyi @@ -40,7 +40,7 @@ class UriReferenceFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriReferenceFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.py index 72d304aa40b..374022657b1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriTemplateFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.pyi index 72d304aa40b..374022657b1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/uri_template_format.pyi @@ -40,7 +40,7 @@ class UriTemplateFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'UriTemplateFormat': diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.py index baf58cfe961..8d18a7dcf31 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_additionalproperties_allows_a_schema_which_should_validate_request_bod def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody(BaseAp @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_additionalproperties_allows_a_schema_which_should_validate_request_body @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_additionalproperties_allows_a_schema_which_should_validate_request_body @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_additionalproperties_allows_a_schema_which_should_validate_request_body @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_additionalproperties_allows_a_schema_which_should_validate_request_body def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.pyi index 520a30b0e14..478554dd412 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody(BaseAp @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody(BaseAp @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody(BaseAp @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody(BaseAp @typing.overload def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody(BaseAp def post_additionalproperties_allows_a_schema_which_should_validate_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.py index 1d74c134761..a390794ed8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_additionalproperties_are_allowed_by_default_request_body( @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_additionalproperties_are_allowed_by_default_request_body( @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_additionalproperties_are_allowed_by_default_request_body( @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_additionalproperties_are_allowed_by_default_request_body( def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAdditionalpropertiesAreAllowedByDefaultRequestBody(BaseApi): @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_additionalproperties_are_allowed_by_default_request_body( @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_additionalproperties_are_allowed_by_default_request_body( @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_additionalproperties_are_allowed_by_default_request_body( @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_additionalproperties_are_allowed_by_default_request_body( def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.pyi index 32615d60421..3ca470e6500 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAdditionalpropertiesAreAllowedByDefaultRequestBody(BaseApi): @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAdditionalpropertiesAreAllowedByDefaultRequestBody(BaseApi): @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAdditionalpropertiesAreAllowedByDefaultRequestBody(BaseApi): @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAdditionalpropertiesAreAllowedByDefaultRequestBody(BaseApi): @typing.overload def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAdditionalpropertiesAreAllowedByDefaultRequestBody(BaseApi): def post_additionalproperties_are_allowed_by_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.py index 5517d94584f..41aa4ac46c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_additionalproperties_can_exist_by_itself_request_body( @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_additionalproperties_can_exist_by_itself_request_body( @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_additionalproperties_can_exist_by_itself_request_body( @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_additionalproperties_can_exist_by_itself_request_body( def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostAdditionalpropertiesCanExistByItselfRequestBody(BaseApi): @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_additionalproperties_can_exist_by_itself_request_body( @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_additionalproperties_can_exist_by_itself_request_body( @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_additionalproperties_can_exist_by_itself_request_body( @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_additionalproperties_can_exist_by_itself_request_body( def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.pyi index 2b10d584b43..dcfe87034a9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostAdditionalpropertiesCanExistByItselfRequestBody(BaseApi): @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostAdditionalpropertiesCanExistByItselfRequestBody(BaseApi): @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostAdditionalpropertiesCanExistByItselfRequestBody(BaseApi): @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostAdditionalpropertiesCanExistByItselfRequestBody(BaseApi): @typing.overload def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostAdditionalpropertiesCanExistByItselfRequestBody(BaseApi): def post_additionalproperties_can_exist_by_itself_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.py index 08b25599725..e71abed3af4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body( @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body( @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body( @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_additionalproperties_should_not_look_in_applicators_request_body( def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody(BaseApi): @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_additionalproperties_should_not_look_in_applicators_request_body( @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_additionalproperties_should_not_look_in_applicators_request_body( @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_additionalproperties_should_not_look_in_applicators_request_body( @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_additionalproperties_should_not_look_in_applicators_request_body( def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.pyi index 8458be80dd1..bc148284719 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody(BaseApi): @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody(BaseApi): @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody(BaseApi): @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody(BaseApi): @typing.overload def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAdditionalpropertiesShouldNotLookInApplicatorsRequestBody(BaseApi): def post_additionalproperties_should_not_look_in_applicators_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.py index aab3e94e4db..a52ecf19c53 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_combined_with_anyof_oneof_request_body( @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_combined_with_anyof_oneof_request_body( @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_combined_with_anyof_oneof_request_body( @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_combined_with_anyof_oneof_request_body( def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofCombinedWithAnyofOneofRequestBody(BaseApi): @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_combined_with_anyof_oneof_request_body( @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_combined_with_anyof_oneof_request_body( @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_combined_with_anyof_oneof_request_body( @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_combined_with_anyof_oneof_request_body( def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.pyi index 1563c91382b..7d008a6bbaf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofCombinedWithAnyofOneofRequestBody(BaseApi): @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofCombinedWithAnyofOneofRequestBody(BaseApi): @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofCombinedWithAnyofOneofRequestBody(BaseApi): @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofCombinedWithAnyofOneofRequestBody(BaseApi): @typing.overload def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofCombinedWithAnyofOneofRequestBody(BaseApi): def post_allof_combined_with_anyof_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.py index c155523715e..9baeb37f166 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_request_body( @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_request_body( @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_request_body( @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_request_body( def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofRequestBody(BaseApi): @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_request_body( @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_request_body( @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_request_body( @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_request_body( def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.pyi index 0bc8eac75c3..28c1d8f2a21 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofRequestBody(BaseApi): @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofRequestBody(BaseApi): @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofRequestBody(BaseApi): @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofRequestBody(BaseApi): @typing.overload def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofRequestBody(BaseApi): def post_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.py index b69d34c5c25..f22ae698846 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_simple_types_request_body( @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_simple_types_request_body( @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_simple_types_request_body( @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_simple_types_request_body( def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofSimpleTypesRequestBody(BaseApi): @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_simple_types_request_body( @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_simple_types_request_body( @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_simple_types_request_body( @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_simple_types_request_body( def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.pyi index 675eb57e943..fb79532d835 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofSimpleTypesRequestBody(BaseApi): @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofSimpleTypesRequestBody(BaseApi): @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofSimpleTypesRequestBody(BaseApi): @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofSimpleTypesRequestBody(BaseApi): @typing.overload def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofSimpleTypesRequestBody(BaseApi): def post_allof_simple_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.py index f21783fcef8..3a49b3f468b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_with_base_schema_request_body( @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_with_base_schema_request_body( @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_with_base_schema_request_body( @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_with_base_schema_request_body( def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_with_base_schema_request_body( @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_with_base_schema_request_body( @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_with_base_schema_request_body( @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_with_base_schema_request_body( def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.pyi index a69410e2a34..554d2747022 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofWithBaseSchemaRequestBody(BaseApi): def post_allof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.py index 2f204a42ba4..30b5ead17da 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_with_one_empty_schema_request_body( @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_with_one_empty_schema_request_body( @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_with_one_empty_schema_request_body( @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_with_one_empty_schema_request_body( def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_with_one_empty_schema_request_body( @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_with_one_empty_schema_request_body( @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_with_one_empty_schema_request_body( @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_with_one_empty_schema_request_body( def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.pyi index b4c4c117862..498822c09a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofWithOneEmptySchemaRequestBody(BaseApi): def post_allof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.py index 081d84ad3cc..e6c7c1c05b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_with_the_first_empty_schema_request_body( @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_with_the_first_empty_schema_request_body( @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_with_the_first_empty_schema_request_body( @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_with_the_first_empty_schema_request_body( def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofWithTheFirstEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_with_the_first_empty_schema_request_body( @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_with_the_first_empty_schema_request_body( @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_with_the_first_empty_schema_request_body( @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_with_the_first_empty_schema_request_body( def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.pyi index aeea5fddd0f..e4dac0aa8ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofWithTheFirstEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofWithTheFirstEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofWithTheFirstEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofWithTheFirstEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofWithTheFirstEmptySchemaRequestBody(BaseApi): def post_allof_with_the_first_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.py index 2964c89515e..edef21eb9ff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_with_the_last_empty_schema_request_body( @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_with_the_last_empty_schema_request_body( @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_with_the_last_empty_schema_request_body( @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_with_the_last_empty_schema_request_body( def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofWithTheLastEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_with_the_last_empty_schema_request_body( @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_with_the_last_empty_schema_request_body( @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_with_the_last_empty_schema_request_body( @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_with_the_last_empty_schema_request_body( def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.pyi index 4c5953435ad..6177f978d42 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofWithTheLastEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofWithTheLastEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofWithTheLastEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofWithTheLastEmptySchemaRequestBody(BaseApi): @typing.overload def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofWithTheLastEmptySchemaRequestBody(BaseApi): def post_allof_with_the_last_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.py index 6850834cccb..747d713346d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_allof_with_two_empty_schemas_request_body( @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_allof_with_two_empty_schemas_request_body( @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_allof_with_two_empty_schemas_request_body( @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_allof_with_two_empty_schemas_request_body( def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAllofWithTwoEmptySchemasRequestBody(BaseApi): @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_allof_with_two_empty_schemas_request_body( @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_allof_with_two_empty_schemas_request_body( @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_allof_with_two_empty_schemas_request_body( @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_allof_with_two_empty_schemas_request_body( def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.pyi index fd99c82c9b7..a3ade779022 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAllofWithTwoEmptySchemasRequestBody(BaseApi): @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAllofWithTwoEmptySchemasRequestBody(BaseApi): @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAllofWithTwoEmptySchemasRequestBody(BaseApi): @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAllofWithTwoEmptySchemasRequestBody(BaseApi): @typing.overload def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAllofWithTwoEmptySchemasRequestBody(BaseApi): def post_allof_with_two_empty_schemas_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.py index 6cf27a2ceed..df163a58d31 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_anyof_complex_types_request_body( @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_anyof_complex_types_request_body( @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_anyof_complex_types_request_body( @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_anyof_complex_types_request_body( def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAnyofComplexTypesRequestBody(BaseApi): @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_anyof_complex_types_request_body( @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_anyof_complex_types_request_body( @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_anyof_complex_types_request_body( @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_anyof_complex_types_request_body( def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.pyi index b4f0cb2de73..b1c8eda0fa9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAnyofComplexTypesRequestBody(BaseApi): @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAnyofComplexTypesRequestBody(BaseApi): @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAnyofComplexTypesRequestBody(BaseApi): @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAnyofComplexTypesRequestBody(BaseApi): @typing.overload def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAnyofComplexTypesRequestBody(BaseApi): def post_anyof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.py index 9b3d1f26e5b..7d1a71b9b2b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_anyof_request_body( @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_anyof_request_body( @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_anyof_request_body( @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_anyof_request_body( def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAnyofRequestBody(BaseApi): @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_anyof_request_body( @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_anyof_request_body( @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_anyof_request_body( @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_anyof_request_body( def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.pyi index 823dc8f29da..1772ec28150 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAnyofRequestBody(BaseApi): @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAnyofRequestBody(BaseApi): @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAnyofRequestBody(BaseApi): @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAnyofRequestBody(BaseApi): @typing.overload def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAnyofRequestBody(BaseApi): def post_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.py index 2c19109b36e..2795297276e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_anyof_with_base_schema_request_body( @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_anyof_with_base_schema_request_body( @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_anyof_with_base_schema_request_body( @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_anyof_with_base_schema_request_body( def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostAnyofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_anyof_with_base_schema_request_body( @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_anyof_with_base_schema_request_body( @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_anyof_with_base_schema_request_body( @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_anyof_with_base_schema_request_body( def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.pyi index f92d624df25..1dd060d3eff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostAnyofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostAnyofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostAnyofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostAnyofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostAnyofWithBaseSchemaRequestBody(BaseApi): def post_anyof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.py index 388a49931c0..d2cf3ed54eb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_anyof_with_one_empty_schema_request_body( @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_anyof_with_one_empty_schema_request_body( @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_anyof_with_one_empty_schema_request_body( @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_anyof_with_one_empty_schema_request_body( def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostAnyofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_anyof_with_one_empty_schema_request_body( @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_anyof_with_one_empty_schema_request_body( @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_anyof_with_one_empty_schema_request_body( @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_anyof_with_one_empty_schema_request_body( def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.pyi index d900ec4d864..1d6303fa94d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostAnyofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostAnyofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostAnyofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostAnyofWithOneEmptySchemaRequestBody(BaseApi): @typing.overload def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostAnyofWithOneEmptySchemaRequestBody(BaseApi): def post_anyof_with_one_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.py index 70a1a36fae8..bc46d716d65 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_array_type_matches_arrays_request_body( @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_array_type_matches_arrays_request_body( @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_array_type_matches_arrays_request_body( @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_array_type_matches_arrays_request_body( def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostArrayTypeMatchesArraysRequestBody(BaseApi): @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_array_type_matches_arrays_request_body( @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_array_type_matches_arrays_request_body( @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_array_type_matches_arrays_request_body( @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_array_type_matches_arrays_request_body( def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.pyi index 595ca0718a5..977f74653ed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostArrayTypeMatchesArraysRequestBody(BaseApi): @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostArrayTypeMatchesArraysRequestBody(BaseApi): @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostArrayTypeMatchesArraysRequestBody(BaseApi): @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostArrayTypeMatchesArraysRequestBody(BaseApi): @typing.overload def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostArrayTypeMatchesArraysRequestBody(BaseApi): def post_array_type_matches_arrays_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.py index 7fbeb5eddfc..ff8a133f53f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_boolean_type_matches_booleans_request_body( @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_boolean_type_matches_booleans_request_body( @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_boolean_type_matches_booleans_request_body( @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_boolean_type_matches_booleans_request_body( def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostBooleanTypeMatchesBooleansRequestBody(BaseApi): @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_boolean_type_matches_booleans_request_body( @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_boolean_type_matches_booleans_request_body( @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_boolean_type_matches_booleans_request_body( @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_boolean_type_matches_booleans_request_body( def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.pyi index c71c97fbdc2..580ce449749 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostBooleanTypeMatchesBooleansRequestBody(BaseApi): @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostBooleanTypeMatchesBooleansRequestBody(BaseApi): @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostBooleanTypeMatchesBooleansRequestBody(BaseApi): @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostBooleanTypeMatchesBooleansRequestBody(BaseApi): @typing.overload def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostBooleanTypeMatchesBooleansRequestBody(BaseApi): def post_boolean_type_matches_booleans_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.py index e23344cdb37..3702225eea5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_by_int_request_body( @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_by_int_request_body( @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_by_int_request_body( @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_by_int_request_body( def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostByIntRequestBody(BaseApi): @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_by_int_request_body( @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_by_int_request_body( @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_by_int_request_body( @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_by_int_request_body( def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.pyi index 768915c661f..d328ab5586d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_int_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostByIntRequestBody(BaseApi): @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostByIntRequestBody(BaseApi): @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostByIntRequestBody(BaseApi): @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostByIntRequestBody(BaseApi): @typing.overload def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostByIntRequestBody(BaseApi): def post_by_int_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.py index b662efc88da..5607adb2024 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_by_number_request_body( @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_by_number_request_body( @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_by_number_request_body( @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_by_number_request_body( def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostByNumberRequestBody(BaseApi): @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_by_number_request_body( @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_by_number_request_body( @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_by_number_request_body( @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_by_number_request_body( def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.pyi index ae284218335..dc2e2dc01b7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_number_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostByNumberRequestBody(BaseApi): @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostByNumberRequestBody(BaseApi): @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostByNumberRequestBody(BaseApi): @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostByNumberRequestBody(BaseApi): @typing.overload def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostByNumberRequestBody(BaseApi): def post_by_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.py index 9fa8d2f97aa..b903cf2e18b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_by_small_number_request_body( @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_by_small_number_request_body( @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_by_small_number_request_body( @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_by_small_number_request_body( def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostBySmallNumberRequestBody(BaseApi): @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_by_small_number_request_body( @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_by_small_number_request_body( @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_by_small_number_request_body( @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_by_small_number_request_body( def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.pyi index f89f56a2333..1cfb306c9cd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_by_small_number_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostBySmallNumberRequestBody(BaseApi): @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostBySmallNumberRequestBody(BaseApi): @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostBySmallNumberRequestBody(BaseApi): @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostBySmallNumberRequestBody(BaseApi): @typing.overload def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostBySmallNumberRequestBody(BaseApi): def post_by_small_number_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.py index da2d6eaaac7..6115bb6807d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_date_time_format_request_body( @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_date_time_format_request_body( @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_date_time_format_request_body( @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_date_time_format_request_body( def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostDateTimeFormatRequestBody(BaseApi): @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_date_time_format_request_body( @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_date_time_format_request_body( @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_date_time_format_request_body( @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_date_time_format_request_body( def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.pyi index 01afc98390e..edf62b11d6d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_date_time_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostDateTimeFormatRequestBody(BaseApi): @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostDateTimeFormatRequestBody(BaseApi): @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostDateTimeFormatRequestBody(BaseApi): @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostDateTimeFormatRequestBody(BaseApi): @typing.overload def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostDateTimeFormatRequestBody(BaseApi): def post_date_time_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.py index ef8b4ef176f..06f6cafce20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_email_format_request_body( @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_email_format_request_body( @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_email_format_request_body( @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_email_format_request_body( def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostEmailFormatRequestBody(BaseApi): @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_email_format_request_body( @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_email_format_request_body( @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_email_format_request_body( @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_email_format_request_body( def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.pyi index 36e21b8758e..539539e64a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_email_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostEmailFormatRequestBody(BaseApi): @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostEmailFormatRequestBody(BaseApi): @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostEmailFormatRequestBody(BaseApi): @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostEmailFormatRequestBody(BaseApi): @typing.overload def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostEmailFormatRequestBody(BaseApi): def post_email_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.py index b8aff650289..f539c28055c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.py @@ -46,7 +46,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +62,12 @@ def _post_enum_with0_does_not_match_false_request_body( @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +79,12 @@ def _post_enum_with0_does_not_match_false_request_body( @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +95,12 @@ def _post_enum_with0_does_not_match_false_request_body( @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +113,12 @@ def _post_enum_with0_does_not_match_false_request_body( def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +189,12 @@ class PostEnumWith0DoesNotMatchFalseRequestBody(BaseApi): @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +205,12 @@ def post_enum_with0_does_not_match_false_request_body( @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +222,12 @@ def post_enum_with0_does_not_match_false_request_body( @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +238,12 @@ def post_enum_with0_does_not_match_false_request_body( @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +256,12 @@ def post_enum_with0_does_not_match_false_request_body( def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +284,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +300,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +317,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +333,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +351,12 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.pyi index d43bf54c12d..467ea6142b6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/operation.pyi @@ -34,7 +34,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +50,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +67,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +83,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +101,12 @@ class BaseApi(api_client.Api): def _post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +177,12 @@ class PostEnumWith0DoesNotMatchFalseRequestBody(BaseApi): @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +193,12 @@ class PostEnumWith0DoesNotMatchFalseRequestBody(BaseApi): @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +210,12 @@ class PostEnumWith0DoesNotMatchFalseRequestBody(BaseApi): @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +226,12 @@ class PostEnumWith0DoesNotMatchFalseRequestBody(BaseApi): @typing.overload def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +244,12 @@ class PostEnumWith0DoesNotMatchFalseRequestBody(BaseApi): def post_enum_with0_does_not_match_false_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +272,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +288,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +305,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +321,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +339,12 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.py index aeafd17553f..aede52e1485 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.py @@ -46,7 +46,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +62,12 @@ def _post_enum_with1_does_not_match_true_request_body( @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +79,12 @@ def _post_enum_with1_does_not_match_true_request_body( @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +95,12 @@ def _post_enum_with1_does_not_match_true_request_body( @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +113,12 @@ def _post_enum_with1_does_not_match_true_request_body( def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +189,12 @@ class PostEnumWith1DoesNotMatchTrueRequestBody(BaseApi): @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +205,12 @@ def post_enum_with1_does_not_match_true_request_body( @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +222,12 @@ def post_enum_with1_does_not_match_true_request_body( @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +238,12 @@ def post_enum_with1_does_not_match_true_request_body( @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +256,12 @@ def post_enum_with1_does_not_match_true_request_body( def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +284,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +300,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +317,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +333,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +351,12 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.pyi index 560ae9a8a2a..bc213c523b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/operation.pyi @@ -34,7 +34,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +50,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +67,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +83,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +101,12 @@ class BaseApi(api_client.Api): def _post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +177,12 @@ class PostEnumWith1DoesNotMatchTrueRequestBody(BaseApi): @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +193,12 @@ class PostEnumWith1DoesNotMatchTrueRequestBody(BaseApi): @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +210,12 @@ class PostEnumWith1DoesNotMatchTrueRequestBody(BaseApi): @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +226,12 @@ class PostEnumWith1DoesNotMatchTrueRequestBody(BaseApi): @typing.overload def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +244,12 @@ class PostEnumWith1DoesNotMatchTrueRequestBody(BaseApi): def post_enum_with1_does_not_match_true_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +272,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +288,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +305,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +321,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +339,12 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.py index 1184928b6f4..18a2700495b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_enum_with_escaped_characters_request_body( @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_enum_with_escaped_characters_request_body( @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_enum_with_escaped_characters_request_body( @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_enum_with_escaped_characters_request_body( def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostEnumWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_enum_with_escaped_characters_request_body( @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_enum_with_escaped_characters_request_body( @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_enum_with_escaped_characters_request_body( @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_enum_with_escaped_characters_request_body( def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.pyi index f7e0d5d866b..bf53be12280 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostEnumWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostEnumWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostEnumWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostEnumWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostEnumWithEscapedCharactersRequestBody(BaseApi): def post_enum_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.py index 7e6334ca696..544f160f150 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_enum_with_false_does_not_match0_request_body( @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_enum_with_false_does_not_match0_request_body( @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_enum_with_false_does_not_match0_request_body( @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_enum_with_false_does_not_match0_request_body( def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostEnumWithFalseDoesNotMatch0RequestBody(BaseApi): @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_enum_with_false_does_not_match0_request_body( @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_enum_with_false_does_not_match0_request_body( @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_enum_with_false_does_not_match0_request_body( @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_enum_with_false_does_not_match0_request_body( def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.pyi index 88e63a59859..00b7854ed60 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostEnumWithFalseDoesNotMatch0RequestBody(BaseApi): @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostEnumWithFalseDoesNotMatch0RequestBody(BaseApi): @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostEnumWithFalseDoesNotMatch0RequestBody(BaseApi): @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostEnumWithFalseDoesNotMatch0RequestBody(BaseApi): @typing.overload def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostEnumWithFalseDoesNotMatch0RequestBody(BaseApi): def post_enum_with_false_does_not_match0_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.py index d78b5d8baa2..5cd0a62d04f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_enum_with_true_does_not_match1_request_body( @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_enum_with_true_does_not_match1_request_body( @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_enum_with_true_does_not_match1_request_body( @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_enum_with_true_does_not_match1_request_body( def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostEnumWithTrueDoesNotMatch1RequestBody(BaseApi): @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_enum_with_true_does_not_match1_request_body( @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_enum_with_true_does_not_match1_request_body( @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_enum_with_true_does_not_match1_request_body( @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_enum_with_true_does_not_match1_request_body( def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.pyi index 9490eea145d..c9989f339e1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostEnumWithTrueDoesNotMatch1RequestBody(BaseApi): @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostEnumWithTrueDoesNotMatch1RequestBody(BaseApi): @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostEnumWithTrueDoesNotMatch1RequestBody(BaseApi): @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostEnumWithTrueDoesNotMatch1RequestBody(BaseApi): @typing.overload def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostEnumWithTrueDoesNotMatch1RequestBody(BaseApi): def post_enum_with_true_does_not_match1_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + bool + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.py index 7f4d7b63111..42ac4dcef9b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_enums_in_properties_request_body( @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_enums_in_properties_request_body( @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_enums_in_properties_request_body( @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_enums_in_properties_request_body( def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostEnumsInPropertiesRequestBody(BaseApi): @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_enums_in_properties_request_body( @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_enums_in_properties_request_body( @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_enums_in_properties_request_body( @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_enums_in_properties_request_body( def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.pyi index 7535c312d27..430ceb09e17 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostEnumsInPropertiesRequestBody(BaseApi): @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostEnumsInPropertiesRequestBody(BaseApi): @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostEnumsInPropertiesRequestBody(BaseApi): @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostEnumsInPropertiesRequestBody(BaseApi): @typing.overload def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostEnumsInPropertiesRequestBody(BaseApi): def post_enums_in_properties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.py index 37e5a905a82..a942ff69311 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_forbidden_property_request_body( @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_forbidden_property_request_body( @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_forbidden_property_request_body( @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_forbidden_property_request_body( def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostForbiddenPropertyRequestBody(BaseApi): @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_forbidden_property_request_body( @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_forbidden_property_request_body( @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_forbidden_property_request_body( @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_forbidden_property_request_body( def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.pyi index 8c54df5d886..a303b2d6885 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostForbiddenPropertyRequestBody(BaseApi): @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostForbiddenPropertyRequestBody(BaseApi): @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostForbiddenPropertyRequestBody(BaseApi): @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostForbiddenPropertyRequestBody(BaseApi): @typing.overload def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostForbiddenPropertyRequestBody(BaseApi): def post_forbidden_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.py index b482de04953..fd58d0d68fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_hostname_format_request_body( @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_hostname_format_request_body( @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_hostname_format_request_body( @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_hostname_format_request_body( def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostHostnameFormatRequestBody(BaseApi): @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_hostname_format_request_body( @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_hostname_format_request_body( @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_hostname_format_request_body( @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_hostname_format_request_body( def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.pyi index 9bc132a2a1b..1d619c63338 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_hostname_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostHostnameFormatRequestBody(BaseApi): @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostHostnameFormatRequestBody(BaseApi): @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostHostnameFormatRequestBody(BaseApi): @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostHostnameFormatRequestBody(BaseApi): @typing.overload def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostHostnameFormatRequestBody(BaseApi): def post_hostname_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.py index d1d4b335244..9593eb7c9a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_integer_type_matches_integers_request_body( @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_integer_type_matches_integers_request_body( @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_integer_type_matches_integers_request_body( @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_integer_type_matches_integers_request_body( def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostIntegerTypeMatchesIntegersRequestBody(BaseApi): @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_integer_type_matches_integers_request_body( @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_integer_type_matches_integers_request_body( @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_integer_type_matches_integers_request_body( @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_integer_type_matches_integers_request_body( def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.pyi index 83d1bec0a61..b1dd6bd4f68 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostIntegerTypeMatchesIntegersRequestBody(BaseApi): @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostIntegerTypeMatchesIntegersRequestBody(BaseApi): @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostIntegerTypeMatchesIntegersRequestBody(BaseApi): @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostIntegerTypeMatchesIntegersRequestBody(BaseApi): @typing.overload def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostIntegerTypeMatchesIntegersRequestBody(BaseApi): def post_integer_type_matches_integers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.py index ca845a8ec98..d7d96ea343c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_invalid_instance_should_not_raise_error_when_float_division_inf_reques def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody(Base @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_invalid_instance_should_not_raise_error_when_float_division_inf_request @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_invalid_instance_should_not_raise_error_when_float_division_inf_request @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_invalid_instance_should_not_raise_error_when_float_division_inf_request @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_invalid_instance_should_not_raise_error_when_float_division_inf_request def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.pyi index 2c1601f12b7..eb0556f609c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody(Base @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody(Base @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody(Base @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody(Base @typing.overload def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody(Base def post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.py index 4e12d81684b..9194afa1a28 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_invalid_string_value_for_default_request_body( @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_invalid_string_value_for_default_request_body( @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_invalid_string_value_for_default_request_body( @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_invalid_string_value_for_default_request_body( def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostInvalidStringValueForDefaultRequestBody(BaseApi): @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_invalid_string_value_for_default_request_body( @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_invalid_string_value_for_default_request_body( @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_invalid_string_value_for_default_request_body( @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_invalid_string_value_for_default_request_body( def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.pyi index 451281afd18..4b57d2ce0f3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostInvalidStringValueForDefaultRequestBody(BaseApi): @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostInvalidStringValueForDefaultRequestBody(BaseApi): @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostInvalidStringValueForDefaultRequestBody(BaseApi): @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostInvalidStringValueForDefaultRequestBody(BaseApi): @typing.overload def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostInvalidStringValueForDefaultRequestBody(BaseApi): def post_invalid_string_value_for_default_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.py index 9f2b76cc5a7..790bffa2786 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_ipv4_format_request_body( @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_ipv4_format_request_body( @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_ipv4_format_request_body( @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_ipv4_format_request_body( def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostIpv4FormatRequestBody(BaseApi): @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_ipv4_format_request_body( @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_ipv4_format_request_body( @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_ipv4_format_request_body( @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_ipv4_format_request_body( def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.pyi index 087961ce106..eb538370699 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostIpv4FormatRequestBody(BaseApi): @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostIpv4FormatRequestBody(BaseApi): @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostIpv4FormatRequestBody(BaseApi): @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostIpv4FormatRequestBody(BaseApi): @typing.overload def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostIpv4FormatRequestBody(BaseApi): def post_ipv4_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.py index 1baa775c310..9586ba6d574 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_ipv6_format_request_body( @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_ipv6_format_request_body( @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_ipv6_format_request_body( @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_ipv6_format_request_body( def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostIpv6FormatRequestBody(BaseApi): @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_ipv6_format_request_body( @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_ipv6_format_request_body( @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_ipv6_format_request_body( @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_ipv6_format_request_body( def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.pyi index 5c819eaa9c1..37b514c3d82 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostIpv6FormatRequestBody(BaseApi): @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostIpv6FormatRequestBody(BaseApi): @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostIpv6FormatRequestBody(BaseApi): @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostIpv6FormatRequestBody(BaseApi): @typing.overload def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostIpv6FormatRequestBody(BaseApi): def post_ipv6_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.py index eda39b7da69..5151e14dc9b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_json_pointer_format_request_body( @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_json_pointer_format_request_body( @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_json_pointer_format_request_body( @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_json_pointer_format_request_body( def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostJsonPointerFormatRequestBody(BaseApi): @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_json_pointer_format_request_body( @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_json_pointer_format_request_body( @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_json_pointer_format_request_body( @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_json_pointer_format_request_body( def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.pyi index 89a8f7d5ce0..c9fc111ff93 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostJsonPointerFormatRequestBody(BaseApi): @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostJsonPointerFormatRequestBody(BaseApi): @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostJsonPointerFormatRequestBody(BaseApi): @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostJsonPointerFormatRequestBody(BaseApi): @typing.overload def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostJsonPointerFormatRequestBody(BaseApi): def post_json_pointer_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.py index 17100d114d4..2dea568b612 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_maximum_validation_request_body( @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_maximum_validation_request_body( @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_maximum_validation_request_body( @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_maximum_validation_request_body( def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMaximumValidationRequestBody(BaseApi): @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_maximum_validation_request_body( @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_maximum_validation_request_body( @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_maximum_validation_request_body( @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_maximum_validation_request_body( def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.pyi index f122c0685c3..5d356e7f0b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMaximumValidationRequestBody(BaseApi): @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMaximumValidationRequestBody(BaseApi): @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMaximumValidationRequestBody(BaseApi): @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMaximumValidationRequestBody(BaseApi): @typing.overload def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMaximumValidationRequestBody(BaseApi): def post_maximum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.py index 7295e425a20..439d3413713 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_maximum_validation_with_unsigned_integer_request_body( @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_maximum_validation_with_unsigned_integer_request_body( @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_maximum_validation_with_unsigned_integer_request_body( @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_maximum_validation_with_unsigned_integer_request_body( def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMaximumValidationWithUnsignedIntegerRequestBody(BaseApi): @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_maximum_validation_with_unsigned_integer_request_body( @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_maximum_validation_with_unsigned_integer_request_body( @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_maximum_validation_with_unsigned_integer_request_body( @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_maximum_validation_with_unsigned_integer_request_body( def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.pyi index 1acac9f5b92..9095a25466c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMaximumValidationWithUnsignedIntegerRequestBody(BaseApi): @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMaximumValidationWithUnsignedIntegerRequestBody(BaseApi): @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMaximumValidationWithUnsignedIntegerRequestBody(BaseApi): @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMaximumValidationWithUnsignedIntegerRequestBody(BaseApi): @typing.overload def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMaximumValidationWithUnsignedIntegerRequestBody(BaseApi): def post_maximum_validation_with_unsigned_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.py index 05585961e13..05ef7548d36 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_maxitems_validation_request_body( @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_maxitems_validation_request_body( @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_maxitems_validation_request_body( @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_maxitems_validation_request_body( def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMaxitemsValidationRequestBody(BaseApi): @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_maxitems_validation_request_body( @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_maxitems_validation_request_body( @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_maxitems_validation_request_body( @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_maxitems_validation_request_body( def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.pyi index 4b317cd9b02..7e0bd2c5b68 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMaxitemsValidationRequestBody(BaseApi): @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMaxitemsValidationRequestBody(BaseApi): @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMaxitemsValidationRequestBody(BaseApi): @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMaxitemsValidationRequestBody(BaseApi): @typing.overload def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMaxitemsValidationRequestBody(BaseApi): def post_maxitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.py index 8a3d0a62cc4..3985d18b38b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_maxlength_validation_request_body( @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_maxlength_validation_request_body( @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_maxlength_validation_request_body( @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_maxlength_validation_request_body( def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMaxlengthValidationRequestBody(BaseApi): @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_maxlength_validation_request_body( @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_maxlength_validation_request_body( @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_maxlength_validation_request_body( @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_maxlength_validation_request_body( def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.pyi index b3375599f0d..a72c731002c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMaxlengthValidationRequestBody(BaseApi): @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMaxlengthValidationRequestBody(BaseApi): @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMaxlengthValidationRequestBody(BaseApi): @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMaxlengthValidationRequestBody(BaseApi): @typing.overload def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMaxlengthValidationRequestBody(BaseApi): def post_maxlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.py index 78a006a569d..2a9554ea55e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_maxproperties0_means_the_object_is_empty_request_body( @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_maxproperties0_means_the_object_is_empty_request_body( @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_maxproperties0_means_the_object_is_empty_request_body( @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_maxproperties0_means_the_object_is_empty_request_body( def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMaxproperties0MeansTheObjectIsEmptyRequestBody(BaseApi): @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_maxproperties0_means_the_object_is_empty_request_body( @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_maxproperties0_means_the_object_is_empty_request_body( @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_maxproperties0_means_the_object_is_empty_request_body( @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_maxproperties0_means_the_object_is_empty_request_body( def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.pyi index 55584ef2773..3bb6f50a741 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMaxproperties0MeansTheObjectIsEmptyRequestBody(BaseApi): @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMaxproperties0MeansTheObjectIsEmptyRequestBody(BaseApi): @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMaxproperties0MeansTheObjectIsEmptyRequestBody(BaseApi): @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMaxproperties0MeansTheObjectIsEmptyRequestBody(BaseApi): @typing.overload def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMaxproperties0MeansTheObjectIsEmptyRequestBody(BaseApi): def post_maxproperties0_means_the_object_is_empty_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.py index ee455df5e15..777d59755d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_maxproperties_validation_request_body( @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_maxproperties_validation_request_body( @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_maxproperties_validation_request_body( @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_maxproperties_validation_request_body( def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMaxpropertiesValidationRequestBody(BaseApi): @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_maxproperties_validation_request_body( @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_maxproperties_validation_request_body( @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_maxproperties_validation_request_body( @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_maxproperties_validation_request_body( def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.pyi index 6d13d080fa3..f4e90a7dd8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMaxpropertiesValidationRequestBody(BaseApi): @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMaxpropertiesValidationRequestBody(BaseApi): @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMaxpropertiesValidationRequestBody(BaseApi): @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMaxpropertiesValidationRequestBody(BaseApi): @typing.overload def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMaxpropertiesValidationRequestBody(BaseApi): def post_maxproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.py index f91e1c164f5..79d44757a47 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_minimum_validation_request_body( @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_minimum_validation_request_body( @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_minimum_validation_request_body( @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_minimum_validation_request_body( def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMinimumValidationRequestBody(BaseApi): @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_minimum_validation_request_body( @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_minimum_validation_request_body( @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_minimum_validation_request_body( @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_minimum_validation_request_body( def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.pyi index fcb26efe8a6..81a7772ea0a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMinimumValidationRequestBody(BaseApi): @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMinimumValidationRequestBody(BaseApi): @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMinimumValidationRequestBody(BaseApi): @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMinimumValidationRequestBody(BaseApi): @typing.overload def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMinimumValidationRequestBody(BaseApi): def post_minimum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.py index 691113bdaee..dd84bba50db 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_minimum_validation_with_signed_integer_request_body( @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_minimum_validation_with_signed_integer_request_body( @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_minimum_validation_with_signed_integer_request_body( @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_minimum_validation_with_signed_integer_request_body( def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMinimumValidationWithSignedIntegerRequestBody(BaseApi): @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_minimum_validation_with_signed_integer_request_body( @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_minimum_validation_with_signed_integer_request_body( @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_minimum_validation_with_signed_integer_request_body( @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_minimum_validation_with_signed_integer_request_body( def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.pyi index a791d46dc98..411fcd6ad43 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMinimumValidationWithSignedIntegerRequestBody(BaseApi): @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMinimumValidationWithSignedIntegerRequestBody(BaseApi): @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMinimumValidationWithSignedIntegerRequestBody(BaseApi): @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMinimumValidationWithSignedIntegerRequestBody(BaseApi): @typing.overload def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMinimumValidationWithSignedIntegerRequestBody(BaseApi): def post_minimum_validation_with_signed_integer_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.py index bc0053364c3..496b31431f2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_minitems_validation_request_body( @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_minitems_validation_request_body( @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_minitems_validation_request_body( @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_minitems_validation_request_body( def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMinitemsValidationRequestBody(BaseApi): @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_minitems_validation_request_body( @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_minitems_validation_request_body( @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_minitems_validation_request_body( @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_minitems_validation_request_body( def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.pyi index dc7a9497c33..f0d7445b90f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMinitemsValidationRequestBody(BaseApi): @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMinitemsValidationRequestBody(BaseApi): @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMinitemsValidationRequestBody(BaseApi): @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMinitemsValidationRequestBody(BaseApi): @typing.overload def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMinitemsValidationRequestBody(BaseApi): def post_minitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.py index 2358bc6fc6c..55840ab3473 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_minlength_validation_request_body( @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_minlength_validation_request_body( @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_minlength_validation_request_body( @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_minlength_validation_request_body( def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMinlengthValidationRequestBody(BaseApi): @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_minlength_validation_request_body( @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_minlength_validation_request_body( @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_minlength_validation_request_body( @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_minlength_validation_request_body( def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.pyi index 6815f2dadd7..20f2951e0de 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMinlengthValidationRequestBody(BaseApi): @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMinlengthValidationRequestBody(BaseApi): @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMinlengthValidationRequestBody(BaseApi): @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMinlengthValidationRequestBody(BaseApi): @typing.overload def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMinlengthValidationRequestBody(BaseApi): def post_minlength_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.py index b65174fe377..7507657db7b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_minproperties_validation_request_body( @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_minproperties_validation_request_body( @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_minproperties_validation_request_body( @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_minproperties_validation_request_body( def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostMinpropertiesValidationRequestBody(BaseApi): @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_minproperties_validation_request_body( @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_minproperties_validation_request_body( @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_minproperties_validation_request_body( @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_minproperties_validation_request_body( def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.pyi index 7eb8e641d78..78bf895dddc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostMinpropertiesValidationRequestBody(BaseApi): @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostMinpropertiesValidationRequestBody(BaseApi): @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostMinpropertiesValidationRequestBody(BaseApi): @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostMinpropertiesValidationRequestBody(BaseApi): @typing.overload def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostMinpropertiesValidationRequestBody(BaseApi): def post_minproperties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.py index a3ed9bb7193..30b0606faa7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_nested_allof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_nested_allof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_nested_allof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_nested_allof_to_check_validation_semantics_request_body( def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostNestedAllofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_nested_allof_to_check_validation_semantics_request_body( @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_nested_allof_to_check_validation_semantics_request_body( @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_nested_allof_to_check_validation_semantics_request_body( @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_nested_allof_to_check_validation_semantics_request_body( def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.pyi index c95a80902d7..cf232598dc1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostNestedAllofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostNestedAllofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostNestedAllofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostNestedAllofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostNestedAllofToCheckValidationSemanticsRequestBody(BaseApi): def post_nested_allof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.py index ad2d1f8b190..ab6ccc8d7e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_nested_anyof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_nested_anyof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_nested_anyof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_nested_anyof_to_check_validation_semantics_request_body( def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostNestedAnyofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_nested_anyof_to_check_validation_semantics_request_body( @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_nested_anyof_to_check_validation_semantics_request_body( @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_nested_anyof_to_check_validation_semantics_request_body( @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_nested_anyof_to_check_validation_semantics_request_body( def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.pyi index b00019bd4c8..965453f9cf1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostNestedAnyofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostNestedAnyofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostNestedAnyofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostNestedAnyofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostNestedAnyofToCheckValidationSemanticsRequestBody(BaseApi): def post_nested_anyof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.py index 63ff98c08cf..02ebbbfc8d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_nested_items_request_body( @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_nested_items_request_body( @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_nested_items_request_body( @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_nested_items_request_body( def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostNestedItemsRequestBody(BaseApi): @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_nested_items_request_body( @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_nested_items_request_body( @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_nested_items_request_body( @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_nested_items_request_body( def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.pyi index 3411d39dd22..da8a4881e44 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_items_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostNestedItemsRequestBody(BaseApi): @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostNestedItemsRequestBody(BaseApi): @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostNestedItemsRequestBody(BaseApi): @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostNestedItemsRequestBody(BaseApi): @typing.overload def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostNestedItemsRequestBody(BaseApi): def post_nested_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.py index f46eaefb83b..d8e864a5079 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_nested_oneof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_nested_oneof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_nested_oneof_to_check_validation_semantics_request_body( @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_nested_oneof_to_check_validation_semantics_request_body( def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostNestedOneofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_nested_oneof_to_check_validation_semantics_request_body( @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_nested_oneof_to_check_validation_semantics_request_body( @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_nested_oneof_to_check_validation_semantics_request_body( @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_nested_oneof_to_check_validation_semantics_request_body( def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.pyi index 20b91c1a168..d1c7abbae0d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostNestedOneofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostNestedOneofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostNestedOneofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostNestedOneofToCheckValidationSemanticsRequestBody(BaseApi): @typing.overload def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostNestedOneofToCheckValidationSemanticsRequestBody(BaseApi): def post_nested_oneof_to_check_validation_semantics_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.py index a816bb617ce..77c3b7223e5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_not_more_complex_schema_request_body( @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_not_more_complex_schema_request_body( @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_not_more_complex_schema_request_body( @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_not_more_complex_schema_request_body( def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostNotMoreComplexSchemaRequestBody(BaseApi): @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_not_more_complex_schema_request_body( @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_not_more_complex_schema_request_body( @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_not_more_complex_schema_request_body( @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_not_more_complex_schema_request_body( def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.pyi index 4927eff114d..1129de97276 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostNotMoreComplexSchemaRequestBody(BaseApi): @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostNotMoreComplexSchemaRequestBody(BaseApi): @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostNotMoreComplexSchemaRequestBody(BaseApi): @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostNotMoreComplexSchemaRequestBody(BaseApi): @typing.overload def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostNotMoreComplexSchemaRequestBody(BaseApi): def post_not_more_complex_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.py index ee833a7b834..556c6c577d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_not_request_body( @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_not_request_body( @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_not_request_body( @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_not_request_body( def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostNotRequestBody(BaseApi): @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_not_request_body( @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_not_request_body( @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_not_request_body( @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_not_request_body( def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.pyi index a369133f8ba..1b042b961e0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_not_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostNotRequestBody(BaseApi): @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostNotRequestBody(BaseApi): @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostNotRequestBody(BaseApi): @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostNotRequestBody(BaseApi): @typing.overload def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostNotRequestBody(BaseApi): def post_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.py index 699a0bda82c..31ecd7f8518 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_nul_characters_in_strings_request_body( @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_nul_characters_in_strings_request_body( @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_nul_characters_in_strings_request_body( @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_nul_characters_in_strings_request_body( def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostNulCharactersInStringsRequestBody(BaseApi): @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_nul_characters_in_strings_request_body( @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_nul_characters_in_strings_request_body( @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_nul_characters_in_strings_request_body( @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_nul_characters_in_strings_request_body( def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.pyi index bac798247fa..dc273cd5a0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostNulCharactersInStringsRequestBody(BaseApi): @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostNulCharactersInStringsRequestBody(BaseApi): @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostNulCharactersInStringsRequestBody(BaseApi): @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostNulCharactersInStringsRequestBody(BaseApi): @typing.overload def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostNulCharactersInStringsRequestBody(BaseApi): def post_nul_characters_in_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.py index f426c1ccfa4..19afa328569 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_null_type_matches_only_the_null_object_request_body( @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_null_type_matches_only_the_null_object_request_body( @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_null_type_matches_only_the_null_object_request_body( @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_null_type_matches_only_the_null_object_request_body( def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostNullTypeMatchesOnlyTheNullObjectRequestBody(BaseApi): @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_null_type_matches_only_the_null_object_request_body( @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_null_type_matches_only_the_null_object_request_body( @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_null_type_matches_only_the_null_object_request_body( @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_null_type_matches_only_the_null_object_request_body( def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.pyi index 7d09c9b5306..c35dada70d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostNullTypeMatchesOnlyTheNullObjectRequestBody(BaseApi): @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostNullTypeMatchesOnlyTheNullObjectRequestBody(BaseApi): @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostNullTypeMatchesOnlyTheNullObjectRequestBody(BaseApi): @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostNullTypeMatchesOnlyTheNullObjectRequestBody(BaseApi): @typing.overload def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostNullTypeMatchesOnlyTheNullObjectRequestBody(BaseApi): def post_null_type_matches_only_the_null_object_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + None + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.py index 35d7d64e740..7e3e9caa9b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.py @@ -46,7 +46,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +62,12 @@ def _post_number_type_matches_numbers_request_body( @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +79,12 @@ def _post_number_type_matches_numbers_request_body( @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +95,12 @@ def _post_number_type_matches_numbers_request_body( @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +113,12 @@ def _post_number_type_matches_numbers_request_body( def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +189,12 @@ class PostNumberTypeMatchesNumbersRequestBody(BaseApi): @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +205,12 @@ def post_number_type_matches_numbers_request_body( @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +222,12 @@ def post_number_type_matches_numbers_request_body( @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +238,12 @@ def post_number_type_matches_numbers_request_body( @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +256,12 @@ def post_number_type_matches_numbers_request_body( def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +284,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +300,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +317,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +333,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +351,12 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.pyi index cf7fb7c7ca2..44d1266734f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/operation.pyi @@ -34,7 +34,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +50,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +67,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +83,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +101,12 @@ class BaseApi(api_client.Api): def _post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +177,12 @@ class PostNumberTypeMatchesNumbersRequestBody(BaseApi): @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +193,12 @@ class PostNumberTypeMatchesNumbersRequestBody(BaseApi): @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +210,12 @@ class PostNumberTypeMatchesNumbersRequestBody(BaseApi): @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +226,12 @@ class PostNumberTypeMatchesNumbersRequestBody(BaseApi): @typing.overload def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +244,12 @@ class PostNumberTypeMatchesNumbersRequestBody(BaseApi): def post_number_type_matches_numbers_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +272,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +288,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +305,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +321,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +339,12 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.py index 5230a0c65c0..8e521651019 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_object_properties_validation_request_body( @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_object_properties_validation_request_body( @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_object_properties_validation_request_body( @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_object_properties_validation_request_body( def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostObjectPropertiesValidationRequestBody(BaseApi): @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_object_properties_validation_request_body( @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_object_properties_validation_request_body( @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_object_properties_validation_request_body( @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_object_properties_validation_request_body( def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.pyi index 0a306bbc455..1819c7c635d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostObjectPropertiesValidationRequestBody(BaseApi): @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostObjectPropertiesValidationRequestBody(BaseApi): @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostObjectPropertiesValidationRequestBody(BaseApi): @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostObjectPropertiesValidationRequestBody(BaseApi): @typing.overload def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostObjectPropertiesValidationRequestBody(BaseApi): def post_object_properties_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.py index 85c3d0b9392..ba4d4dd76c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_object_type_matches_objects_request_body( @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_object_type_matches_objects_request_body( @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_object_type_matches_objects_request_body( @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_object_type_matches_objects_request_body( def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostObjectTypeMatchesObjectsRequestBody(BaseApi): @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_object_type_matches_objects_request_body( @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_object_type_matches_objects_request_body( @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_object_type_matches_objects_request_body( @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_object_type_matches_objects_request_body( def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.pyi index 3775d3fdfa1..f7cab00aaf6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostObjectTypeMatchesObjectsRequestBody(BaseApi): @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostObjectTypeMatchesObjectsRequestBody(BaseApi): @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostObjectTypeMatchesObjectsRequestBody(BaseApi): @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostObjectTypeMatchesObjectsRequestBody(BaseApi): @typing.overload def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostObjectTypeMatchesObjectsRequestBody(BaseApi): def post_object_type_matches_objects_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.py index d1ff04011a3..edcc9704522 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_oneof_complex_types_request_body( @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_oneof_complex_types_request_body( @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_oneof_complex_types_request_body( @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_oneof_complex_types_request_body( def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostOneofComplexTypesRequestBody(BaseApi): @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_oneof_complex_types_request_body( @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_oneof_complex_types_request_body( @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_oneof_complex_types_request_body( @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_oneof_complex_types_request_body( def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.pyi index 62c30a67ba5..c15de938d98 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostOneofComplexTypesRequestBody(BaseApi): @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostOneofComplexTypesRequestBody(BaseApi): @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostOneofComplexTypesRequestBody(BaseApi): @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostOneofComplexTypesRequestBody(BaseApi): @typing.overload def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostOneofComplexTypesRequestBody(BaseApi): def post_oneof_complex_types_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.py index 1e4536d4dd4..5878484b195 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_oneof_request_body( @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_oneof_request_body( @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_oneof_request_body( @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_oneof_request_body( def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostOneofRequestBody(BaseApi): @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_oneof_request_body( @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_oneof_request_body( @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_oneof_request_body( @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_oneof_request_body( def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.pyi index 634530b48c0..47828cef7d8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostOneofRequestBody(BaseApi): @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostOneofRequestBody(BaseApi): @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostOneofRequestBody(BaseApi): @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostOneofRequestBody(BaseApi): @typing.overload def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostOneofRequestBody(BaseApi): def post_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.py index e13ae5d3e54..2024991252a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_oneof_with_base_schema_request_body( @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_oneof_with_base_schema_request_body( @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_oneof_with_base_schema_request_body( @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_oneof_with_base_schema_request_body( def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostOneofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_oneof_with_base_schema_request_body( @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_oneof_with_base_schema_request_body( @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_oneof_with_base_schema_request_body( @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_oneof_with_base_schema_request_body( def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.pyi index 33be2c667af..8dc24db6b01 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostOneofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostOneofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostOneofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostOneofWithBaseSchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostOneofWithBaseSchemaRequestBody(BaseApi): def post_oneof_with_base_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.py index 58801f09e61..2bb9dee7c70 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_oneof_with_empty_schema_request_body( @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_oneof_with_empty_schema_request_body( @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_oneof_with_empty_schema_request_body( @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_oneof_with_empty_schema_request_body( def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostOneofWithEmptySchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_oneof_with_empty_schema_request_body( @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_oneof_with_empty_schema_request_body( @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_oneof_with_empty_schema_request_body( @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_oneof_with_empty_schema_request_body( def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.pyi index b9659723221..6b6454bc44e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostOneofWithEmptySchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostOneofWithEmptySchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostOneofWithEmptySchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostOneofWithEmptySchemaRequestBody(BaseApi): @typing.overload def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostOneofWithEmptySchemaRequestBody(BaseApi): def post_oneof_with_empty_schema_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.py index 6b0f4a71c3b..0cf553f0c8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_oneof_with_required_request_body( @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_oneof_with_required_request_body( @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_oneof_with_required_request_body( @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_oneof_with_required_request_body( def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostOneofWithRequiredRequestBody(BaseApi): @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_oneof_with_required_request_body( @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_oneof_with_required_request_body( @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_oneof_with_required_request_body( @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_oneof_with_required_request_body( def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.pyi index 394f8866e0e..a2a13432294 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostOneofWithRequiredRequestBody(BaseApi): @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostOneofWithRequiredRequestBody(BaseApi): @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostOneofWithRequiredRequestBody(BaseApi): @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostOneofWithRequiredRequestBody(BaseApi): @typing.overload def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostOneofWithRequiredRequestBody(BaseApi): def post_oneof_with_required_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.py index ed272cb7ea8..3246e3451e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_pattern_is_not_anchored_request_body( @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_pattern_is_not_anchored_request_body( @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_pattern_is_not_anchored_request_body( @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_pattern_is_not_anchored_request_body( def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostPatternIsNotAnchoredRequestBody(BaseApi): @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_pattern_is_not_anchored_request_body( @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_pattern_is_not_anchored_request_body( @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_pattern_is_not_anchored_request_body( @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_pattern_is_not_anchored_request_body( def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.pyi index 442212bbbc6..67ada84cb51 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostPatternIsNotAnchoredRequestBody(BaseApi): @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostPatternIsNotAnchoredRequestBody(BaseApi): @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostPatternIsNotAnchoredRequestBody(BaseApi): @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostPatternIsNotAnchoredRequestBody(BaseApi): @typing.overload def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostPatternIsNotAnchoredRequestBody(BaseApi): def post_pattern_is_not_anchored_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.py index 770f09496a7..4ab87cafd6e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_pattern_validation_request_body( @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_pattern_validation_request_body( @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_pattern_validation_request_body( @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_pattern_validation_request_body( def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostPatternValidationRequestBody(BaseApi): @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_pattern_validation_request_body( @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_pattern_validation_request_body( @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_pattern_validation_request_body( @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_pattern_validation_request_body( def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.pyi index 93106d19eb2..3614b548e75 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostPatternValidationRequestBody(BaseApi): @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostPatternValidationRequestBody(BaseApi): @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostPatternValidationRequestBody(BaseApi): @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostPatternValidationRequestBody(BaseApi): @typing.overload def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostPatternValidationRequestBody(BaseApi): def post_pattern_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.py index 34f0f915bc6..3180741a4aa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_properties_with_escaped_characters_request_body( @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_properties_with_escaped_characters_request_body( @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_properties_with_escaped_characters_request_body( @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_properties_with_escaped_characters_request_body( def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostPropertiesWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_properties_with_escaped_characters_request_body( @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_properties_with_escaped_characters_request_body( @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_properties_with_escaped_characters_request_body( @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_properties_with_escaped_characters_request_body( def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.pyi index f18876136ec..e313e3f4b16 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostPropertiesWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostPropertiesWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostPropertiesWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostPropertiesWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostPropertiesWithEscapedCharactersRequestBody(BaseApi): def post_properties_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.py index 18f8fc73965..0d70b43f1d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_property_named_ref_that_is_not_a_reference_request_body( @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_property_named_ref_that_is_not_a_reference_request_body( @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_property_named_ref_that_is_not_a_reference_request_body( @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_property_named_ref_that_is_not_a_reference_request_body( def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostPropertyNamedRefThatIsNotAReferenceRequestBody(BaseApi): @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_property_named_ref_that_is_not_a_reference_request_body( @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_property_named_ref_that_is_not_a_reference_request_body( @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_property_named_ref_that_is_not_a_reference_request_body( @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_property_named_ref_that_is_not_a_reference_request_body( def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.pyi index 846a9aa5977..cbac2e80851 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostPropertyNamedRefThatIsNotAReferenceRequestBody(BaseApi): @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostPropertyNamedRefThatIsNotAReferenceRequestBody(BaseApi): @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostPropertyNamedRefThatIsNotAReferenceRequestBody(BaseApi): @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostPropertyNamedRefThatIsNotAReferenceRequestBody(BaseApi): @typing.overload def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostPropertyNamedRefThatIsNotAReferenceRequestBody(BaseApi): def post_property_named_ref_that_is_not_a_reference_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.py index 264df7482e7..4b4bf49f650 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_ref_in_additionalproperties_request_body( @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_ref_in_additionalproperties_request_body( @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_ref_in_additionalproperties_request_body( @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_ref_in_additionalproperties_request_body( def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostRefInAdditionalpropertiesRequestBody(BaseApi): @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_ref_in_additionalproperties_request_body( @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_ref_in_additionalproperties_request_body( @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_ref_in_additionalproperties_request_body( @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_ref_in_additionalproperties_request_body( def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.pyi index 44a87229ec1..8a536d90fdb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostRefInAdditionalpropertiesRequestBody(BaseApi): @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostRefInAdditionalpropertiesRequestBody(BaseApi): @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostRefInAdditionalpropertiesRequestBody(BaseApi): @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostRefInAdditionalpropertiesRequestBody(BaseApi): @typing.overload def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostRefInAdditionalpropertiesRequestBody(BaseApi): def post_ref_in_additionalproperties_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.py index 318cfa6d36c..3fa30ad031d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_ref_in_allof_request_body( @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_ref_in_allof_request_body( @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_ref_in_allof_request_body( @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_ref_in_allof_request_body( def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRefInAllofRequestBody(BaseApi): @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_ref_in_allof_request_body( @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_ref_in_allof_request_body( @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_ref_in_allof_request_body( @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_ref_in_allof_request_body( def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.pyi index f0dff6104fc..2d79fa29d66 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRefInAllofRequestBody(BaseApi): @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRefInAllofRequestBody(BaseApi): @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRefInAllofRequestBody(BaseApi): @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRefInAllofRequestBody(BaseApi): @typing.overload def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRefInAllofRequestBody(BaseApi): def post_ref_in_allof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.py index 1ecd76f4856..4e969bda6b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_ref_in_anyof_request_body( @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_ref_in_anyof_request_body( @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_ref_in_anyof_request_body( @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_ref_in_anyof_request_body( def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRefInAnyofRequestBody(BaseApi): @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_ref_in_anyof_request_body( @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_ref_in_anyof_request_body( @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_ref_in_anyof_request_body( @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_ref_in_anyof_request_body( def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.pyi index beb4cb25c2f..ca8805bca9f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRefInAnyofRequestBody(BaseApi): @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRefInAnyofRequestBody(BaseApi): @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRefInAnyofRequestBody(BaseApi): @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRefInAnyofRequestBody(BaseApi): @typing.overload def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRefInAnyofRequestBody(BaseApi): def post_ref_in_anyof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.py index 9819660726f..b37431ced86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_ref_in_items_request_body( @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_ref_in_items_request_body( @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_ref_in_items_request_body( @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_ref_in_items_request_body( def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostRefInItemsRequestBody(BaseApi): @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_ref_in_items_request_body( @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_ref_in_items_request_body( @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_ref_in_items_request_body( @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_ref_in_items_request_body( def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.pyi index d46569ee5dc..fe1bb90cdfe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostRefInItemsRequestBody(BaseApi): @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostRefInItemsRequestBody(BaseApi): @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostRefInItemsRequestBody(BaseApi): @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostRefInItemsRequestBody(BaseApi): @typing.overload def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostRefInItemsRequestBody(BaseApi): def post_ref_in_items_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.py index 6063a5e44ed..589324421b5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_ref_in_not_request_body( @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_ref_in_not_request_body( @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_ref_in_not_request_body( @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_ref_in_not_request_body( def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRefInNotRequestBody(BaseApi): @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_ref_in_not_request_body( @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_ref_in_not_request_body( @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_ref_in_not_request_body( @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_ref_in_not_request_body( def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.pyi index 8be964b5ebf..2329df3af5a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRefInNotRequestBody(BaseApi): @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRefInNotRequestBody(BaseApi): @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRefInNotRequestBody(BaseApi): @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRefInNotRequestBody(BaseApi): @typing.overload def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRefInNotRequestBody(BaseApi): def post_ref_in_not_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.py index 39ab6d1746d..83968e17e91 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_ref_in_oneof_request_body( @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_ref_in_oneof_request_body( @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_ref_in_oneof_request_body( @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_ref_in_oneof_request_body( def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRefInOneofRequestBody(BaseApi): @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_ref_in_oneof_request_body( @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_ref_in_oneof_request_body( @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_ref_in_oneof_request_body( @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_ref_in_oneof_request_body( def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.pyi index a7596231ac8..1dcfee8690b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRefInOneofRequestBody(BaseApi): @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRefInOneofRequestBody(BaseApi): @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRefInOneofRequestBody(BaseApi): @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRefInOneofRequestBody(BaseApi): @typing.overload def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRefInOneofRequestBody(BaseApi): def post_ref_in_oneof_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.py index e45ccf36673..5e974a681a2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_ref_in_property_request_body( @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_ref_in_property_request_body( @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_ref_in_property_request_body( @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_ref_in_property_request_body( def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRefInPropertyRequestBody(BaseApi): @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_ref_in_property_request_body( @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_ref_in_property_request_body( @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_ref_in_property_request_body( @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_ref_in_property_request_body( def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.pyi index 39dd62b9823..2a107131744 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRefInPropertyRequestBody(BaseApi): @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRefInPropertyRequestBody(BaseApi): @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRefInPropertyRequestBody(BaseApi): @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRefInPropertyRequestBody(BaseApi): @typing.overload def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRefInPropertyRequestBody(BaseApi): def post_ref_in_property_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.py index babb796c1ea..16b64b8271e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_required_default_validation_request_body( @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_required_default_validation_request_body( @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_required_default_validation_request_body( @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_required_default_validation_request_body( def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRequiredDefaultValidationRequestBody(BaseApi): @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_required_default_validation_request_body( @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_required_default_validation_request_body( @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_required_default_validation_request_body( @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_required_default_validation_request_body( def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.pyi index 9a2b3c7492b..cd1bdee681d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRequiredDefaultValidationRequestBody(BaseApi): @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRequiredDefaultValidationRequestBody(BaseApi): @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRequiredDefaultValidationRequestBody(BaseApi): @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRequiredDefaultValidationRequestBody(BaseApi): @typing.overload def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRequiredDefaultValidationRequestBody(BaseApi): def post_required_default_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.py index 1a5457886d4..aa28a221995 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_required_validation_request_body( @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_required_validation_request_body( @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_required_validation_request_body( @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_required_validation_request_body( def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRequiredValidationRequestBody(BaseApi): @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_required_validation_request_body( @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_required_validation_request_body( @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_required_validation_request_body( @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_required_validation_request_body( def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.pyi index 5766fa1b534..d6e35708e0b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRequiredValidationRequestBody(BaseApi): @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRequiredValidationRequestBody(BaseApi): @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRequiredValidationRequestBody(BaseApi): @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRequiredValidationRequestBody(BaseApi): @typing.overload def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRequiredValidationRequestBody(BaseApi): def post_required_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.py index 7f1b7e0e07e..9c416a88376 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_required_with_empty_array_request_body( @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_required_with_empty_array_request_body( @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_required_with_empty_array_request_body( @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_required_with_empty_array_request_body( def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRequiredWithEmptyArrayRequestBody(BaseApi): @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_required_with_empty_array_request_body( @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_required_with_empty_array_request_body( @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_required_with_empty_array_request_body( @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_required_with_empty_array_request_body( def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.pyi index a712c849060..fb107a93920 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRequiredWithEmptyArrayRequestBody(BaseApi): @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRequiredWithEmptyArrayRequestBody(BaseApi): @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRequiredWithEmptyArrayRequestBody(BaseApi): @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRequiredWithEmptyArrayRequestBody(BaseApi): @typing.overload def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRequiredWithEmptyArrayRequestBody(BaseApi): def post_required_with_empty_array_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.py index 71c325b52da..660584fb8ac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_required_with_escaped_characters_request_body( @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_required_with_escaped_characters_request_body( @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_required_with_escaped_characters_request_body( @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_required_with_escaped_characters_request_body( def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostRequiredWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_required_with_escaped_characters_request_body( @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_required_with_escaped_characters_request_body( @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_required_with_escaped_characters_request_body( @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_required_with_escaped_characters_request_body( def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.pyi index 584bf2ffae7..4403881b02e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostRequiredWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostRequiredWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostRequiredWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostRequiredWithEscapedCharactersRequestBody(BaseApi): @typing.overload def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostRequiredWithEscapedCharactersRequestBody(BaseApi): def post_required_with_escaped_characters_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.py index b465822f66c..5c6feb06a1f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.py @@ -46,7 +46,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +62,12 @@ def _post_simple_enum_validation_request_body( @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +79,12 @@ def _post_simple_enum_validation_request_body( @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +95,12 @@ def _post_simple_enum_validation_request_body( @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +113,12 @@ def _post_simple_enum_validation_request_body( def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +189,12 @@ class PostSimpleEnumValidationRequestBody(BaseApi): @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +205,12 @@ def post_simple_enum_validation_request_body( @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +222,12 @@ def post_simple_enum_validation_request_body( @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +238,12 @@ def post_simple_enum_validation_request_body( @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +256,12 @@ def post_simple_enum_validation_request_body( def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +284,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +300,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +317,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +333,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +351,12 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.pyi index e0af6aaeea7..5ad0c8ca408 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/operation.pyi @@ -34,7 +34,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +50,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +67,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +83,12 @@ class BaseApi(api_client.Api): @typing.overload def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +101,12 @@ class BaseApi(api_client.Api): def _post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +177,12 @@ class PostSimpleEnumValidationRequestBody(BaseApi): @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +193,12 @@ class PostSimpleEnumValidationRequestBody(BaseApi): @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +210,12 @@ class PostSimpleEnumValidationRequestBody(BaseApi): @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +226,12 @@ class PostSimpleEnumValidationRequestBody(BaseApi): @typing.overload def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +244,12 @@ class PostSimpleEnumValidationRequestBody(BaseApi): def post_simple_enum_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +272,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +288,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +305,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +321,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +339,12 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + decimal.Decimal, + int, + float + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.py index f761eecf27e..af8628e304b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.py @@ -46,7 +46,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +60,10 @@ def _post_string_type_matches_strings_request_body( @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +75,10 @@ def _post_string_type_matches_strings_request_body( @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +89,10 @@ def _post_string_type_matches_strings_request_body( @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +105,10 @@ def _post_string_type_matches_strings_request_body( def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +179,10 @@ class PostStringTypeMatchesStringsRequestBody(BaseApi): @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +193,10 @@ def post_string_type_matches_strings_request_body( @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +208,10 @@ def post_string_type_matches_strings_request_body( @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +222,10 @@ def post_string_type_matches_strings_request_body( @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +238,10 @@ def post_string_type_matches_strings_request_body( def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +264,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +278,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +293,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +307,10 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +323,10 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.pyi index 74bcc971d8a..576fde80f8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/operation.pyi @@ -34,7 +34,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +48,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +63,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +77,10 @@ class BaseApi(api_client.Api): @typing.overload def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +93,10 @@ class BaseApi(api_client.Api): def _post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +167,10 @@ class PostStringTypeMatchesStringsRequestBody(BaseApi): @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +181,10 @@ class PostStringTypeMatchesStringsRequestBody(BaseApi): @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +196,10 @@ class PostStringTypeMatchesStringsRequestBody(BaseApi): @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +210,10 @@ class PostStringTypeMatchesStringsRequestBody(BaseApi): @typing.overload def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +226,10 @@ class PostStringTypeMatchesStringsRequestBody(BaseApi): def post_string_type_matches_strings_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +252,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +266,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +281,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +295,10 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +311,10 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + str + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.py index 7ea9766a0ce..7ada32391ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_re def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody(Ba @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_req @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_req @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_req @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_req def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.pyi index 609b868da1f..0e8022bdda6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody(Ba @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody(Ba @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody(Ba @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody(Ba @typing.overload def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class PostTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody(Ba def post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.py index 2ad5431d053..9a013c83c7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_uniqueitems_false_validation_request_body( @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_uniqueitems_false_validation_request_body( @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_uniqueitems_false_validation_request_body( @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_uniqueitems_false_validation_request_body( def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostUniqueitemsFalseValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_uniqueitems_false_validation_request_body( @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_uniqueitems_false_validation_request_body( @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_uniqueitems_false_validation_request_body( @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_uniqueitems_false_validation_request_body( def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.pyi index 0f4ebebad0e..9d3303fcc82 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostUniqueitemsFalseValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostUniqueitemsFalseValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostUniqueitemsFalseValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostUniqueitemsFalseValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostUniqueitemsFalseValidationRequestBody(BaseApi): def post_uniqueitems_false_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.py index 70ff8291cd7..881da69ae3e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_uniqueitems_validation_request_body( @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_uniqueitems_validation_request_body( @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_uniqueitems_validation_request_body( @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_uniqueitems_validation_request_body( def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostUniqueitemsValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_uniqueitems_validation_request_body( @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_uniqueitems_validation_request_body( @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_uniqueitems_validation_request_body( @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_uniqueitems_validation_request_body( def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.pyi index fb2fa269448..8b5daad3b46 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostUniqueitemsValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostUniqueitemsValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostUniqueitemsValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostUniqueitemsValidationRequestBody(BaseApi): @typing.overload def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostUniqueitemsValidationRequestBody(BaseApi): def post_uniqueitems_validation_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.py index 547c3be5433..cb616cacfbd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_uri_format_request_body( @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_uri_format_request_body( @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_uri_format_request_body( @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_uri_format_request_body( def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostUriFormatRequestBody(BaseApi): @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_uri_format_request_body( @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_uri_format_request_body( @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_uri_format_request_body( @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_uri_format_request_body( def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.pyi index d039cccd867..2c69c310593 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostUriFormatRequestBody(BaseApi): @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostUriFormatRequestBody(BaseApi): @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostUriFormatRequestBody(BaseApi): @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostUriFormatRequestBody(BaseApi): @typing.overload def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostUriFormatRequestBody(BaseApi): def post_uri_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.py index 03cb7d5869d..b9b21423c22 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_uri_reference_format_request_body( @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_uri_reference_format_request_body( @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_uri_reference_format_request_body( @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_uri_reference_format_request_body( def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostUriReferenceFormatRequestBody(BaseApi): @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_uri_reference_format_request_body( @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_uri_reference_format_request_body( @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_uri_reference_format_request_body( @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_uri_reference_format_request_body( def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.pyi index cac5b81d979..db57370dcc9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostUriReferenceFormatRequestBody(BaseApi): @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostUriReferenceFormatRequestBody(BaseApi): @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostUriReferenceFormatRequestBody(BaseApi): @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostUriReferenceFormatRequestBody(BaseApi): @typing.overload def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostUriReferenceFormatRequestBody(BaseApi): def post_uri_reference_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.py index ed732a6221e..793b9350fc4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.py @@ -46,7 +46,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +75,25 @@ def _post_uri_template_format_request_body( @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +105,25 @@ def _post_uri_template_format_request_body( @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +134,25 @@ def _post_uri_template_format_request_body( @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +165,25 @@ def _post_uri_template_format_request_body( def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +254,25 @@ class PostUriTemplateFormatRequestBody(BaseApi): @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +283,25 @@ def post_uri_template_format_request_body( @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +313,25 @@ def post_uri_template_format_request_body( @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +342,25 @@ def post_uri_template_format_request_body( @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +373,25 @@ def post_uri_template_format_request_body( def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +414,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +443,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +473,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +502,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +533,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.pyi index 619e1c6a777..e6e525d4447 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/operation.pyi @@ -34,7 +34,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +63,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +93,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +122,25 @@ class BaseApi(api_client.Api): @typing.overload def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +153,25 @@ class BaseApi(api_client.Api): def _post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +242,25 @@ class PostUriTemplateFormatRequestBody(BaseApi): @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +271,25 @@ class PostUriTemplateFormatRequestBody(BaseApi): @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +301,25 @@ class PostUriTemplateFormatRequestBody(BaseApi): @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +330,25 @@ class PostUriTemplateFormatRequestBody(BaseApi): @typing.overload def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +361,25 @@ class PostUriTemplateFormatRequestBody(BaseApi): def post_uri_template_format_request_body( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +402,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +431,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +461,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +490,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +521,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.py index 7a8d396967a..8e91853cb56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.pyi index 009f4613bcd..6ec8ce775b5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py index f50e8154188..f569f5218c4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.pyi index eaab8f4ceea..ba5c998d0b7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py index feda003b75a..efad10e2994 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.pyi index 69bb8f87765..27a279d73c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.py index c52b969f442..4b860dd5994 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.pyi index bdcbf84d556..9722c5394a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py index 7b762a8317e..11fb3201621 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.pyi index 9e30b7a25f5..c12dc30583e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py index 60b5f0b0e1f..0659a860637 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.pyi index 0f1bbeb8d9e..98930d8fd9b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py index 6da33db912e..825a3bf9692 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.pyi index e5222f8bd75..5fc73ccac47 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py index 27dd68483aa..48f90b4242c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.pyi index f5a62d6947a..62d82193cea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py index 0aaf37ce133..07acaa3f56c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi index eda4f92c135..41069b9fe8c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py index b6446a06388..5a17de31d05 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.pyi index 30ad399ddea..eb4089e0cf4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py index d264eb92dcc..29df4b3ae2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.pyi index bc8f6696094..2e6432abe77 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py index 7b5b5f4d32d..2d9c3b01a22 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.pyi index 47649b4c2f8..5e87f08d63a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py index a88a9d97f57..e09ebc79b9e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.pyi index 1ee181d69f9..b164926de26 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py index f64f1f7eae2..fa9152d84d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.pyi index b7c9d8f138e..5204e0ff49a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py index 2df3d9064c6..67abdfe33b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.pyi index cbfeae8c35d..3248f0ad274 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py index 46fc894ea88..5a4952c1df7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi index b34dce0dcb5..1c6017b0eef 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py index 261277d2440..7042d5e34e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.pyi index 3358b78a73b..d3e87bd2810 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py index fa08be89fca..050f27cb473 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.pyi index 7a83cfbb0b7..9a993c1182e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py index 5b37c899a71..4e93ac3ac8f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.pyi index 57d1009ee39..d7d60aec80c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py index 554ccad7182..e107a5d55da 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.pyi index fa85fc7d94a..8c35f346c55 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py index 02c99420240..68ce8ea35ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.pyi index 722b60d2f85..71d8048b5fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py index f88f57577f3..6ec2c8f4767 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.pyi index 3e1ecc08246..4b477684447 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py index 43492a4e887..589b375781f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.pyi index 7a8c5457ece..db479ff73eb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py index d2916dc43c2..272a9d099be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.pyi index 228318b49c9..c28358abbde 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py index 8d83862032e..f783383490f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.pyi index ebf7c9d95f0..9a3faec8562 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py index 29c38d1e8eb..053a728a035 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.pyi index 65f46511868..68c96cbd601 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py index 2f85eae055c..c0bc4fd9c02 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.pyi index a32b61eb132..59b95cdbd72 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py index 3f0609261e5..c509a6c1f8e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.pyi index 43c297427f3..d6c66c016d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py index ed9d41cc0e2..33ebb0ff18d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.pyi index ff146e4ed85..c17cdf0d829 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py index dee3b873ea4..8c1d06f8793 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.pyi index ada27e790f7..354140cabfa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py index d4f2496a3c0..83320f555f0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.pyi index 35eb519badd..8451595247d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py index df7b3f645ed..33f0e71ada6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.pyi index c9789b337dc..6ed045296ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.py index e5f94fe2642..721dc21c9e2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.pyi index 43d76e4e5d1..98c20db8a93 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.py index 3ea0e03ea64..a8165d8074f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.pyi index 037cf091b07..e9707774b96 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py index f2dd7c0b376..5b04ac75ee7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.pyi index c25b805ae66..d8207294fd4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py index f82cc233be4..792037c1675 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.pyi index 634d8b547fa..a93bdabcc95 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py index 0e7fb663585..ae6f65a7ed3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.pyi index 7d7b06007b7..c38fa496641 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py index 78e5599912c..b02853b5984 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.pyi index c7be7178bad..9abbbdcc799 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py index 5c6c90601bd..32b3fe4a564 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.pyi index 62351064c74..de68c106c2f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py index 7c8f4b09d4f..8661605be42 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.pyi index 2b327ee8e96..b4d6aa36f17 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py index 8684c86fad3..d11beb00617 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.pyi index 6194b17d192..31b35b8a89b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py index 40e236529d9..96281388e90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.pyi index 81e2ae7f2af..a41da8d44d4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py index 06bedb4a955..16c994e6149 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.pyi index b8923ea6ae6..a66f86eeb37 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py index db86405afb6..9f38965cb06 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.pyi index 226832829a7..ccd04950f57 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py index 37ceaa6725b..af7954e6fdc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.pyi index ee2f525bbaa..e53991f3445 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py index dd900c22691..620f04d9302 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.pyi index f3f41504383..612f4de53ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py index 1d10d0406c0..77f1a701453 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.pyi index 36a35249422..be473c8f748 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py index 1787c4a3f25..2e769b30bbf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.pyi index da046ab1748..bb3f7b4e113 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py index 99d6a5072b2..3229800db5a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi index 961aff71af2..cd7e0f1c97f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py index 5c162507021..7aff6b36684 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi index 44ab52a5a80..6b648635054 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py index ee92db5b3de..b279e842155 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.pyi index 2857e64aca5..8106ca16245 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py index 52d33718c07..12ce1b5240f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi index eda4bf289c7..13a89b0bce4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py index cdc3e380483..2eae67ad978 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.pyi index a14bf930cbc..f0e5ba93709 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py index 1e457442491..c707a185299 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.pyi index c6175a3e6cd..d05e6a14fdb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py index c77a6a9a402..5402c8ddaeb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.pyi index 4a31c5b2a24..dd736dc42a7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py index d2e85976926..0b0e844d0fa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.pyi index cc4abd37f83..2ce9cd1bab8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py index ef2a9ecd4b6..4df6c2008d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.pyi index 8097c99443b..6581769630f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py index 6fbb8f96524..8b037c05c10 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.pyi index cc60ac80094..c17b6c1e431 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py index 0bc820a33b9..078b4e1215c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.pyi index 6fa4a961daf..48c9831245c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py index 2893a293ac5..8ea90ca5869 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.pyi index 2b948c85d92..86507af2a4a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py index 39dfc53f649..b1be4a89d55 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.pyi index 1655705265e..828d027d90f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py index b9c0b635ba0..9b627cfe37f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.pyi index 7feb3309163..4de1672e87b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py index 57334fd7613..658bad3e5a2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.pyi index ca6919ce7fe..8f246bed65a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py index b0ef515ceee..a9e592e57f6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.pyi index 5186ca31349..1a98091b44f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py index e937886a954..e630a5a36ad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.pyi index a51bd663527..52668934c2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py index 3129198c6b3..42bfffd3d88 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.pyi index 79bb1ad9ec6..53cdd2ba2b7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py index 13aea995cdf..703645a48ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.pyi index 8028fa3f70b..1c66945ab99 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py index f97f4367217..10bcf4785ef 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.pyi index 5cd6e235902..5e44e1fec18 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.py index ef91e2b0c11..75e09f9ab6f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.pyi index db9aa1d0584..bdadf4aef78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.py index dbde599a2db..8a7be959e9e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.pyi index 03c0f2c661f..281d600f2ee 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.py index 9afdc8ce8c9..1d8929a3336 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.pyi index c5c937c0b64..e526e1eef82 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.py index b0430c4ac27..9450dbf7cfb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.pyi index 2832ae0fdf2..ef8c3f3523b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.py index 2a9d82aea02..0850650428a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.pyi index c78226c7684..2993e38052e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.py index 8f3cfad10b3..5bbf8b50401 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.pyi index dde7a7d1a63..4f5779b0c6a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.py index 10eda4e0b16..b6e2b964c12 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.pyi index e5eadb77a4e..a7345780d6c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py index 098e59329ab..42aaf500b26 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.pyi index 25301e43897..6ddf52869df 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py index 112f6ead66d..329cedfe2bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.pyi index e7ac713dbb9..131fc01350d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py index 9fe9a6eee5b..35c693262dc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.pyi index 688dc275a58..567781d3015 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py index 698f421aa6e..92fc033fa8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.pyi index 4aa01f9de3f..9408cc7ee09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py index 0656ee06b48..f2d5cce8c84 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.pyi index 34b56ce176c..146d0325cc8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py index 4c6b9eed311..0a1de86f792 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.pyi index 16df0b84ff2..0f209c2a710 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.py index 6c9808e9a05..b7fc72c798d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.pyi index a0c7b0748c4..8e200c1515c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py index aa8ac4d3910..ea2954da9a0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.pyi index cda6aabb884..61363784f92 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py index 189b5497a4a..557bcb634ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.pyi index f44a74046fd..aa4a20124c7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py index 96e60a5916f..5766e582cc1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.pyi index 13c50a3631a..10c5a6648c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py index 94163a5b1a7..24bf882b1b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.pyi index db7665db3a8..f00cbc05a1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py index 6a7292e504d..eb848a10ecd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.pyi b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.pyi index 8ca4b9a283a..c2d69700457 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/src/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/operation.pyi @@ -27,6 +27,7 @@ from unit_test_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/default_api/post_operators.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/default_api/post_operators.md index 6a3a7f7a32c..42604088bfe 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/default_api/post_operators.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/default_api/post_operators.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -37,11 +37,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Operator](../../../components/schema/operator.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Operator](../../../components/schema/operator.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | OK @@ -61,8 +61,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://localhost:3000 @@ -99,4 +99,4 @@ with this_package.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->post_operators: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/addition_operator.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/addition_operator.md index d3d7dc90af9..515a059b03a 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/addition_operator.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/addition_operator.md @@ -4,13 +4,13 @@ this_package.components.schema.addition_operator ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**a** | decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 64 bit float -**b** | decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 64 bit float -**operator_id** | str, | str, | | if omitted the server will use the default value of ADD +**a** | decimal.Decimal, int, float | decimal.Decimal | | value must be a 64 bit float +**b** | decimal.Decimal, int, float | decimal.Decimal | | value must be a 64 bit float +**operator_id** | str | str | | if omitted the server will use the default value of ADD [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/operator.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/operator.md index 6d0620721b9..662a3aaaf0a 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/operator.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/operator.md @@ -4,7 +4,7 @@ this_package.components.schema.operator ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/subtraction_operator.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/subtraction_operator.md index 1c2291b8567..5c6c40d6310 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/subtraction_operator.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/subtraction_operator.md @@ -4,13 +4,13 @@ this_package.components.schema.subtraction_operator ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**a** | decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 64 bit float -**b** | decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 64 bit float -**operator_id** | str, | str, | | if omitted the server will use the default value of SUB +**a** | decimal.Decimal, int, float | decimal.Decimal | | value must be a 64 bit float +**b** | decimal.Decimal, int, float | decimal.Decimal | | value must be a 64 bit float +**operator_id** | str | str | | if omitted the server will use the default value of SUB [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.py index 03752a83fdf..5ba982a130d 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.py @@ -108,10 +108,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float], + operator_id: typing.Union[Schema_.Properties.OperatorId, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'AdditionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.pyi index 5a0ae8929ea..b152d05520c 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/addition_operator.pyi @@ -101,10 +101,10 @@ class AdditionOperator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float], + operator_id: typing.Union[Schema_.Properties.OperatorId, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'AdditionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.py index 70b488c0db1..04f3800f5a5 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.py @@ -64,7 +64,7 @@ def _1() -> typing.Type['subtraction_operator.SubtractionOperator']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Operator': diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.pyi index 70b488c0db1..04f3800f5a5 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/operator.pyi @@ -64,7 +64,7 @@ class Operator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Operator': diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.py index 1b70880faf5..01e7aca318e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.py @@ -108,10 +108,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float], + operator_id: typing.Union[Schema_.Properties.OperatorId, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'SubtractionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.pyi index 88ce84f4964..43e4bc35125 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/components/schema/subtraction_operator.pyi @@ -101,10 +101,10 @@ class SubtractionOperator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float, ], - b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float, ], - operator_id: typing.Union[Schema_.Properties.OperatorId, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + a: typing.Union[Schema_.Properties.A, decimal.Decimal, int, float], + b: typing.Union[Schema_.Properties.B, decimal.Decimal, int, float], + operator_id: typing.Union[Schema_.Properties.OperatorId, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'SubtractionOperator': return super().__new__( diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.py index 8f2de9b1e22..756798e7be2 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.py @@ -47,7 +47,26 @@ class BaseApi(api_client.Api): def _post_operators( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -58,7 +77,26 @@ def _post_operators( def _post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -71,7 +109,26 @@ def _post_operators( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -81,7 +138,26 @@ def _post_operators( def _post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -94,7 +170,26 @@ def _post_operators( def _post_operators( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -163,7 +258,26 @@ class PostOperators(BaseApi): def post_operators( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -174,7 +288,26 @@ def post_operators( def post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -187,7 +320,26 @@ def post_operators( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -197,7 +349,26 @@ def post_operators( def post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -210,7 +381,26 @@ def post_operators( def post_operators( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -233,7 +423,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -244,7 +453,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -257,7 +485,26 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -267,7 +514,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -280,7 +546,26 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.pyi index 556cf9dae4b..3dc6b58a5ae 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package/paths/operators/post/operation.pyi @@ -35,7 +35,26 @@ class BaseApi(api_client.Api): def _post_operators( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -46,7 +65,26 @@ class BaseApi(api_client.Api): def _post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -59,7 +97,26 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -69,7 +126,26 @@ class BaseApi(api_client.Api): def _post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -82,7 +158,26 @@ class BaseApi(api_client.Api): def _post_operators( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -151,7 +246,26 @@ class PostOperators(BaseApi): def post_operators( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -162,7 +276,26 @@ class PostOperators(BaseApi): def post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -175,7 +308,26 @@ class PostOperators(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -185,7 +337,26 @@ class PostOperators(BaseApi): def post_operators( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -198,7 +369,26 @@ class PostOperators(BaseApi): def post_operators( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -221,7 +411,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -232,7 +441,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -245,7 +473,26 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -255,7 +502,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -268,7 +534,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, diff --git a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_no_explicit_security.md b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_no_explicit_security.md index ab65c35e7d9..260d8515128 100644 --- a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_no_explicit_security.md +++ b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_no_explicit_security.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | OK @@ -46,8 +46,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://localhost:3000 @@ -78,4 +78,4 @@ with this_package.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->path_with_no_explicit_security: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_one_explicit_security.md b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_one_explicit_security.md index 54eef91dab8..9274865fdf7 100644 --- a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_one_explicit_security.md +++ b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_one_explicit_security.md @@ -27,7 +27,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | OK @@ -48,7 +48,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -58,8 +61,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://localhost:3000 @@ -101,4 +104,4 @@ with this_package.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->path_with_one_explicit_security: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_security_from_root.md b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_security_from_root.md index 3955fda799e..1145964f504 100644 --- a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_security_from_root.md +++ b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_security_from_root.md @@ -27,7 +27,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | OK @@ -48,7 +48,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are the general api securities | Security Index | Security Scheme to Scope Names | @@ -61,8 +64,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://localhost:3000 @@ -135,4 +138,4 @@ with this_package.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->path_with_security_from_root: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_two_explicit_security.md b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_two_explicit_security.md index 28fa8fcce92..a959bc157df 100644 --- a/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_two_explicit_security.md +++ b/samples/openapi3/client/features/security/python/docs/apis/tags/default_api/path_with_two_explicit_security.md @@ -27,7 +27,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | OK @@ -48,7 +48,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -59,8 +62,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://localhost:3000 @@ -112,4 +115,4 @@ with this_package.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->path_with_two_explicit_security: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/another_fake_api/call_123_test__special_tags.md b/samples/openapi3/client/petstore/python/docs/apis/tags/another_fake_api/call_123_test__special_tags.md index 1c1aebf01b5..d245c8b1dba 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/another_fake_api/call_123_test__special_tags.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/another_fake_api/call_123_test__special_tags.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[**body**](../../../components/request_bodies/request_body_client.md) | typing.Union[[Client.content.application_json.schema](../../../components/request_bodies/request_body_client.md#request_body_clientcontentapplication_jsonschema)] | required | +[**body**](../../../components/request_bodies/request_body_client.md) | typing.Union[[Client.content.application_json.schema](../../../components/request_bodies/request_body_client.md#content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -30,7 +30,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -44,10 +44,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -58,13 +58,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Client](../../../components/schema/client.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Client](../../../components/schema/client.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -102,4 +102,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling AnotherFakeApi->call_123_test__special_tags: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../AnotherFakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../another_fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/default_api/foo_get.md b/samples/openapi3/client/petstore/python/docs/apis/tags/default_api/foo_get.md index 7c09b2636b8..85e2555c596 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/default_api/foo_get.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/default_api/foo_get.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned default | [Default.response_cls](#default-response_cls) | response @@ -40,10 +40,10 @@ response Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#default-content-applicationjson-schema), ] | | +[body](#default-body) | [content.application_json.schema](#default-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### Default Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#default-content-applicationjson-schema) @@ -54,19 +54,19 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**string** | [**Foo**](../../../components/schema/foo.md) | [**Foo**](../../../components/schema/foo.md) | | [optional] +**string** | [**Foo**](../../../components/schema/foo.md), dict, frozendict.frozendict | [**Foo**](../../../components/schema/foo.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are specific to this endpoint - defaults to server_index=0, server.url = https://path-server-test.petstore.local/v2 @@ -88,7 +88,7 @@ https://petstore.swagger.io/{version} #### Variables Key | Type | Description | Notes --- | ---- | ----------- | ------ -**version** | str, | | must be one of ["v1", "v2", ] if omitted the client will use the default value of v1 +**version** | str | | must be one of ["v1", "v2"] if omitted the client will use the default value of v1 ## Code Sample @@ -112,4 +112,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling DefaultApi->foo_get: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../DefaultApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../default_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/additional_properties_with_array_of_enums.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/additional_properties_with_array_of_enums.md index 561c1b8fa74..8474e7b1217 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/additional_properties_with_array_of_enums.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/additional_properties_with_array_of_enums.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalPropertiesWithArrayOfEnums](../../../components/schema/additional_properties_with_array_of_enums.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalPropertiesWithArrayOfEnums](../../../components/schema/additional_properties_with_array_of_enums.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Got object with additional properties with array of enums @@ -60,10 +60,10 @@ Got object with additional properties with array of enums Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AdditionalPropertiesWithArrayOfEnums](../../../components/schema/additional_properties_with_array_of_enums.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[AdditionalPropertiesWithArrayOfEnums](../../../components/schema/additional_properties_with_array_of_enums.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -120,4 +120,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->additional_properties_with_array_of_enums: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_model.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_model.md index 9f70e04ac16..32168be23cb 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_model.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_model.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, list, tuple] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnimalFarm](../../../components/schema/animal_farm.md) | list, tuple, | tuple, | +[AnimalFarm](../../../components/schema/animal_farm.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output model @@ -60,10 +60,10 @@ Output model Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[AnimalFarm](../../../components/schema/animal_farm.md) | list, tuple, | tuple, | +[AnimalFarm](../../../components/schema/animal_farm.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -117,4 +117,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->array_model: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_of_enums.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_of_enums.md index 4abce5ed491..14113a2623d 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_of_enums.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/array_of_enums.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, list, tuple] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayOfEnums](../../../components/schema/array_of_enums.md) | list, tuple, | tuple, | +[ArrayOfEnums](../../../components/schema/array_of_enums.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Got named array of enums @@ -60,10 +60,10 @@ Got named array of enums Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ArrayOfEnums](../../../components/schema/array_of_enums.md) | list, tuple, | tuple, | +[ArrayOfEnums](../../../components/schema/array_of_enums.md) | list, tuple | tuple | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -118,4 +118,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->array_of_enums: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_file_schema.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_file_schema.md index f148c17be5d..3ab0bd62d07 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_file_schema.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_file_schema.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -38,11 +38,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[FileSchemaTestClass](../../../components/schema/file_schema_test_class.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[FileSchemaTestClass](../../../components/schema/file_schema_test_class.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -50,8 +50,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -93,4 +93,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->body_with_file_schema: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_query_params.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_query_params.md index 7135b0030a1..ed03f9b6260 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_query_params.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/body_with_query_params.md @@ -18,8 +18,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -38,14 +38,15 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[User](../../../components/schema/user.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[User](../../../components/schema/user.md) | dict, frozendict.frozendict | frozendict.frozendict | ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -query | [Parameter0.schema](#parameter0-schema) | | +query | [Parameter0.schema](#parameter0-schema), str | | #### Parameter0 @@ -55,11 +56,11 @@ query | [Parameter0.schema](#parameter0-schema) | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -67,8 +68,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -121,4 +122,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->body_with_query_params: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/boolean.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/boolean.md index 3b932610c72..9c9310cd68d 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/boolean.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/boolean.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, bool] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Boolean](../../../components/schema/boolean.md) | bool, | BoolClass, | +[Boolean](../../../components/schema/boolean.md) | bool | BoolClass | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output boolean @@ -60,10 +60,10 @@ Output boolean Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Boolean](../../../components/schema/boolean.md) | bool, | BoolClass, | +[Boolean](../../../components/schema/boolean.md) | bool | BoolClass | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -115,4 +115,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->boolean: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/case_sensitive_params.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/case_sensitive_params.md index 8b86c7113c4..6d029617fd6 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/case_sensitive_params.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/case_sensitive_params.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -27,12 +27,13 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -someVar | [Parameter0.schema](#parameter0-schema) | | -SomeVar | [Parameter1.schema](#parameter1-schema) | | -some_var | [Parameter2.schema](#parameter2-schema) | | +someVar | [Parameter0.schema](#parameter0-schema), str | | +SomeVar | [Parameter1.schema](#parameter1-schema), str | | +some_var | [Parameter2.schema](#parameter2-schema), str | | #### Parameter0 @@ -42,7 +43,7 @@ some_var | [Parameter2.schema](#parameter2-schema) | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter1 @@ -51,7 +52,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter2 @@ -60,11 +61,11 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -72,8 +73,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -112,4 +113,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->case_sensitive_params: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/client_model.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/client_model.md index 874626b91b4..ad9ecf5b88a 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/client_model.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/client_model.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[**body**](../../../components/request_bodies/request_body_client.md) | typing.Union[[Client.content.application_json.schema](../../../components/request_bodies/request_body_client.md#request_body_clientcontentapplication_jsonschema)] | required | +[**body**](../../../components/request_bodies/request_body_client.md) | typing.Union[[Client.content.application_json.schema](../../../components/request_bodies/request_body_client.md#content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -30,7 +30,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -44,10 +44,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -58,13 +58,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Client](../../../components/schema/client.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Client](../../../components/schema/client.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -102,4 +102,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->client_model: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/composed_one_of_different_types.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/composed_one_of_different_types.md index e28e74ff3cc..e7de50b48a4 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/composed_one_of_different_types.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/composed_one_of_different_types.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ComposedOneOfDifferentTypes](../../../components/schema/composed_one_of_different_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ComposedOneOfDifferentTypes](../../../components/schema/composed_one_of_different_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output model @@ -60,10 +60,10 @@ Output model Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ComposedOneOfDifferentTypes](../../../components/schema/composed_one_of_different_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[ComposedOneOfDifferentTypes](../../../components/schema/composed_one_of_different_types.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -115,4 +115,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->composed_one_of_different_types: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/delete_coffee.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/delete_coffee.md index 4cafdfe782b..00e8a75bcfb 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/delete_coffee.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/delete_coffee.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -28,10 +28,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -id | [Parameter0.schema](#parameter0-schema) | | +id | [Parameter0.schema](#parameter0-schema), str | | #### Parameter0 @@ -44,11 +45,11 @@ The internal object id ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned default | [Default.response_cls](#default-response_cls) | Unexpected error @@ -69,8 +70,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -108,4 +109,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->delete_coffee: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/endpoint_parameters.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/endpoint_parameters.md index 61f06b12621..e266f567292 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/endpoint_parameters.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/endpoint_parameters.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#request_body_request_bodycontentapplication_x_www_form_urlencodedschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#RequestBody-content-applicationxwwwformurlencoded-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | content_type | str | optional, default is 'application/x-www-form-urlencoded' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -40,30 +40,30 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**byte** | str, | str, | None | -**double** | decimal.Decimal, int, float, | decimal.Decimal, | None | value must be a 64 bit float -**number** | decimal.Decimal, int, float, | decimal.Decimal, | None | -**pattern_without_delimiter** | str, | str, | None | -**integer** | decimal.Decimal, int, | decimal.Decimal, | None | [optional] -**int32** | decimal.Decimal, int, | decimal.Decimal, | None | [optional] value must be a 32 bit integer -**int64** | decimal.Decimal, int, | decimal.Decimal, | None | [optional] value must be a 64 bit integer -**float** | decimal.Decimal, int, float, | decimal.Decimal, | None | [optional] value must be a 32 bit float -**string** | str, | str, | None | [optional] -**binary** | bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | None | [optional] -**date** | str, datetime.date, | str, | None | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD -**dateTime** | str, datetime.datetime, | str, | None | [optional] if omitted the server will use the default value of 2010-02-01T10:20:10.111110+01:00 value must conform to RFC-3339 date-time -**password** | str, | str, | None | [optional] -**callback** | str, | str, | None | [optional] +**byte** | str | str | None | +**double** | decimal.Decimal, int, float | decimal.Decimal | None | value must be a 64 bit float +**number** | decimal.Decimal, int, float | decimal.Decimal | None | +**pattern_without_delimiter** | str | str | None | +**integer** | decimal.Decimal, int | decimal.Decimal | None | [optional] +**int32** | decimal.Decimal, int | decimal.Decimal | None | [optional] value must be a 32 bit integer +**int64** | decimal.Decimal, int | decimal.Decimal | None | [optional] value must be a 64 bit integer +**float** | decimal.Decimal, int, float | decimal.Decimal | None | [optional] value must be a 32 bit float +**string** | str | str | None | [optional] +**binary** | bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | None | [optional] +**date** | str, datetime.date | str | None | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD +**dateTime** | str, datetime.datetime | str | None | [optional] if omitted the server will use the default value of 2010-02-01T10:20:10.111110+01:00 value must conform to RFC-3339 date-time +**password** | str | str | None | [optional] +**callback** | str | str | None | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -85,7 +85,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -95,8 +98,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -159,4 +162,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->endpoint_parameters: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/enum_parameters.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/enum_parameters.md index 25f007adc20..108b4b9e8c6 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/enum_parameters.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/enum_parameters.md @@ -20,9 +20,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#request_body_request_bodycontentapplication_x_www_form_urlencodedschema), Unset] | optional, default is unset | -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | -[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#RequestBody-content-applicationxwwwformurlencoded-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | +[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams), dict | | content_type | str | optional, default is 'application/x-www-form-urlencoded' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,13 +42,13 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**enum_form_string_array** | list, tuple, | tuple, [properties.EnumFormStringArray](#requestbody-content-applicationxwwwformurlencoded-schema-properties-enumformstringarray) | Form parameter enum test (string array) | [optional] -**enum_form_string** | str, | str, | Form parameter enum test (string) | [optional] must be one of ["_abc", "-efg", "(xyz)", ] if omitted the server will use the default value of -efg +**enum_form_string_array** | list, tuple | [properties.EnumFormStringArray](#requestbody-content-applicationxwwwformurlencoded-schema-properties-enumformstringarray) | Form parameter enum test (string array) | [optional] +**enum_form_string** | str | str | Form parameter enum test (string) | [optional] must be one of ["_abc", "-efg", "(xyz)"] if omitted the server will use the default value of -efg **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] #### RequestBody content ApplicationXWwwFormUrlencoded Schema properties EnumFormStringArray @@ -59,22 +59,23 @@ Form parameter enum test (string array) ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | Form parameter enum test (string array) | +list, tuple | tuple | Form parameter enum test (string array) | ##### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of [">", "$", ] if omitted the server will use the default value of $ +items | str | str | | must be one of [">", "$"] if omitted the server will use the default value of $ ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -enum_query_string_array | [Parameter2.schema](#parameter2-schema) | | optional -enum_query_string | [Parameter3.schema](#parameter3-schema) | | optional -enum_query_integer | [Parameter4.schema](#parameter4-schema) | | optional -enum_query_double | [Parameter5.schema](#parameter5-schema) | | optional +enum_query_string_array | [Parameter2.schema](#parameter2-schema), list, tuple | | optional +enum_query_string | [Parameter3.schema](#parameter3-schema), str | | optional +enum_query_integer | [Parameter4.schema](#parameter4-schema), decimal.Decimal, int | | optional +enum_query_double | [Parameter5.schema](#parameter5-schema), decimal.Decimal, int, float | | optional #### Parameter2 @@ -87,12 +88,12 @@ Query parameter enum test (string array) ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of [">", "$", ] if omitted the server will use the default value of $ +items | str | str | | must be one of [">", "$"] if omitted the server will use the default value of $ #### Parameter3 @@ -104,7 +105,7 @@ Query parameter enum test (string) ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["_abc", "-efg", "(xyz)", ] if omitted the server will use the default value of -efg +str | str | | must be one of ["_abc", "-efg", "(xyz)"] if omitted the server will use the default value of -efg #### Parameter4 @@ -116,7 +117,7 @@ Query parameter enum test (double) ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | must be one of [1, -2, ] value must be a 32 bit integer +decimal.Decimal, int | decimal.Decimal | | must be one of [1, -2] value must be a 32 bit integer #### Parameter5 @@ -128,15 +129,16 @@ Query parameter enum test (double) ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | must be one of [1.1, -1.2, ] value must be a 64 bit float +decimal.Decimal, int, float | decimal.Decimal | | must be one of [1.1, -1.2] value must be a 64 bit float ### header_params #### RequestHeaderParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -enum_header_string_array | [Parameter0.schema](#parameter0-schema) | | optional -enum_header_string | [Parameter1.schema](#parameter1-schema) | | optional +enum_header_string_array | [Parameter0.schema](#parameter0-schema), list, tuple | | optional +enum_header_string | [Parameter1.schema](#parameter1-schema), str | | optional #### Parameter0 @@ -149,12 +151,12 @@ Header parameter enum test (string array) ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of [">", "$", ] if omitted the server will use the default value of $ +items | str | str | | must be one of [">", "$"] if omitted the server will use the default value of $ #### Parameter1 @@ -166,11 +168,11 @@ Header parameter enum test (string) ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["_abc", "-efg", "(xyz)", ] if omitted the server will use the default value of -efg +str | str | | must be one of ["_abc", "-efg", "(xyz)"] if omitted the server will use the default value of -efg ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -185,10 +187,10 @@ Not found Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor404-content-applicationjson-schema), ] | | +[body](#responsefor404-body) | [content.application_json.schema](#responsefor404-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor404 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor404-content-applicationjson-schema) @@ -199,13 +201,13 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -262,4 +264,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->enum_parameters: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/fake_health_get.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/fake_health_get.md index b962d9642bc..098301f23fa 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/fake_health_get.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/fake_health_get.md @@ -27,7 +27,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | The instance started successfully @@ -41,10 +41,10 @@ The instance started successfully Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -55,13 +55,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[HealthCheckResult](../../../components/schema/health_check_result.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[HealthCheckResult](../../../components/schema/health_check_result.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -94,4 +94,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->fake_health_get: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/group_parameters.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/group_parameters.md index 39e7ef10c5e..cf738f57a13 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/group_parameters.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/group_parameters.md @@ -21,8 +21,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | -[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | +[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -30,13 +30,14 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -required_string_group | [Parameter0.schema](#parameter0-schema) | | -required_int64_group | [Parameter2.schema](#parameter2-schema) | | -string_group | [Parameter3.schema](#parameter3-schema) | | optional -int64_group | [Parameter5.schema](#parameter5-schema) | | optional +required_string_group | [Parameter0.schema](#parameter0-schema), str | | +required_int64_group | [Parameter2.schema](#parameter2-schema), decimal.Decimal, int | | +string_group | [Parameter3.schema](#parameter3-schema), str | | optional +int64_group | [Parameter5.schema](#parameter5-schema), decimal.Decimal, int | | optional #### Parameter0 @@ -49,7 +50,7 @@ Required String in group parameters ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter2 @@ -61,7 +62,7 @@ Required Integer in group parameters ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer #### Parameter3 @@ -73,7 +74,7 @@ String in group parameters ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter5 @@ -85,15 +86,16 @@ Integer in group parameters ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer ### header_params #### RequestHeaderParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -required_boolean_group | [Parameter1.schema](#parameter1-schema) | | -boolean_group | [Parameter4.schema](#parameter4-schema) | | optional +required_boolean_group | [Parameter1.schema](#parameter1-schema), str | | +boolean_group | [Parameter4.schema](#parameter4-schema), str | | optional #### Parameter1 @@ -106,7 +108,7 @@ Required Boolean in group parameters ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["true", "false", ] +str | str | | must be one of ["true", "false"] #### Parameter4 @@ -118,11 +120,11 @@ Boolean in group parameters ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["true", "false", ] +str | str | | must be one of ["true", "false"] ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -131,7 +133,10 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -141,8 +146,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -217,4 +222,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->group_parameters: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_additional_properties.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_additional_properties.md index 9f05662fcde..a7970474024 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_additional_properties.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_additional_properties.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -41,16 +41,16 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | str | str | any string name can be used but the value must be the correct type | [optional] ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -58,8 +58,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -97,4 +97,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->inline_additional_properties: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_composition.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_composition.md index b0349e7dfaa..baeab948094 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_composition.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/inline_composition.md @@ -12,6 +12,7 @@ | Field | Value | | ----- | ----- | | Summary | testing composed schemas at inline locations | +| Description | composed schemas at inline locations + multiple requestBody content types | | Path | "/fake/inlineComposition/" | | HTTP Method | post | @@ -19,8 +20,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), [RequestBody.content.multipart_form_data.schema](#request_body_request_bodycontentmultipart_form_dataschema), Unset] | optional, default is unset | -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), [RequestBody.content.multipart_form_data.schema](#RequestBody-content-multipartformdata-schema), Unset, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | optional, default is unset | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", "multipart/form-data", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -44,31 +45,31 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ##### Composed Schemas (allOf/anyOf/oneOf/not) ##### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#requestbody-content-applicationjson-schema-allof-_0) | str, | str, | | +[_0](#requestbody-content-applicationjson-schema-allof-_0) | str | str | | #### RequestBody content ApplicationJson Schema allof _0 ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### RequestBody content MultipartFormData Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, [properties.SomeProp](#requestbody-content-multipartformdata-schema-properties-someprop) | | [optional] +**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [properties.SomeProp](#requestbody-content-multipartformdata-schema-properties-someprop) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] #### RequestBody content MultipartFormData Schema properties SomeProp @@ -76,28 +77,29 @@ Key | Input Type | Accessed Type | Description | Notes ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ##### Composed Schemas (allOf/anyOf/oneOf/not) ##### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#requestbody-content-multipartformdata-schema-properties-someprop-allof-_0) | str, | str, | | +[_0](#requestbody-content-multipartformdata-schema-properties-someprop-allof-_0) | str | str | | #### RequestBody content MultipartFormData Schema properties SomeProp allof _0 ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -compositionAtRoot | [Parameter0.schema](#parameter0-schema) | | optional -compositionInProperty | [Parameter1.schema](#parameter1-schema) | | optional +compositionAtRoot | [Parameter0.schema](#parameter0-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | | optional +compositionInProperty | [Parameter1.schema](#parameter1-schema), dict, frozendict.frozendict | | optional #### Parameter0 @@ -107,20 +109,20 @@ compositionInProperty | [Parameter1.schema](#parameter1-schema) | | optional ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ###### Composed Schemas (allOf/anyOf/oneOf/not) ###### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#parameter0-schema-allof-_0) | str, | str, | | +[_0](#parameter0-schema-allof-_0) | str | str | | ##### Parameter0 Schema allof _0 ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter1 @@ -129,12 +131,12 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ###### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, [properties.SomeProp](#parameter1-schema-properties-someprop) | | [optional] +**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [properties.SomeProp](#parameter1-schema-properties-someprop) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ##### Parameter1 Schema properties SomeProp @@ -142,24 +144,24 @@ Key | Input Type | Accessed Type | Description | Notes ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ###### Composed Schemas (allOf/anyOf/oneOf/not) ###### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#parameter1-schema-properties-someprop-allof-_0) | str, | str, | | +[_0](#parameter1-schema-properties-someprop-allof-_0) | str | str | | ##### Parameter1 Schema properties SomeProp allof _0 ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success, multiple content types @@ -173,10 +175,10 @@ success, multiple content types Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), [content.multipart_form_data.schema](#responsefor200-content-multipartformdata-schema), ] | | +[body](#responsefor200-body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), [content.multipart_form_data.schema](#responsefor200-content-multipartformdata-schema)] | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -188,31 +190,31 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ##### Composed Schemas (allOf/anyOf/oneOf/not) ##### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#responsefor200-content-applicationjson-schema-allof-_0) | str, | str, | | +[_0](#responsefor200-content-applicationjson-schema-allof-_0) | str | str | | #### ResponseFor200 content ApplicationJson Schema allof _0 ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### ResponseFor200 content MultipartFormData Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, [properties.SomeProp](#responsefor200-content-multipartformdata-schema-properties-someprop) | | [optional] +**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [properties.SomeProp](#responsefor200-content-multipartformdata-schema-properties-someprop) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] #### ResponseFor200 content MultipartFormData Schema properties SomeProp @@ -220,26 +222,26 @@ Key | Input Type | Accessed Type | Description | Notes ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ##### Composed Schemas (allOf/anyOf/oneOf/not) ##### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#responsefor200-content-multipartformdata-schema-properties-someprop-allof-_0) | str, | str, | | +[_0](#responsefor200-content-multipartformdata-schema-properties-someprop-allof-_0) | str | str | | #### ResponseFor200 content MultipartFormData Schema properties SomeProp allof _0 ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -282,4 +284,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->inline_composition: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_form_data.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_form_data.md index 1be72938815..b3df168c851 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_form_data.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_form_data.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#request_body_request_bodycontentapplication_x_www_form_urlencodedschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#RequestBody-content-applicationxwwwformurlencoded-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | content_type | str | optional, default is 'application/x-www-form-urlencoded' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -38,18 +38,18 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**param** | str, | str, | field1 | -**param2** | str, | str, | field2 | +**param** | str | str | field1 | +**param2** | str | str | field2 | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -57,8 +57,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -97,4 +97,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->json_form_data: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_patch.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_patch.md index 8e27d37e508..c6d18fa422e 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_patch.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_patch.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json_patchjson.schema](#request_body_request_bodycontentapplication_json_patchjsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json_patchjson.schema](#RequestBody-content-applicationjsonpatchjson-schema), Unset, list, tuple] | optional, default is unset | content_type | str | optional, default is 'application/json-patch+json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -39,11 +39,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[JSONPatchRequest](../../../components/schema/json_patch_request.md) | list, tuple, | tuple, | +[JSONPatchRequest](../../../components/schema/json_patch_request.md) | list, tuple | tuple | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -51,8 +51,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -90,4 +90,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->json_patch: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_with_charset.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_with_charset.md index cd946aaf05e..f1429a8cd0e 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_with_charset.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/json_with_charset.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json_charsetutf8.schema](#request_body_request_bodycontentapplication_json_charsetutf8schema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json_charsetutf8.schema](#RequestBody-content-applicationjsoncharsetutf8-schema), Unset, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | optional, default is unset | content_type | str | optional, default is 'application/json; charset=utf-8' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json; charset=utf-8", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -39,11 +39,11 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -57,10 +57,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json_charsetutf8.schema](#responsefor200-content-applicationjsoncharsetutf8-schema), ] | | +[body](#responsefor200-body) | [content.application_json_charsetutf8.schema](#responsefor200-content-applicationjsoncharsetutf8-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json; charset=utf-8" | [content.application_json_charsetutf8.Schema](#responsefor200-content-applicationjsoncharsetutf8-schema) @@ -71,13 +71,13 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -113,4 +113,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->json_with_charset: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/mammal.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/mammal.md index f6caa94f49d..e9b215f1c3b 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/mammal.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/mammal.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Mammal](../../../components/schema/mammal.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Mammal](../../../components/schema/mammal.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output mammal @@ -60,10 +60,10 @@ Output mammal Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Mammal](../../../components/schema/mammal.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | +[Mammal](../../../components/schema/mammal.md) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -119,4 +119,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->mammal: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_response_bodies.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_response_bodies.md index acd513cc2cc..8895e76d4a8 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_response_bodies.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_response_bodies.md @@ -27,7 +27,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -42,10 +42,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -56,7 +56,7 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## ResponseFor202 @@ -67,10 +67,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body-1) | typing.Union[[content.application_json.schema](#responsefor202-content-applicationjson-schema), ] | | +[body](#responsefor202-body) | [content.application_json.schema](#responsefor202-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor202 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor202-content-applicationjson-schema) @@ -81,13 +81,13 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -120,4 +120,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->multiple_response_bodies: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_securities.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_securities.md index c7951a0c2ee..011050238b8 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_securities.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/multiple_securities.md @@ -28,7 +28,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -42,10 +42,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -56,13 +56,16 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Security Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -74,8 +77,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -138,4 +141,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->multiple_securities: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/number_with_validations.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/number_with_validations.md index d883fa359aa..e9751806c86 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/number_with_validations.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/number_with_validations.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, decimal.Decimal, int, float] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberWithValidations](../../../components/schema/number_with_validations.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberWithValidations](../../../components/schema/number_with_validations.md) | decimal.Decimal, int, float | decimal.Decimal | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output number @@ -60,10 +60,10 @@ Output number Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[NumberWithValidations](../../../components/schema/number_with_validations.md) | decimal.Decimal, int, float, | decimal.Decimal, | +[NumberWithValidations](../../../components/schema/number_with_validations.md) | decimal.Decimal, int, float | decimal.Decimal | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -115,4 +115,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->number_with_validations: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_in_query.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_in_query.md index ba640e06180..66b26c3d051 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_in_query.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_in_query.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -27,10 +27,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -mapBean | [Parameter0.schema](#parameter0-schema) | | optional +mapBean | [Parameter0.schema](#parameter0-schema), dict, frozendict.frozendict | | optional #### Parameter0 @@ -43,17 +44,17 @@ mapBean ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ###### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**keyword** | str, | str, | | [optional] +**keyword** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -61,8 +62,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -102,4 +103,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->object_in_query: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_model_with_ref_props.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_model_with_ref_props.md index d393131fe5d..12b369d5590 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_model_with_ref_props.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/object_model_with_ref_props.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectModelWithRefProps](../../../components/schema/object_model_with_ref_props.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectModelWithRefProps](../../../components/schema/object_model_with_ref_props.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output model @@ -60,10 +60,10 @@ Output model Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ObjectModelWithRefProps](../../../components/schema/object_model_with_ref_props.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ObjectModelWithRefProps](../../../components/schema/object_model_with_ref_props.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -119,4 +119,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->object_model_with_ref_props: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/parameter_collisions.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/parameter_collisions.md index 97131e783ae..c724d1278e1 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/parameter_collisions.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/parameter_collisions.md @@ -19,11 +19,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | -[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams) | | -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | -[cookie_params](#cookie-params) | [RequestCookieParameters.Params](#requestcookieparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] | optional, default is unset | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | +[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams), dict | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | +[cookie_params](#cookie-params) | [RequestCookieParameters.Params](#requestcookieparametersparams), dict | | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -43,18 +43,19 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -1 | [Parameter0.schema](#parameter0-schema) | | optional -aB | [Parameter1.schema](#parameter1-schema) | | optional -Ab | [Parameter2.schema](#parameter2-schema) | | optional -self | [Parameter3.schema](#parameter3-schema) | | optional -A-B | [Parameter4.schema](#parameter4-schema) | | optional +1 | [Parameter0.schema](#parameter0-schema), str | | optional +aB | [Parameter1.schema](#parameter1-schema), str | | optional +Ab | [Parameter2.schema](#parameter2-schema), str | | optional +self | [Parameter3.schema](#parameter3-schema), str | | optional +A-B | [Parameter4.schema](#parameter4-schema), str | | optional #### Parameter0 @@ -64,7 +65,7 @@ A-B | [Parameter4.schema](#parameter4-schema) | | optional ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter1 @@ -73,7 +74,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter2 @@ -82,7 +83,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter3 @@ -91,7 +92,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter4 @@ -100,17 +101,18 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ### header_params #### RequestHeaderParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -1 | [Parameter5.schema](#parameter5-schema) | | optional -aB | [Parameter6.schema](#parameter6-schema) | | optional -self | [Parameter7.schema](#parameter7-schema) | | optional -A-B | [Parameter8.schema](#parameter8-schema) | | optional +1 | [Parameter5.schema](#parameter5-schema), str | | optional +aB | [Parameter6.schema](#parameter6-schema), str | | optional +self | [Parameter7.schema](#parameter7-schema), str | | optional +A-B | [Parameter8.schema](#parameter8-schema), str | | optional #### Parameter5 @@ -120,7 +122,7 @@ A-B | [Parameter8.schema](#parameter8-schema) | | optional ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter6 @@ -129,7 +131,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter7 @@ -138,7 +140,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter8 @@ -147,18 +149,19 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -1 | [Parameter9.schema](#parameter9-schema) | | -aB | [Parameter10.schema](#parameter10-schema) | | -Ab | [Parameter11.schema](#parameter11-schema) | | -self | [Parameter12.schema](#parameter12-schema) | | -A-B | [Parameter13.schema](#parameter13-schema) | | +1 | [Parameter9.schema](#parameter9-schema), str | | +aB | [Parameter10.schema](#parameter10-schema), str | | +Ab | [Parameter11.schema](#parameter11-schema), str | | +self | [Parameter12.schema](#parameter12-schema), str | | +A-B | [Parameter13.schema](#parameter13-schema), str | | #### Parameter9 @@ -168,7 +171,7 @@ A-B | [Parameter13.schema](#parameter13-schema) | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter10 @@ -177,7 +180,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter11 @@ -186,7 +189,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter12 @@ -195,7 +198,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter13 @@ -204,18 +207,19 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ### cookie_params #### RequestCookieParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -1 | [Parameter14.schema](#parameter14-schema) | | optional -aB | [Parameter15.schema](#parameter15-schema) | | optional -Ab | [Parameter16.schema](#parameter16-schema) | | optional -self | [Parameter17.schema](#parameter17-schema) | | optional -A-B | [Parameter18.schema](#parameter18-schema) | | optional +1 | [Parameter14.schema](#parameter14-schema), str | | optional +aB | [Parameter15.schema](#parameter15-schema), str | | optional +Ab | [Parameter16.schema](#parameter16-schema), str | | optional +self | [Parameter17.schema](#parameter17-schema), str | | optional +A-B | [Parameter18.schema](#parameter18-schema), str | | optional #### Parameter14 @@ -225,7 +229,7 @@ A-B | [Parameter18.schema](#parameter18-schema) | | optional ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter15 @@ -234,7 +238,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter16 @@ -243,7 +247,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter17 @@ -252,7 +256,7 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter18 @@ -261,11 +265,11 @@ str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -279,10 +283,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -293,13 +297,13 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -392,4 +396,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->parameter_collisions: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_param_with_json_content_type.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_param_with_json_content_type.md index f65b6280083..7e00a085434 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_param_with_json_content_type.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_param_with_json_content_type.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -28,10 +28,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -someParam | [Parameter0.content.application_json.schema](#parameter0-content-applicationjson-schema) | | +someParam | [Parameter0.content.application_json.schema](#parameter0-content-applicationjson-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | | #### Parameter0 @@ -48,11 +49,11 @@ Content-Type | Schema ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | success @@ -66,10 +67,10 @@ success Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -80,13 +81,13 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -124,4 +125,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->query_param_with_json_content_type: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_parameter_collection_format.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_parameter_collection_format.md index 05504b09ceb..4e388faad05 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_parameter_collection_format.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/query_parameter_collection_format.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -27,15 +27,16 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -pipe | [Parameter0.schema](#parameter0-schema) | | -ioutil | [Parameter1.schema](#parameter1-schema) | | -http | [Parameter2.schema](#parameter2-schema) | | -url | [Parameter3.schema](#parameter3-schema) | | -context | [Parameter4.schema](#parameter4-schema) | | -refParam | [Parameter5.schema](#parameter5-schema) | | +pipe | [Parameter0.schema](#parameter0-schema), list, tuple | | +ioutil | [Parameter1.schema](#parameter1-schema), list, tuple | | +http | [Parameter2.schema](#parameter2-schema), list, tuple | | +url | [Parameter3.schema](#parameter3-schema), list, tuple | | +context | [Parameter4.schema](#parameter4-schema), list, tuple | | +refParam | [Parameter5.schema](#parameter5-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | | #### Parameter0 @@ -45,12 +46,12 @@ refParam | [Parameter5.schema](#parameter5-schema) | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | #### Parameter1 @@ -59,12 +60,12 @@ items | str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | #### Parameter2 @@ -73,12 +74,12 @@ items | str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | #### Parameter3 @@ -87,12 +88,12 @@ items | str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | #### Parameter4 @@ -101,12 +102,12 @@ items | str, | str, | | ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | #### Parameter5 @@ -115,11 +116,11 @@ items | str, | str, | | ###### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringWithValidation](../../../components/schema/string_with_validation.md) | str, | str, | +[StringWithValidation](../../../components/schema/string_with_validation.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -127,8 +128,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -180,4 +181,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->query_parameter_collection_format: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/ref_object_in_query.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/ref_object_in_query.md index aa8952bd355..302ffc9427b 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/ref_object_in_query.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/ref_object_in_query.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -27,10 +27,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -mapBean | [Parameter0.schema](#parameter0-schema) | | optional +mapBean | [Parameter0.schema](#parameter0-schema), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | | optional #### Parameter0 @@ -43,11 +44,11 @@ mapBean ###### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Foo](../../../components/schema/foo.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Foo](../../../components/schema/foo.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -55,8 +56,8 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -96,4 +97,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->ref_object_in_query: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/response_without_schema.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/response_without_schema.md index 53faa76a7c8..b2da9ceafeb 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/response_without_schema.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/response_without_schema.md @@ -27,7 +27,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | contents without schema definition, multiple content types @@ -41,10 +41,10 @@ contents without schema definition, multiple content types Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | Unset | body was not defined | +[body](#responsefor200-body) | Unset | body was not defined | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | no schema defined @@ -53,8 +53,8 @@ Content-Type | Schema ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -87,4 +87,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->response_without_schema: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string.md index 9e27f6ba885..892a3c5c20d 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, str] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[String](../../../components/schema/string.md) | str, | str, | +[String](../../../components/schema/string.md) | str | str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output string @@ -60,10 +60,10 @@ Output string Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[String](../../../components/schema/string.md) | str, | str, | +[String](../../../components/schema/string.md) | str | str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -115,4 +115,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->string: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string_enum.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string_enum.md index cb3e6c65f47..74cb736b958 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string_enum.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/string_enum.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), Unset, None, str] | optional, default is unset | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringEnum](../../../components/schema/string_enum.md) | None, str, | NoneClass, str, | +[StringEnum](../../../components/schema/string_enum.md) | None, str | NoneClass, str | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | Output enum @@ -60,10 +60,10 @@ Output enum Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -74,13 +74,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringEnum](../../../components/schema/string_enum.md) | None, str, | NoneClass, str, | +[StringEnum](../../../components/schema/string_enum.md) | None, str | NoneClass, str | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -115,4 +115,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->string_enum: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_download_file.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_download_file.md index 6000b46654d..11d68fe7349 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_download_file.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_download_file.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_octet_stream.schema](#request_body_request_bodycontentapplication_octet_streamschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_octet_stream.schema](#RequestBody-content-applicationoctetstream-schema), bytes, io.FileIO, io.BufferedReader] | required | content_type | str | optional, default is 'application/octet-stream' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/octet-stream", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ file to upload ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | file to upload | +bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | file to upload | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -60,10 +60,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_octet_stream.schema](#responsefor200-content-applicationoctetstream-schema), ] | | +[body](#responsefor200-body) | [content.application_octet_stream.schema](#responsefor200-content-applicationoctetstream-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/octet-stream" | [content.application_octet_stream.Schema](#responsefor200-content-applicationoctetstream-schema) @@ -77,13 +77,13 @@ file to download ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | file to download | +bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | file to download | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -119,4 +119,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->upload_download_file: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_file.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_file.md index b7ee6097451..23dd788d93e 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_file.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_file.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#request_body_request_bodycontentmultipart_form_dataschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#RequestBody-content-multipartformdata-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | content_type | str | optional, default is 'multipart/form-data' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -39,18 +39,18 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**file** | bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | file to upload | -**additionalMetadata** | str, | str, | Additional data to pass to server | [optional] +**file** | bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | file to upload | +**additionalMetadata** | str | str | Additional data to pass to server | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -64,10 +64,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -78,13 +78,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ApiResponse](../../../components/schema/api_response.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ApiResponse](../../../components/schema/api_response.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -123,4 +123,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->upload_file: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_files.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_files.md index fe8d7b4e951..eabfb2eb523 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_files.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_api/upload_files.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#request_body_request_bodycontentmultipart_form_dataschema), Unset] | optional, default is unset | +[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#RequestBody-content-multipartformdata-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | content_type | str | optional, default is 'multipart/form-data' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -39,12 +39,12 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**files** | list, tuple, | tuple, [properties.Files](#requestbody-content-multipartformdata-schema-properties-files) | | [optional] +**files** | list, tuple | [properties.Files](#requestbody-content-multipartformdata-schema-properties-files) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] #### RequestBody content MultipartFormData Schema properties Files @@ -52,16 +52,16 @@ Key | Input Type | Accessed Type | Description | Notes ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ##### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | | +items | bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -75,10 +75,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -89,13 +89,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ApiResponse](../../../components/schema/api_response.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ApiResponse](../../../components/schema/api_response.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -135,4 +135,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeApi->upload_files: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_classname_tags123_api/classname.md b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_classname_tags123_api/classname.md index 0eac1e8fd8b..64b9d037580 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/fake_classname_tags123_api/classname.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/fake_classname_tags123_api/classname.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[**body**](../../../components/request_bodies/request_body_client.md) | typing.Union[[Client.content.application_json.schema](../../../components/request_bodies/request_body_client.md#request_body_clientcontentapplication_jsonschema)] | required | +[**body**](../../../components/request_bodies/request_body_client.md) | typing.Union[[Client.content.application_json.schema](../../../components/request_bodies/request_body_client.md#content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -31,7 +31,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -45,10 +45,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -59,13 +59,16 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Client](../../../components/schema/client.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Client](../../../components/schema/client.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Security Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -75,8 +78,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -125,4 +128,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling FakeClassnameTags123Api->classname: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../FakeClassnameTags123Api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../fake_classname_tags123_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/add_pet.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/add_pet.md index 5b72af2e0f6..f304a3a9600 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/add_pet.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/add_pet.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[**body**](../../../components/request_bodies/request_body_pet.md) | typing.Union[[Pet.content.application_json.schema](../../../components/request_bodies/request_body_pet.md#request_body_petcontentapplication_jsonschema), [Pet.content.application_xml.schema](../../../components/request_bodies/request_body_pet.md#request_body_petcontentapplication_xmlschema)] | required | +[**body**](../../../components/request_bodies/request_body_pet.md) | typing.Union[[Pet.content.application_json.schema](../../../components/request_bodies/request_body_pet.md#content-applicationjson-schema), [Pet.content.application_xml.schema](../../../components/request_bodies/request_body_pet.md#content-applicationxml-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -30,7 +30,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -52,7 +52,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -64,8 +67,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -165,4 +168,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->add_pet: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/delete_pet.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/delete_pet.md index 52bb7a2325d..bc9d60ce137 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/delete_pet.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/delete_pet.md @@ -20,8 +20,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams) | | -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[header_params](#header_params) | [RequestHeaderParameters.Params](#requestheaderparametersparams), dict | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -29,10 +29,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### header_params #### RequestHeaderParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -api_key | [Parameter0.schema](#parameter0-schema) | | optional +api_key | [Parameter0.schema](#parameter0-schema), str | | optional #### Parameter0 @@ -42,14 +43,15 @@ api_key | [Parameter0.schema](#parameter0-schema) | | optional ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -petId | [Parameter1.schema](#parameter1-schema) | | +petId | [Parameter1.schema](#parameter1-schema), decimal.Decimal, int | | #### Parameter1 @@ -62,11 +64,11 @@ Pet id to delete ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 400 | [ResponseFor400.response_cls](#responsefor400-response_cls) | Invalid pet value @@ -87,7 +89,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -98,8 +103,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -177,4 +182,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->delete_pet: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_status.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_status.md index fe6fba3c023..39960fc30aa 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_status.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_status.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | accept_content_types | typing.Tuple[str] | default is ("application/xml", "application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -30,10 +30,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -status | [Parameter0.schema](#parameter0-schema) | | +status | [Parameter0.schema](#parameter0-schema), list, tuple | | #### Parameter0 @@ -46,16 +47,16 @@ Status values that need to be considered for filter ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["available", "pending", "sold", ] if omitted the server will use the default value of available +items | str | str | | must be one of ["available", "pending", "sold"] if omitted the server will use the default value of available ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessfulXmlAndJsonArrayOfPet.response_cls](../../../components/responses/response_successful_xml_and_json_array_of_pet.md#response_successful_xml_and_json_array_of_petresponse_cls) | successful operation, multiple content types @@ -77,7 +78,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -89,8 +93,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are specific to this "/pet/findByStatus" path - defaults to server_index=0, server.url = https://path-server-test.petstore.local/v2 @@ -111,7 +115,7 @@ https://petstore.swagger.io/{version} #### Variables Key | Type | Description | Notes --- | ---- | ----------- | ------ -**version** | str, | | must be one of ["v1", "v2", ] if omitted the client will use the default value of v1 +**version** | str | | must be one of ["v1", "v2"] if omitted the client will use the default value of v1 ## Code Sample @@ -190,4 +194,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->find_pets_by_status: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_tags.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_tags.md index f923a2b1993..8baed3fe565 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_tags.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/find_pets_by_tags.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -29,10 +29,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -tags | [Parameter0.schema](#parameter0-schema) | | +tags | [Parameter0.schema](#parameter0-schema), list, tuple | | #### Parameter0 @@ -45,16 +46,16 @@ Tags to filter by ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ###### List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [RefSuccessfulXmlAndJsonArrayOfPet.response_cls](../../../components/responses/response_ref_successful_xml_and_json_array_of_pet.md#response_ref_successful_xml_and_json_array_of_petresponse_cls) | successful operation, multiple content types @@ -76,7 +77,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -87,8 +91,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -165,4 +169,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->find_pets_by_tags: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/get_pet_by_id.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/get_pet_by_id.md index cdae6bc0233..820fb2c90de 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/get_pet_by_id.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/get_pet_by_id.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | accept_content_types | typing.Tuple[str] | default is ("application/xml", "application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -30,10 +30,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -petId | [Parameter0.schema](#parameter0-schema) | | +petId | [Parameter0.schema](#parameter0-schema), decimal.Decimal, int | | #### Parameter0 @@ -46,11 +47,11 @@ ID of pet to return ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -66,10 +67,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema)] | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/xml" | [content.application_xml.Schema](#responsefor200-content-applicationxml-schema) @@ -81,13 +82,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Pet](../../../components/schema/pet.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Pet](../../../components/schema/pet.md) | dict, frozendict.frozendict | frozendict.frozendict | #### ResponseFor200 content ApplicationJson Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefPet](../../../components/schema/ref_pet.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefPet](../../../components/schema/ref_pet.md) | dict, frozendict.frozendict | frozendict.frozendict | ## ResponseFor400 @@ -117,7 +118,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -127,8 +131,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -177,4 +181,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->get_pet_by_id: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet.md index 9341786cd62..3a15af00c5b 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[**body**](../../../components/request_bodies/request_body_pet.md) | typing.Union[[Pet.content.application_json.schema](../../../components/request_bodies/request_body_pet.md#request_body_petcontentapplication_jsonschema), [Pet.content.application_xml.schema](../../../components/request_bodies/request_body_pet.md#request_body_petcontentapplication_xmlschema)] | required | +[**body**](../../../components/request_bodies/request_body_pet.md) | typing.Union[[Pet.content.application_json.schema](../../../components/request_bodies/request_body_pet.md#content-applicationjson-schema), [Pet.content.application_xml.schema](../../../components/request_bodies/request_body_pet.md#content-applicationxml-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -29,7 +29,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 400 | [ResponseFor400.response_cls](#responsefor400-response_cls) | Invalid ID supplied @@ -76,7 +76,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -87,8 +90,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -178,4 +181,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->update_pet: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet_with_form.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet_with_form.md index 744817e3c52..b296f05694f 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet_with_form.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/update_pet_with_form.md @@ -20,8 +20,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#request_body_request_bodycontentapplication_x_www_form_urlencodedschema), Unset] | optional, default is unset | -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.application_x_www_form_urlencoded.schema](#RequestBody-content-applicationxwwwformurlencoded-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | content_type | str | optional, default is 'application/x-www-form-urlencoded' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -40,21 +40,22 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | Updated name of the pet | [optional] -**status** | str, | str, | Updated status of the pet | [optional] +**name** | str | str | Updated name of the pet | [optional] +**status** | str | str | Updated status of the pet | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -petId | [Parameter0.schema](#parameter0-schema) | | +petId | [Parameter0.schema](#parameter0-schema), decimal.Decimal, int | | #### Parameter0 @@ -67,11 +68,11 @@ ID of pet that needs to be updated ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 405 | [ResponseFor405.response_cls](#responsefor405-response_cls) | Invalid input @@ -92,7 +93,10 @@ headers | Unset | headers were not defined | Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -103,8 +107,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -180,4 +184,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->update_pet_with_form: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_file_with_required_file.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_file_with_required_file.md index 4f24ac7cf24..598bd0e0c2a 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_file_with_required_file.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_file_with_required_file.md @@ -20,8 +20,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#request_body_request_bodycontentmultipart_form_dataschema), Unset] | optional, default is unset | -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#RequestBody-content-multipartformdata-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | content_type | str | optional, default is 'multipart/form-data' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -41,21 +41,22 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**requiredFile** | bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | file to upload | -**additionalMetadata** | str, | str, | Additional data to pass to server | [optional] +**requiredFile** | bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | file to upload | +**additionalMetadata** | str | str | Additional data to pass to server | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -petId | [Parameter0.schema](#parameter0-schema) | | +petId | [Parameter0.schema](#parameter0-schema), decimal.Decimal, int | | #### Parameter0 @@ -68,11 +69,11 @@ ID of pet to update ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -86,10 +87,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | [content.application_json.schema](#responsefor200-content-applicationjson-schema) | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/json" | [content.application_json.Schema](#responsefor200-content-applicationjson-schema) @@ -100,13 +101,16 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[ApiResponse](../../../components/schema/api_response.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[ApiResponse](../../../components/schema/api_response.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Security Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -116,8 +120,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -183,4 +187,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->upload_file_with_required_file: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_image.md b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_image.md index 153bfb6fd4d..f094f467e52 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_image.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/pet_api/upload_image.md @@ -20,8 +20,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#request_body_request_bodycontentmultipart_form_dataschema), Unset] | optional, default is unset | -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.multipart_form_data.schema](#RequestBody-content-multipartformdata-schema), Unset, dict, frozendict.frozendict] | optional, default is unset | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | content_type | str | optional, default is 'multipart/form-data' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -41,21 +41,22 @@ Content-Type | Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ##### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**additionalMetadata** | str, | str, | Additional data to pass to server | [optional] -**file** | bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | file to upload | [optional] +**additionalMetadata** | str | str | Additional data to pass to server | [optional] +**file** | bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | file to upload | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -petId | [Parameter0.schema](#parameter0-schema) | | +petId | [Parameter0.schema](#parameter0-schema), decimal.Decimal, int | | #### Parameter0 @@ -68,11 +69,11 @@ ID of pet to update ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessWithJsonApiResponse.response_cls](../../../components/responses/response_success_with_json_api_response.md#response_success_with_json_api_responseresponse_cls) | successful operation @@ -81,7 +82,10 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -91,8 +95,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -158,4 +162,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling PetApi->upload_image: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../PetApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../pet_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/delete_order.md b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/delete_order.md index 5433eab424f..b5e9cf2a5c3 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/delete_order.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/delete_order.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -28,10 +28,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -order_id | [Parameter0.schema](#parameter0-schema) | | +order_id | [Parameter0.schema](#parameter0-schema), str | | #### Parameter0 @@ -44,11 +45,11 @@ ID of the order that needs to be deleted ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 400 | [ResponseFor400.response_cls](#responsefor400-response_cls) | Invalid ID supplied @@ -81,8 +82,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -120,4 +121,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling StoreApi->delete_order: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../StoreApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../store_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_inventory.md b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_inventory.md index 81d8cd5283a..227c7d036a7 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_inventory.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_inventory.md @@ -29,7 +29,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessInlineContentAndHeader.response_cls](../../../components/responses/response_success_inline_content_and_header.md#response_success_inline_content_and_headerresponse_cls) | successful operation @@ -38,7 +38,10 @@ n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization i Set auth info by setting ApiConfiguration.security_scheme_info to a dict where the key is the below security scheme quoted name, and the value is an instance of the linked -component security scheme class. See how to do this in the code sample. +component security scheme class. +Select the security index by setting ApiConfiguration.security_index_info or by +passing in security_index into the endpoint method. +See how to do this in the code sample. - these securities are specific to this to this endpoint | Security Index | Security Scheme to Scope Names | @@ -48,8 +51,8 @@ component security scheme class. See how to do this in the code sample. ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -93,4 +96,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling StoreApi->get_inventory: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../StoreApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../store_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_order_by_id.md b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_order_by_id.md index bb6bd95a788..ad1e1328b0b 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_order_by_id.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/get_order_by_id.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | accept_content_types | typing.Tuple[str] | default is ("application/xml", "application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -29,10 +29,11 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -order_id | [Parameter0.schema](#parameter0-schema) | | +order_id | [Parameter0.schema](#parameter0-schema), decimal.Decimal, int | | #### Parameter0 @@ -45,11 +46,11 @@ ID of pet that needs to be fetched ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -65,10 +66,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema)] | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/xml" | [content.application_xml.Schema](#responsefor200-content-applicationxml-schema) @@ -80,13 +81,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Order](../../../components/schema/order.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Order](../../../components/schema/order.md) | dict, frozendict.frozendict | frozendict.frozendict | #### ResponseFor200 content ApplicationJson Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Order](../../../components/schema/order.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Order](../../../components/schema/order.md) | dict, frozendict.frozendict | frozendict.frozendict | ## ResponseFor400 @@ -115,8 +116,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -154,4 +155,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling StoreApi->get_order_by_id: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../StoreApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../store_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/place_order.md b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/place_order.md index 3605fc05624..9334b9c4501 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/place_order.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/store_api/place_order.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body accept_content_types | typing.Tuple[str] | default is ("application/xml", "application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Order](../../../components/schema/order.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Order](../../../components/schema/order.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -61,10 +61,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema)] | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/xml" | [content.application_xml.Schema](#responsefor200-content-applicationxml-schema) @@ -76,13 +76,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Order](../../../components/schema/order.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Order](../../../components/schema/order.md) | dict, frozendict.frozendict | frozendict.frozendict | #### ResponseFor200 content ApplicationJson Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Order](../../../components/schema/order.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Order](../../../components/schema/order.md) | dict, frozendict.frozendict | frozendict.frozendict | ## ResponseFor400 @@ -99,8 +99,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -143,4 +143,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling StoreApi->place_order: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../StoreApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../store_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_user.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_user.md index 29caa736a1a..29bb85386e0 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_user.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_user.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -42,11 +42,11 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[User](../../../components/schema/user.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[User](../../../components/schema/user.md) | dict, frozendict.frozendict | frozendict.frozendict | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned default | [Default.response_cls](#default-response_cls) | successful operation @@ -66,8 +66,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -117,4 +117,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->create_user: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_array_input.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_array_input.md index b661d08d1fd..fb2855299f2 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_array_input.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_array_input.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[**body**](../../../components/request_bodies/request_body_user_array.md) | typing.Union[[UserArray.content.application_json.schema](../../../components/request_bodies/request_body_user_array.md#request_body_user_arraycontentapplication_jsonschema)] | required | +[**body**](../../../components/request_bodies/request_body_user_array.md) | typing.Union[[UserArray.content.application_json.schema](../../../components/request_bodies/request_body_user_array.md#content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -28,7 +28,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned default | [Default.response_cls](#default-response_cls) | successful operation @@ -48,8 +48,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -101,4 +101,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->create_users_with_array_input: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_list_input.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_list_input.md index 5502f43d723..8356af9158e 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_list_input.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/create_users_with_list_input.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[**body**](../../../components/request_bodies/request_body_ref_user_array.md) | typing.Union[[RefUserArray.content.application_json.schema](../../../components/request_bodies/request_body_ref_user_array.md#request_body_ref_user_arraycontentapplication_jsonschema)] | required | +[**body**](../../../components/request_bodies/request_body_ref_user_array.md) | typing.Union[[RefUserArray.content.application_json.schema](../../../components/request_bodies/request_body_ref_user_array.md#content-applicationjson-schema), list, tuple] | required | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -28,7 +28,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned default | [Default.response_cls](#default-response_cls) | successful operation @@ -48,8 +48,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -101,4 +101,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->create_users_with_list_input: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/delete_user.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/delete_user.md index c5b0db46e93..f08ef395835 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/delete_user.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/delete_user.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client @@ -28,15 +28,16 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -username | [RefPathUserName](../../../components/parameters/parameter_ref_path_user_name.md) | | +username | [RefPathUserName.schema](../../../components/parameters/parameter_ref_path_user_name.md#schema), str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [SuccessDescriptionOnly.response_cls](../../../components/responses/response_success_description_only.md#response_success_description_onlyresponse_cls) | Success @@ -57,8 +58,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -96,4 +97,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->delete_user: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/get_user_by_name.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/get_user_by_name.md index f71fa875ee1..9e4175ee138 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/get_user_by_name.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/get_user_by_name.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | accept_content_types | typing.Tuple[str] | default is ("application/xml", "application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -28,15 +28,16 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -username | [PathUserName](../../../components/parameters/parameter_path_user_name.md) | | +username | [PathUserName.schema](../../../components/parameters/parameter_path_user_name.md#schema), str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -52,10 +53,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema)] | | headers | Unset | headers were not defined | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/xml" | [content.application_xml.Schema](#responsefor200-content-applicationxml-schema) @@ -67,13 +68,13 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[User](../../../components/schema/user.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[User](../../../components/schema/user.md) | dict, frozendict.frozendict | frozendict.frozendict | #### ResponseFor200 content ApplicationJson Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[User](../../../components/schema/user.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[User](../../../components/schema/user.md) | dict, frozendict.frozendict | frozendict.frozendict | ## ResponseFor400 @@ -102,8 +103,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -141,4 +142,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->get_user_by_name: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/login_user.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/login_user.md index c5783395664..7d4dc6660ff 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/login_user.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/login_user.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams) | | +[query_params](#query_params) | [RequestQueryParameters.Params](#requestqueryparametersparams), dict | | accept_content_types | typing.Tuple[str] | default is ("application/xml", "application/json", ) | Tells the server the content type(s) that are accepted by the client server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -28,11 +28,12 @@ skip_deserialization | bool | default is False | when True, headers and body wil ### query_params #### RequestQueryParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -username | [Parameter0.schema](#parameter0-schema) | | -password | [Parameter1.schema](#parameter1-schema) | | +username | [Parameter0.schema](#parameter0-schema), str | | +password | [Parameter1.schema](#parameter1-schema), str | | #### Parameter0 @@ -45,7 +46,7 @@ The user name for login ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### Parameter1 @@ -57,11 +58,11 @@ The password for login in clear text ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 200 | [ResponseFor200.response_cls](#responsefor200-response_cls) | successful operation @@ -76,10 +77,10 @@ successful operation Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- response | urllib3.HTTPResponse | Raw response | -[body](#body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema), ] | | +[body](#responsefor200-body) | typing.Union[[content.application_xml.schema](#responsefor200-content-applicationxml-schema), [content.application_json.schema](#responsefor200-content-applicationjson-schema)] | | [headers](#headers) | [Headers](#headers) | | -### Body +### ResponseFor200 Body Content-Type | Schema ------------ | ------- "application/xml" | [content.application_xml.Schema](#responsefor200-content-applicationxml-schema) @@ -102,13 +103,13 @@ numberHeader | [NumberHeader.schema](../../../components/headers/header_number_h ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | #### ResponseFor200 content ApplicationJson Schema ##### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ### Header Details #### ResponseFor200 headers XRateLimit @@ -126,7 +127,7 @@ Content-Type | Schema ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 32 bit integer #### ResponseFor200 headers XExpiresAfter ##### Description @@ -137,7 +138,7 @@ date in UTC when token expires ###### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.datetime, | str, | | value must conform to RFC-3339 date-time +str, datetime.datetime | str | | value must conform to RFC-3339 date-time ## ResponseFor400 @@ -154,8 +155,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -194,4 +195,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->login_user: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/logout_user.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/logout_user.md index 76b97af4f07..9c26d55773e 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/logout_user.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/logout_user.md @@ -26,7 +26,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned default | [RefSuccessDescriptionOnly.response_cls](../../../components/responses/response_ref_success_description_only.md#response_ref_success_description_onlyresponse_cls) | Success @@ -34,8 +34,8 @@ default | [RefSuccessDescriptionOnly.response_cls](../../../components/responses ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -68,4 +68,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->logout_user: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/update_user.md b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/update_user.md index 9362c617575..206e354b980 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/update_user.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/user_api/update_user.md @@ -20,8 +20,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#request_body_request_bodycontentapplication_jsonschema)] | required | -[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams) | | +[body](#requestbody) | typing.Union[[RequestBody.content.application_json.schema](#RequestBody-content-applicationjson-schema), dict, frozendict.frozendict] | required | +[path_params](#path_params) | [RequestPathParameters.Params](#requestpathparametersparams), dict | | content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body server_index | typing.Optional[int] | default is None | Allows one to select a different server stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file @@ -43,19 +43,20 @@ Content-Type | Schema ##### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[User](../../../components/schema/user.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[User](../../../components/schema/user.md) | dict, frozendict.frozendict | frozendict.frozendict | ### path_params #### RequestPathParameters.Params +This is a TypedDict Key | Input Type | Description | Notes ------------- | ------------- | ------------- | ------------- -username | [PathUserName](../../../components/parameters/parameter_path_user_name.md) | | +username | [PathUserName.schema](../../../components/parameters/parameter_path_user_name.md#schema), str | | ## Return Types -Code | Class | Description +HTTP Status Code | Class | Description ------------- | ------------- | ------------- n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned 400 | [ResponseFor400.response_cls](#responsefor400-response_cls) | Invalid user supplied @@ -88,8 +89,8 @@ headers | Unset | headers were not defined | ## Servers Set the available servers by defining your used servers in ApiConfiguration.server_info -Then select your server by setting a server_index in ApiConfiguration.server_index or by -passing server_index in to the endpoint function. +Then select your server by setting a server index in ApiConfiguration.server_index_info or by +passing server_index in to the endpoint method. - these servers are the general api servers - defaults to server_index=0, server.url = http://petstore.swagger.io:80/v2 @@ -143,4 +144,4 @@ with petstore_api.ApiClient(used_configuration) as api_client: print("Exception when calling UserApi->update_user: %s\n" % e) ``` -[[Back to top]](#top) [[Back to API]](../UserApi.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) +[[Back to top]](#top) [[Back to API]](../user_api.md) [[Back to Endpoints]](../../../../README.md#Endpoints) [[Back to README]](../../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/headers/header_int32_json_content_type_header.md b/samples/openapi3/client/petstore/python/docs/components/headers/header_int32_json_content_type_header.md index fb45778e21d..06480907d4a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/headers/header_int32_json_content_type_header.md +++ b/samples/openapi3/client/petstore/python/docs/components/headers/header_int32_json_content_type_header.md @@ -14,6 +14,6 @@ Content-Type | Schema ### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 32 bit integer [[Back to top]](#top) [[Back to Component Headers]](../../../README.md#Component-Headers) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/headers/header_number_header.md b/samples/openapi3/client/petstore/python/docs/components/headers/header_number_header.md index c668f9c2186..ace777068c0 100644 --- a/samples/openapi3/client/petstore/python/docs/components/headers/header_number_header.md +++ b/samples/openapi3/client/petstore/python/docs/components/headers/header_number_header.md @@ -9,6 +9,6 @@ number header description ### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | value must be numeric and storable in decimal.Decimal +str | str | | value must be numeric and storable in decimal.Decimal [[Back to top]](#top) [[Back to Component Headers]](../../../README.md#Component-Headers) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_content_schema_header.md b/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_content_schema_header.md index ccb3facffed..69b7b5ef736 100644 --- a/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_content_schema_header.md +++ b/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_content_schema_header.md @@ -14,6 +14,6 @@ Content-Type | Schema ### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringWithValidation](../../components/schema/string_with_validation.md) | str, | str, | +[StringWithValidation](../../components/schema/string_with_validation.md) | str | str | [[Back to top]](#top) [[Back to Component Headers]](../../../README.md#Component-Headers) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_schema_header.md b/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_schema_header.md index 8e5b0094e5c..5d2f86b954e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_schema_header.md +++ b/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_schema_header.md @@ -9,6 +9,6 @@ header that has a ref in the schema ### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringWithValidation](../../components/schema/string_with_validation.md) | str, | str, | +[StringWithValidation](../../components/schema/string_with_validation.md) | str | str | [[Back to top]](#top) [[Back to Component Headers]](../../../README.md#Component-Headers) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_string_header.md b/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_string_header.md index 2574a459c4f..3fb984d2c04 100644 --- a/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_string_header.md +++ b/samples/openapi3/client/petstore/python/docs/components/headers/header_ref_string_header.md @@ -3,6 +3,6 @@ petstore_api.components.headers.header_ref_string_header ## Schema Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringHeader.schema](../../components/headers/header_string_header.md#schema) | str, | str, | +[StringHeader.schema](../../components/headers/header_string_header.md#schema) | str | str | [[Back to top]](#top) [[Back to Component Headers]](../../../README.md#Component-Headers) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/headers/header_string_header.md b/samples/openapi3/client/petstore/python/docs/components/headers/header_string_header.md index 64fb070d2a1..b954dc0b734 100644 --- a/samples/openapi3/client/petstore/python/docs/components/headers/header_string_header.md +++ b/samples/openapi3/client/petstore/python/docs/components/headers/header_string_header.md @@ -9,6 +9,6 @@ string header description ### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | [[Back to top]](#top) [[Back to Component Headers]](../../../README.md#Component-Headers) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_component_ref_schema_string_with_validation.md b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_component_ref_schema_string_with_validation.md index 2b968bab832..0aee4efb41e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_component_ref_schema_string_with_validation.md +++ b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_component_ref_schema_string_with_validation.md @@ -13,6 +13,6 @@ Content-Type | Schema ### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringWithValidation](../../components/schema/string_with_validation.md) | str, | str, | +[StringWithValidation](../../components/schema/string_with_validation.md) | str | str | [[Back to top]](#top) [[Back to Component Parameters]](../../../README.md#Component-Parameters) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_path_user_name.md b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_path_user_name.md index 2fbdf659daa..4a332e34abc 100644 --- a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_path_user_name.md +++ b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_path_user_name.md @@ -9,6 +9,6 @@ the use name to use ### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | [[Back to top]](#top) [[Back to Component Parameters]](../../../README.md#Component-Parameters) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_path_user_name.md b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_path_user_name.md index 4d166faf36a..a4521372033 100644 --- a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_path_user_name.md +++ b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_path_user_name.md @@ -3,6 +3,6 @@ petstore_api.components.parameters.parameter_ref_path_user_name ## Schema Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[PathUserName.schema](../../components/parameters/parameter_path_user_name.md#schema) | str, | str, | +[PathUserName.schema](../../components/parameters/parameter_path_user_name.md#schema) | str | str | [[Back to top]](#top) [[Back to Component Parameters]](../../../README.md#Component-Parameters) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_schema_string_with_validation.md b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_schema_string_with_validation.md index 74b3c495229..742967d6a49 100644 --- a/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_schema_string_with_validation.md +++ b/samples/openapi3/client/petstore/python/docs/components/parameters/parameter_ref_schema_string_with_validation.md @@ -9,6 +9,6 @@ a path string with validation ### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[StringWithValidation](../../components/schema/string_with_validation.md) | str, | str, | +[StringWithValidation](../../components/schema/string_with_validation.md) | str | str | [[Back to top]](#top) [[Back to Component Parameters]](../../../README.md#Component-Parameters) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_client.md b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_client.md index f4d2089199b..ef19e9497f0 100644 --- a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_client.md +++ b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_client.md @@ -14,6 +14,6 @@ Content-Type | Schema ### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Client](../../components/schema/client.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Client](../../components/schema/client.md) | dict, frozendict.frozendict | frozendict.frozendict | [[Back to top]](#top) [[Back to Component RequestBodies]](../../../README.md#Component-RequestBodies) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_pet.md b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_pet.md index 0cb2d84bf55..ffc5be4f822 100644 --- a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_pet.md +++ b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_pet.md @@ -15,12 +15,12 @@ Content-Type | Schema ### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Pet](../../components/schema/pet.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Pet](../../components/schema/pet.md) | dict, frozendict.frozendict | frozendict.frozendict | ## content ApplicationXml Schema ### Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[RefPet](../../components/schema/ref_pet.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[RefPet](../../components/schema/ref_pet.md) | dict, frozendict.frozendict | frozendict.frozendict | [[Back to top]](#top) [[Back to Component RequestBodies]](../../../README.md#Component-RequestBodies) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_ref_user_array.md b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_ref_user_array.md index 727e169b312..5af92bc4e39 100644 --- a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_ref_user_array.md +++ b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_ref_user_array.md @@ -9,6 +9,6 @@ Content-Type | Schema ## content ApplicationJson Schema Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[UserArray.content.application_json.schema](../../components/request_bodies/request_body_user_array.md#content-applicationjson-schema) | list, tuple, | tuple, | +[UserArray.content.application_json.schema](../../components/request_bodies/request_body_user_array.md#content-applicationjson-schema) | list, tuple | tuple | [[Back to top]](#top) [[Back to Component RequestBodies]](../../../README.md#Component-RequestBodies) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_user_array.md b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_user_array.md index ea0cae52196..4bb780d180e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_user_array.md +++ b/samples/openapi3/client/petstore/python/docs/components/request_bodies/request_body_user_array.md @@ -14,7 +14,7 @@ Content-Type | Schema ### Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ### List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/_200_response.md b/samples/openapi3/client/petstore/python/docs/components/schema/_200_response.md index 2d4db9fe30f..d8da613a696 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/_200_response.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/_200_response.md @@ -7,13 +7,13 @@ model with an invalid class name for python, starts with a number ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | model with an invalid class name for python, starts with a number | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | model with an invalid class name for python, starts with a number | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**name** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 32 bit integer -**class** | str, | str, | this is a reserved python keyword | [optional] +**name** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 32 bit integer +**class** | str | str | this is a reserved python keyword | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/_return.md b/samples/openapi3/client/petstore/python/docs/components/schema/_return.md index 94bdf879b52..e6985899ed4 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/_return.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/_return.md @@ -7,12 +7,12 @@ Model for testing reserved words ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | Model for testing reserved words | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | Model for testing reserved words | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**return** | decimal.Decimal, int, | decimal.Decimal, | this is a reserved python keyword | [optional] value must be a 32 bit integer +**return** | decimal.Decimal, int | decimal.Decimal | this is a reserved python keyword | [optional] value must be a 32 bit integer **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/abstract_step_message.md b/samples/openapi3/client/petstore/python/docs/components/schema/abstract_step_message.md index 6d20f3180be..04312078352 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/abstract_step_message.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/abstract_step_message.md @@ -7,14 +7,14 @@ Abstract Step ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Abstract Step | +dict, frozendict.frozendict | frozendict.frozendict | Abstract Step | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**description** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**discriminator** | str, | str, | | -**sequenceNumber** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +**description** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**discriminator** | str | str | | +**sequenceNumber** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Composed Schemas (allOf/anyOf/oneOf/not) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_class.md b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_class.md index 1baa5a54897..6a92ea9cc1a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_class.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_class.md @@ -4,19 +4,19 @@ petstore_api.components.schema.additional_properties_class ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**map_property** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapProperty](#properties-mapproperty) | | [optional] -**map_of_map_property** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapOfMapProperty](#properties-mapofmapproperty) | | [optional] -**anytype_1** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] -**map_with_undeclared_properties_anytype_1** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapWithUndeclaredPropertiesAnytype1](#properties-mapwithundeclaredpropertiesanytype1) | | [optional] -**map_with_undeclared_properties_anytype_2** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapWithUndeclaredPropertiesAnytype2](#properties-mapwithundeclaredpropertiesanytype2) | | [optional] -**map_with_undeclared_properties_anytype_3** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapWithUndeclaredPropertiesAnytype3](#properties-mapwithundeclaredpropertiesanytype3) | | [optional] -**empty_map** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.EmptyMap](#properties-emptymap) | an object with no declared properties and no undeclared properties, hence it's an empty map. | [optional] -**map_with_undeclared_properties_string** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapWithUndeclaredPropertiesString](#properties-mapwithundeclaredpropertiesstring) | | [optional] +**map_property** | dict, frozendict.frozendict | [properties.MapProperty](#properties-mapproperty) | | [optional] +**map_of_map_property** | dict, frozendict.frozendict | [properties.MapOfMapProperty](#properties-mapofmapproperty) | | [optional] +**anytype_1** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] +**map_with_undeclared_properties_anytype_1** | dict, frozendict.frozendict | [properties.MapWithUndeclaredPropertiesAnytype1](#properties-mapwithundeclaredpropertiesanytype1) | | [optional] +**map_with_undeclared_properties_anytype_2** | dict, frozendict.frozendict | [properties.MapWithUndeclaredPropertiesAnytype2](#properties-mapwithundeclaredpropertiesanytype2) | | [optional] +**map_with_undeclared_properties_anytype_3** | dict, frozendict.frozendict | [properties.MapWithUndeclaredPropertiesAnytype3](#properties-mapwithundeclaredpropertiesanytype3) | | [optional] +**empty_map** | dict, frozendict.frozendict | [properties.EmptyMap](#properties-emptymap) | an object with no declared properties and no undeclared properties, hence it's an empty map. | [optional] +**map_with_undeclared_properties_string** | dict, frozendict.frozendict | [properties.MapWithUndeclaredPropertiesString](#properties-mapwithundeclaredpropertiesstring) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties MapProperty @@ -24,62 +24,62 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | str | str | any string name can be used but the value must be the correct type | [optional] # properties MapOfMapProperty ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | dict, frozendict.frozendict, | frozendict.frozendict, [AdditionalProperties](#properties-mapofmapproperty-additionalproperties) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | dict, frozendict.frozendict | [AdditionalProperties](#properties-mapofmapproperty-additionalproperties) | any string name can be used but the value must be the correct type | [optional] # properties MapOfMapProperty AdditionalProperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | str | str | any string name can be used but the value must be the correct type | [optional] # properties MapWithUndeclaredPropertiesAnytype1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # properties MapWithUndeclaredPropertiesAnytype2 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # properties MapWithUndeclaredPropertiesAnytype3 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any string name can be used but the value must be the correct type | [optional] # properties EmptyMap @@ -89,7 +89,7 @@ an object with no declared properties and no undeclared properties, hence it ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | an object with no declared properties and no undeclared properties, hence it's an empty map. | +dict, frozendict.frozendict | frozendict.frozendict | an object with no declared properties and no undeclared properties, hence it's an empty map. | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes @@ -100,11 +100,11 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | str | str | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_validator.md b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_validator.md index 7ab29e9639d..4c73a073156 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_validator.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_validator.md @@ -4,50 +4,50 @@ petstore_api.components.schema.additional_properties_validator ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, | frozendict.frozendict, | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | -[_2](#allof-_2) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_0](#allof-_0) | dict, frozendict.frozendict | frozendict.frozendict | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | +[_2](#allof-_2) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any string name can be used but the value must be the correct type | [optional] # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any string name can be used but the value must be the correct type | [optional] # allof _2 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_with_array_of_enums.md b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_with_array_of_enums.md index 9a38327360a..e8b7dc87323 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_with_array_of_enums.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_with_array_of_enums.md @@ -4,19 +4,19 @@ petstore_api.components.schema.additional_properties_with_array_of_enums ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | list, tuple, | tuple, [AdditionalProperties](#additionalproperties) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | list, tuple | [AdditionalProperties](#additionalproperties) | any string name can be used but the value must be the correct type | [optional] # AdditionalProperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/address.md b/samples/openapi3/client/petstore/python/docs/components/schema/address.md index a1b28c4ba94..9c526d8c31d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/address.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/address.md @@ -4,11 +4,11 @@ petstore_api.components.schema.address ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | decimal.Decimal, int, | decimal.Decimal, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | decimal.Decimal, int | decimal.Decimal | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/animal.md b/samples/openapi3/client/petstore/python/docs/components/schema/animal.md index 1685a19f334..bad562dd739 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/animal.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/animal.md @@ -4,13 +4,13 @@ petstore_api.components.schema.animal ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**className** | str, | str, | | -**color** | str, | str, | | [optional] if omitted the server will use the default value of red +**className** | str | str | | +**color** | str | str | | [optional] if omitted the server will use the default value of red **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/animal_farm.md b/samples/openapi3/client/petstore/python/docs/components/schema/animal_farm.md index 387c72d1798..c03e8fe0815 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/animal_farm.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/animal_farm.md @@ -4,7 +4,7 @@ petstore_api.components.schema.animal_farm ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/any_type_and_format.md b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_and_format.md index aab087ac9b1..3db6967a1f7 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/any_type_and_format.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_and_format.md @@ -4,20 +4,20 @@ petstore_api.components.schema.any_type_and_format ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**uuid** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must be a uuid -**date** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD -**date-time** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must conform to RFC-3339 date-time -**number** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must be numeric and storable in decimal.Decimal -**binary** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] -**int32** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must be a 32 bit integer -**int64** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must be a 64 bit integer -**double** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must be a 64 bit float -**float** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | [optional] value must be a 32 bit float +**uuid** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must be a uuid +**date** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD +**date-time** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must conform to RFC-3339 date-time +**number** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must be numeric and storable in decimal.Decimal +**binary** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] +**int32** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must be a 32 bit integer +**int64** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must be a 64 bit integer +**double** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must be a 64 bit float +**float** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [optional] value must be a 32 bit float **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/any_type_not_string.md b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_not_string.md index fd1a0e71836..5069660202e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/any_type_not_string.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_not_string.md @@ -4,19 +4,19 @@ petstore_api.components.schema.any_type_not_string ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## not Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_not](#_not) | str, | str, | | +[_not](#_not) | str | str | | # _Not ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/api_response.md b/samples/openapi3/client/petstore/python/docs/components/schema/api_response.md index 9be8462a244..2983bbdce1a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/api_response.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/api_response.md @@ -4,14 +4,14 @@ petstore_api.components.schema.api_response ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**code** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 32 bit integer -**type** | str, | str, | | [optional] -**message** | str, | str, | | [optional] +**code** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 32 bit integer +**type** | str | str | | [optional] +**message** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/apple.md b/samples/openapi3/client/petstore/python/docs/components/schema/apple.md index 40b5ef953ae..1d512492454 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/apple.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/apple.md @@ -4,13 +4,13 @@ petstore_api.components.schema.apple ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**cultivar** | str, | str, | | -**origin** | str, | str, | | [optional] +**cultivar** | str | str | | +**origin** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/apple_req.md b/samples/openapi3/client/petstore/python/docs/components/schema/apple_req.md index 7c7443609cc..2c70d71165e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/apple_req.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/apple_req.md @@ -4,12 +4,12 @@ petstore_api.components.schema.apple_req ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**cultivar** | str, | str, | | -**mealy** | bool, | BoolClass, | | [optional] +**cultivar** | str | str | | +**mealy** | bool | BoolClass | | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/array_holding_any_type.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_holding_any_type.md index af055106cf8..5a5c6b2ce9e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/array_holding_any_type.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_holding_any_type.md @@ -4,11 +4,11 @@ petstore_api.components.schema.array_holding_any_type ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any type can be stored here | +items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any type can be stored here | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/array_of_array_of_number_only.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_array_of_number_only.md index 7d18586cd00..06f58d1bfc6 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/array_of_array_of_number_only.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_array_of_number_only.md @@ -4,12 +4,12 @@ petstore_api.components.schema.array_of_array_of_number_only ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**ArrayArrayNumber** | list, tuple, | tuple, [properties.ArrayArrayNumber](#properties-arrayarraynumber) | | [optional] +**ArrayArrayNumber** | list, tuple | [properties.ArrayArrayNumber](#properties-arrayarraynumber) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties ArrayArrayNumber @@ -17,23 +17,23 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#properties-arrayarraynumber-items) | list, tuple, | tuple, | | +[items](#properties-arrayarraynumber-items) | list, tuple | tuple | | # properties ArrayArrayNumber Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, float, | decimal.Decimal, | | +items | decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/array_of_enums.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_enums.md index 1c57ab1c7e7..9927536fabb 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/array_of_enums.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_enums.md @@ -4,7 +4,7 @@ petstore_api.components.schema.array_of_enums ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/array_of_number_only.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_number_only.md index ff93971f89b..965b67726a5 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/array_of_number_only.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_number_only.md @@ -4,12 +4,12 @@ petstore_api.components.schema.array_of_number_only ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**ArrayNumber** | list, tuple, | tuple, [properties.ArrayNumber](#properties-arraynumber) | | [optional] +**ArrayNumber** | list, tuple | [properties.ArrayNumber](#properties-arraynumber) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties ArrayNumber @@ -17,11 +17,11 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, float, | decimal.Decimal, | | +items | decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/array_test.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_test.md index f32e79d0e08..9f0a23efc2d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/array_test.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_test.md @@ -4,14 +4,14 @@ petstore_api.components.schema.array_test ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**array_of_string** | list, tuple, | tuple, [properties.ArrayOfString](#properties-arrayofstring) | | [optional] -**array_array_of_integer** | list, tuple, | tuple, [properties.ArrayArrayOfInteger](#properties-arrayarrayofinteger) | | [optional] -**array_array_of_model** | list, tuple, | tuple, [properties.ArrayArrayOfModel](#properties-arrayarrayofmodel) | | [optional] +**array_of_string** | list, tuple | [properties.ArrayOfString](#properties-arrayofstring) | | [optional] +**array_array_of_integer** | list, tuple | [properties.ArrayArrayOfInteger](#properties-arrayarrayofinteger) | | [optional] +**array_array_of_model** | list, tuple | [properties.ArrayArrayOfModel](#properties-arrayarrayofmodel) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties ArrayOfString @@ -19,55 +19,55 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | # properties ArrayArrayOfInteger ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#properties-arrayarrayofinteger-items) | list, tuple, | tuple, | | +[items](#properties-arrayarrayofinteger-items) | list, tuple | tuple | | # properties ArrayArrayOfInteger Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +items | decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer # properties ArrayArrayOfModel ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#properties-arrayarrayofmodel-items) | list, tuple, | tuple, | | +[items](#properties-arrayarrayofmodel-items) | list, tuple | tuple | | # properties ArrayArrayOfModel Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/array_with_validations_in_items.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_with_validations_in_items.md index bf1ec924fdc..3409e7cdf11 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/array_with_validations_in_items.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_with_validations_in_items.md @@ -4,11 +4,11 @@ petstore_api.components.schema.array_with_validations_in_items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +items | decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/banana.md b/samples/openapi3/client/petstore/python/docs/components/schema/banana.md index f6aede25ba1..78c5beeae61 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/banana.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/banana.md @@ -4,12 +4,12 @@ petstore_api.components.schema.banana ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**lengthCm** | decimal.Decimal, int, float, | decimal.Decimal, | | +**lengthCm** | decimal.Decimal, int, float | decimal.Decimal | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/banana_req.md b/samples/openapi3/client/petstore/python/docs/components/schema/banana_req.md index f15daa1b09d..5e7357026cf 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/banana_req.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/banana_req.md @@ -4,12 +4,12 @@ petstore_api.components.schema.banana_req ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**lengthCm** | decimal.Decimal, int, float, | decimal.Decimal, | | -**sweet** | bool, | BoolClass, | | [optional] +**lengthCm** | decimal.Decimal, int, float | decimal.Decimal | | +**sweet** | bool | BoolClass | | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/bar.md b/samples/openapi3/client/petstore/python/docs/components/schema/bar.md index 419490d22a5..bf6b8393424 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/bar.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/bar.md @@ -4,6 +4,6 @@ petstore_api.components.schema.bar ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | if omitted the server will use the default value of bar +str | str | | if omitted the server will use the default value of bar [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/basque_pig.md b/samples/openapi3/client/petstore/python/docs/components/schema/basque_pig.md index 54bbd03e600..3df5c74ab5b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/basque_pig.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/basque_pig.md @@ -4,12 +4,12 @@ petstore_api.components.schema.basque_pig ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**className** | str, | str, | | must be one of ["BasquePig", ] +**className** | str | str | | must be one of ["BasquePig"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/boolean.md b/samples/openapi3/client/petstore/python/docs/components/schema/boolean.md index 3726558dbc4..58be860930d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/boolean.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/boolean.md @@ -4,6 +4,6 @@ petstore_api.components.schema.boolean ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bool, | BoolClass, | | +bool | BoolClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/boolean_enum.md b/samples/openapi3/client/petstore/python/docs/components/schema/boolean_enum.md index 7ee9e31b7ff..a9e13de44c2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/boolean_enum.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/boolean_enum.md @@ -4,6 +4,6 @@ petstore_api.components.schema.boolean_enum ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bool, | BoolClass, | | must be one of [True, ] +bool | BoolClass | | must be one of [True] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/capitalization.md b/samples/openapi3/client/petstore/python/docs/components/schema/capitalization.md index d17decaa473..bdd51789774 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/capitalization.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/capitalization.md @@ -4,17 +4,17 @@ petstore_api.components.schema.capitalization ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**smallCamel** | str, | str, | | [optional] -**CapitalCamel** | str, | str, | | [optional] -**small_Snake** | str, | str, | | [optional] -**Capital_Snake** | str, | str, | | [optional] -**SCA_ETH_Flow_Points** | str, | str, | | [optional] -**ATT_NAME** | str, | str, | Name of the pet | [optional] +**smallCamel** | str | str | | [optional] +**CapitalCamel** | str | str | | [optional] +**small_Snake** | str | str | | [optional] +**Capital_Snake** | str | str | | [optional] +**SCA_ETH_Flow_Points** | str | str | | [optional] +**ATT_NAME** | str | str | Name of the pet | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/cat.md b/samples/openapi3/client/petstore/python/docs/components/schema/cat.md index c4406f3f30f..05484d8200b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/cat.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/cat.md @@ -4,26 +4,26 @@ petstore_api.components.schema.cat ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**Animal**](animal.md) | [**Animal**](animal.md) | [**Animal**](animal.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**declawed** | bool, | BoolClass, | | [optional] +**declawed** | bool | BoolClass | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/category.md b/samples/openapi3/client/petstore/python/docs/components/schema/category.md index acfe527553c..50f23ccdcf2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/category.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/category.md @@ -4,13 +4,13 @@ petstore_api.components.schema.category ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | if omitted the server will use the default value of default-name -**id** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer +**name** | str | str | | if omitted the server will use the default value of default-name +**id** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/child_cat.md b/samples/openapi3/client/petstore/python/docs/components/schema/child_cat.md index 624a8f0256a..12c010d615d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/child_cat.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/child_cat.md @@ -4,26 +4,26 @@ petstore_api.components.schema.child_cat ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**ParentPet**](parent_pet.md) | [**ParentPet**](parent_pet.md) | [**ParentPet**](parent_pet.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | [optional] +**name** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/class_model.md b/samples/openapi3/client/petstore/python/docs/components/schema/class_model.md index 0cc9ea64e3e..a7642e8fa08 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/class_model.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/class_model.md @@ -7,12 +7,12 @@ Model for testing model with \"_class\" property ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | Model for testing model with \"_class\" property | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | Model for testing model with \"_class\" property | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**_class** | str, | str, | | [optional] +**_class** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/client.md b/samples/openapi3/client/petstore/python/docs/components/schema/client.md index 37f4374408b..b7d0bf63baa 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/client.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/client.md @@ -4,12 +4,12 @@ petstore_api.components.schema.client ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**client** | str, | str, | | [optional] +**client** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/complex_quadrilateral.md b/samples/openapi3/client/petstore/python/docs/components/schema/complex_quadrilateral.md index 74b3c032b21..8cd70635451 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/complex_quadrilateral.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/complex_quadrilateral.md @@ -4,26 +4,26 @@ petstore_api.components.schema.complex_quadrilateral ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**QuadrilateralInterface**](quadrilateral_interface.md) | [**QuadrilateralInterface**](quadrilateral_interface.md) | [**QuadrilateralInterface**](quadrilateral_interface.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**quadrilateralType** | str, | str, | | [optional] must be one of ["ComplexQuadrilateral", ] +**quadrilateralType** | str | str | | [optional] must be one of ["ComplexQuadrilateral"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_any_of_different_types_no_validations.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_any_of_different_types_no_validations.md index d9d572fca04..83c43fb6a99 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_any_of_different_types_no_validations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_any_of_different_types_no_validations.md @@ -4,144 +4,144 @@ petstore_api.components.schema.composed_any_of_different_types_no_validations ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#anyof-_0) | dict, frozendict.frozendict, | frozendict.frozendict, | | -[_1](#anyof-_1) | str, datetime.date, | str, | | value must conform to RFC-3339 full-date YYYY-MM-DD -[_2](#anyof-_2) | str, datetime.datetime, | str, | | value must conform to RFC-3339 date-time -[_3](#anyof-_3) | bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | | -[_4](#anyof-_4) | str, | str, | | -[_5](#anyof-_5) | str, | str, | | -[_6](#anyof-_6) | dict, frozendict.frozendict, | frozendict.frozendict, | | -[_7](#anyof-_7) | bool, | BoolClass, | | -[_8](#anyof-_8) | None, | NoneClass, | | -[_9](#anyof-_9) | list, tuple, | tuple, | | -[_10](#anyof-_10) | decimal.Decimal, int, float, | decimal.Decimal, | | -[_11](#anyof-_11) | decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 32 bit float -[_12](#anyof-_12) | decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 64 bit float -[_13](#anyof-_13) | decimal.Decimal, int, | decimal.Decimal, | | -[_14](#anyof-_14) | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer -[_15](#anyof-_15) | decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +[_0](#anyof-_0) | dict, frozendict.frozendict | frozendict.frozendict | | +[_1](#anyof-_1) | str, datetime.date | str | | value must conform to RFC-3339 full-date YYYY-MM-DD +[_2](#anyof-_2) | str, datetime.datetime | str | | value must conform to RFC-3339 date-time +[_3](#anyof-_3) | bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | | +[_4](#anyof-_4) | str | str | | +[_5](#anyof-_5) | str | str | | +[_6](#anyof-_6) | dict, frozendict.frozendict | frozendict.frozendict | | +[_7](#anyof-_7) | bool | BoolClass | | +[_8](#anyof-_8) | None | NoneClass | | +[_9](#anyof-_9) | list, tuple | tuple | | +[_10](#anyof-_10) | decimal.Decimal, int, float | decimal.Decimal | | +[_11](#anyof-_11) | decimal.Decimal, int, float | decimal.Decimal | | value must be a 32 bit float +[_12](#anyof-_12) | decimal.Decimal, int, float | decimal.Decimal | | value must be a 64 bit float +[_13](#anyof-_13) | decimal.Decimal, int | decimal.Decimal | | +[_14](#anyof-_14) | decimal.Decimal, int | decimal.Decimal | | value must be a 32 bit integer +[_15](#anyof-_15) | decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer # anyof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # anyof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.date, | str, | | value must conform to RFC-3339 full-date YYYY-MM-DD +str, datetime.date | str | | value must conform to RFC-3339 full-date YYYY-MM-DD # anyof _2 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.datetime, | str, | | value must conform to RFC-3339 date-time +str, datetime.datetime | str | | value must conform to RFC-3339 date-time # anyof _3 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | | +bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | | # anyof _4 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | # anyof _5 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | # anyof _6 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # anyof _7 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bool, | BoolClass, | | +bool | BoolClass | | # anyof _8 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | # anyof _9 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # anyof _10 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | # anyof _11 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 32 bit float +decimal.Decimal, int, float | decimal.Decimal | | value must be a 32 bit float # anyof _12 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | value must be a 64 bit float +decimal.Decimal, int, float | decimal.Decimal | | value must be a 64 bit float # anyof _13 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | +decimal.Decimal, int | decimal.Decimal | | # anyof _14 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 32 bit integer # anyof _15 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_array.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_array.md index b03e6b518aa..367df83bec5 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_array.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_array.md @@ -4,11 +4,11 @@ petstore_api.components.schema.composed_array ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_bool.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_bool.md index b402a1e8e7f..b55dff83c6d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_bool.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_bool.md @@ -4,19 +4,19 @@ petstore_api.components.schema.composed_bool ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -bool, | BoolClass, | | +bool | BoolClass | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_none.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_none.md index 37e54f95bd1..1d51af5acca 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_none.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_none.md @@ -4,19 +4,19 @@ petstore_api.components.schema.composed_none ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_number.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_number.md index bb0019b5208..c541dece90e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_number.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_number.md @@ -4,19 +4,19 @@ petstore_api.components.schema.composed_number ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_object.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_object.md index 7e159e81b4b..474b16c7581 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_object.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_object.md @@ -4,19 +4,19 @@ petstore_api.components.schema.composed_object ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_one_of_different_types.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_one_of_different_types.md index 4e334e5e581..bd4447a727e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_one_of_different_types.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_one_of_different_types.md @@ -7,7 +7,7 @@ this is a model that allows payloads of type object or number ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | this is a model that allows payloads of type object or number | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | this is a model that allows payloads of type object or number | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf @@ -15,50 +15,50 @@ Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**NumberWithValidations**](number_with_validations.md) | [**NumberWithValidations**](number_with_validations.md) | [**NumberWithValidations**](number_with_validations.md) | | [**Animal**](animal.md) | [**Animal**](animal.md) | [**Animal**](animal.md) | | -[_2](#oneof-_2) | None, | NoneClass, | | -[_3](#oneof-_3) | str, datetime.date, | str, | | value must conform to RFC-3339 full-date YYYY-MM-DD -[_4](#oneof-_4) | dict, frozendict.frozendict, | frozendict.frozendict, | | -[_5](#oneof-_5) | list, tuple, | tuple, | | -[_6](#oneof-_6) | str, datetime.datetime, | str, | | value must conform to RFC-3339 date-time +[_2](#oneof-_2) | None | NoneClass | | +[_3](#oneof-_3) | str, datetime.date | str | | value must conform to RFC-3339 full-date YYYY-MM-DD +[_4](#oneof-_4) | dict, frozendict.frozendict | frozendict.frozendict | | +[_5](#oneof-_5) | list, tuple | tuple | | +[_6](#oneof-_6) | str, datetime.datetime | str | | value must conform to RFC-3339 date-time # oneof _2 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | # oneof _3 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.date, | str, | | value must conform to RFC-3339 full-date YYYY-MM-DD +str, datetime.date | str | | value must conform to RFC-3339 full-date YYYY-MM-DD # oneof _4 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # oneof _5 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +items | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # oneof _6 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.datetime, | str, | | value must conform to RFC-3339 date-time +str, datetime.datetime | str | | value must conform to RFC-3339 date-time [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/composed_string.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_string.md index 233e313c95e..4377f0a0d44 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/composed_string.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_string.md @@ -4,19 +4,19 @@ petstore_api.components.schema.composed_string ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[_0](#allof-_0) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/currency.md b/samples/openapi3/client/petstore/python/docs/components/schema/currency.md index 46e3cc40163..a988a49ba4c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/currency.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/currency.md @@ -4,6 +4,6 @@ petstore_api.components.schema.currency ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["eur", "usd", ] +str | str | | must be one of ["eur", "usd"] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/danish_pig.md b/samples/openapi3/client/petstore/python/docs/components/schema/danish_pig.md index 4060c841f2f..d58bc97a2c1 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/danish_pig.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/danish_pig.md @@ -4,12 +4,12 @@ petstore_api.components.schema.danish_pig ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**className** | str, | str, | | must be one of ["DanishPig", ] +**className** | str | str | | must be one of ["DanishPig"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/date_time_test.md b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_test.md index 12dd4c15d39..8d2d0679ecb 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/date_time_test.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_test.md @@ -4,6 +4,6 @@ petstore_api.components.schema.date_time_test ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.datetime, | str, | | if omitted the server will use the default value of 2010-01-01T10:10:10.000111+01:00 value must conform to RFC-3339 date-time +str, datetime.datetime | str | | if omitted the server will use the default value of 2010-01-01T10:10:10.000111+01:00 value must conform to RFC-3339 date-time [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/date_time_with_validations.md b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_with_validations.md index 98f54f9f838..d25f494eb32 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/date_time_with_validations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_with_validations.md @@ -4,6 +4,6 @@ petstore_api.components.schema.date_time_with_validations ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.datetime, | str, | | value must conform to RFC-3339 date-time +str, datetime.datetime | str | | value must conform to RFC-3339 date-time [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/date_with_validations.md b/samples/openapi3/client/petstore/python/docs/components/schema/date_with_validations.md index 290e523aeab..190254a8217 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/date_with_validations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/date_with_validations.md @@ -4,6 +4,6 @@ petstore_api.components.schema.date_with_validations ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, datetime.date, | str, | | value must conform to RFC-3339 full-date YYYY-MM-DD +str, datetime.date | str | | value must conform to RFC-3339 full-date YYYY-MM-DD [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/decimal_payload.md b/samples/openapi3/client/petstore/python/docs/components/schema/decimal_payload.md index 735a2b988ea..659c95780a3 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/decimal_payload.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/decimal_payload.md @@ -4,6 +4,6 @@ petstore_api.components.schema.decimal_payload ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | value must be numeric and storable in decimal.Decimal +str | str | | value must be numeric and storable in decimal.Decimal [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/dog.md b/samples/openapi3/client/petstore/python/docs/components/schema/dog.md index d965261b05b..db05518781f 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/dog.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/dog.md @@ -4,26 +4,26 @@ petstore_api.components.schema.dog ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**Animal**](animal.md) | [**Animal**](animal.md) | [**Animal**](animal.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**breed** | str, | str, | | [optional] +**breed** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/drawing.md b/samples/openapi3/client/petstore/python/docs/components/schema/drawing.md index 3469bc2bf70..ab7d3daaa27 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/drawing.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/drawing.md @@ -4,23 +4,23 @@ petstore_api.components.schema.drawing ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**mainShape** | [**Shape**](shape.md) | [**Shape**](shape.md) | | [optional] -**shapeOrNull** | [**ShapeOrNull**](shape_or_null.md) | [**ShapeOrNull**](shape_or_null.md) | | [optional] -**nullableShape** | [**NullableShape**](nullable_shape.md) | [**NullableShape**](nullable_shape.md) | | [optional] -**shapes** | list, tuple, | tuple, [properties.Shapes](#properties-shapes) | | [optional] -**any_string_name** | [**Fruit**](fruit.md) | [**Fruit**](fruit.md) | any string name can be used but the value must be the correct type | [optional] +**mainShape** | [**Shape**](shape.md), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [**Shape**](shape.md) | | [optional] +**shapeOrNull** | [**ShapeOrNull**](shape_or_null.md), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [**ShapeOrNull**](shape_or_null.md) | | [optional] +**nullableShape** | [**NullableShape**](nullable_shape.md), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [**NullableShape**](nullable_shape.md) | | [optional] +**shapes** | list, tuple | [properties.Shapes](#properties-shapes) | | [optional] +**any_string_name** | [**Fruit**](fruit.md), dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [**Fruit**](fruit.md) | any string name can be used but the value must be the correct type | [optional] # properties Shapes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/enum_arrays.md b/samples/openapi3/client/petstore/python/docs/components/schema/enum_arrays.md index 440387d83f7..0878c46bfa8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/enum_arrays.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/enum_arrays.md @@ -4,13 +4,13 @@ petstore_api.components.schema.enum_arrays ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**just_symbol** | str, | str, | | [optional] must be one of [">=", "$", ] -**array_enum** | list, tuple, | tuple, [properties.ArrayEnum](#properties-arrayenum) | | [optional] +**just_symbol** | str | str | | [optional] must be one of [">=", "$"] +**array_enum** | list, tuple | [properties.ArrayEnum](#properties-arrayenum) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties ArrayEnum @@ -18,11 +18,11 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | must be one of ["fish", "crab", ] +items | str | str | | must be one of ["fish", "crab"] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/enum_class.md b/samples/openapi3/client/petstore/python/docs/components/schema/enum_class.md index f3e927d00f7..c64ce4f6bad 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/enum_class.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/enum_class.md @@ -4,6 +4,6 @@ petstore_api.components.schema.enum_class ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["_abc", "-efg", "(xyz)", "COUNT_1M", "COUNT_50M", ] if omitted the server will use the default value of -efg +str | str | | must be one of ["_abc", "-efg", "(xyz)", "COUNT_1M", "COUNT_50M"] if omitted the server will use the default value of -efg [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/enum_test.md b/samples/openapi3/client/petstore/python/docs/components/schema/enum_test.md index 4d3d66a2b8c..044aa6947a6 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/enum_test.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/enum_test.md @@ -4,20 +4,20 @@ petstore_api.components.schema.enum_test ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**enum_string_required** | str, | str, | | must be one of ["UPPER", "lower", "", ] -**enum_string** | str, | str, | | [optional] must be one of ["UPPER", "lower", "", ] -**enum_integer** | decimal.Decimal, int, | decimal.Decimal, | | [optional] must be one of [1, -1, ] value must be a 32 bit integer -**enum_number** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] must be one of [1.1, -1.2, ] value must be a 64 bit float -**stringEnum** | [**StringEnum**](string_enum.md) | [**StringEnum**](string_enum.md) | | [optional] -**IntegerEnum** | [**IntegerEnum**](integer_enum.md) | [**IntegerEnum**](integer_enum.md) | | [optional] -**StringEnumWithDefaultValue** | [**StringEnumWithDefaultValue**](string_enum_with_default_value.md) | [**StringEnumWithDefaultValue**](string_enum_with_default_value.md) | | [optional] -**IntegerEnumWithDefaultValue** | [**IntegerEnumWithDefaultValue**](integer_enum_with_default_value.md) | [**IntegerEnumWithDefaultValue**](integer_enum_with_default_value.md) | | [optional] -**IntegerEnumOneValue** | [**IntegerEnumOneValue**](integer_enum_one_value.md) | [**IntegerEnumOneValue**](integer_enum_one_value.md) | | [optional] +**enum_string_required** | str | str | | must be one of ["UPPER", "lower", ""] +**enum_string** | str | str | | [optional] must be one of ["UPPER", "lower", ""] +**enum_integer** | decimal.Decimal, int | decimal.Decimal | | [optional] must be one of [1, -1] value must be a 32 bit integer +**enum_number** | decimal.Decimal, int, float | decimal.Decimal | | [optional] must be one of [1.1, -1.2] value must be a 64 bit float +**stringEnum** | [**StringEnum**](string_enum.md), None, str | [**StringEnum**](string_enum.md) | | [optional] +**IntegerEnum** | [**IntegerEnum**](integer_enum.md), decimal.Decimal, int | [**IntegerEnum**](integer_enum.md) | | [optional] +**StringEnumWithDefaultValue** | [**StringEnumWithDefaultValue**](string_enum_with_default_value.md), str | [**StringEnumWithDefaultValue**](string_enum_with_default_value.md) | | [optional] +**IntegerEnumWithDefaultValue** | [**IntegerEnumWithDefaultValue**](integer_enum_with_default_value.md), decimal.Decimal, int | [**IntegerEnumWithDefaultValue**](integer_enum_with_default_value.md) | | [optional] +**IntegerEnumOneValue** | [**IntegerEnumOneValue**](integer_enum_one_value.md), decimal.Decimal, int | [**IntegerEnumOneValue**](integer_enum_one_value.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/equilateral_triangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/equilateral_triangle.md index 382600675f7..795b4e2b99b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/equilateral_triangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/equilateral_triangle.md @@ -4,26 +4,26 @@ petstore_api.components.schema.equilateral_triangle ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**TriangleInterface**](triangle_interface.md) | [**TriangleInterface**](triangle_interface.md) | [**TriangleInterface**](triangle_interface.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**triangleType** | str, | str, | | [optional] must be one of ["EquilateralTriangle", ] +**triangleType** | str | str | | [optional] must be one of ["EquilateralTriangle"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/file.md b/samples/openapi3/client/petstore/python/docs/components/schema/file.md index 373c83eb7db..285e9cc3ac4 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/file.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/file.md @@ -7,12 +7,12 @@ Must be named `File` for test. ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Must be named `File` for test. | +dict, frozendict.frozendict | frozendict.frozendict | Must be named `File` for test. | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**sourceURI** | str, | str, | Test capitalization | [optional] +**sourceURI** | str | str | Test capitalization | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/file_schema_test_class.md b/samples/openapi3/client/petstore/python/docs/components/schema/file_schema_test_class.md index b7dfade9224..a8e833172df 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/file_schema_test_class.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/file_schema_test_class.md @@ -4,13 +4,13 @@ petstore_api.components.schema.file_schema_test_class ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**file** | [**File**](file.md) | [**File**](file.md) | | [optional] -**files** | list, tuple, | tuple, [properties.Files](#properties-files) | | [optional] +**file** | [**File**](file.md), dict, frozendict.frozendict | [**File**](file.md) | | [optional] +**files** | list, tuple | [properties.Files](#properties-files) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties Files @@ -18,7 +18,7 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/foo.md b/samples/openapi3/client/petstore/python/docs/components/schema/foo.md index 7d9b5640b47..bafa54affe6 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/foo.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/foo.md @@ -4,12 +4,12 @@ petstore_api.components.schema.foo ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | [**Bar**](bar.md) | [**Bar**](bar.md) | | [optional] +**bar** | [**Bar**](bar.md), str | [**Bar**](bar.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/format_test.md b/samples/openapi3/client/petstore/python/docs/components/schema/format_test.md index ceeac512044..9c21f7e3e99 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/format_test.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/format_test.md @@ -4,32 +4,32 @@ petstore_api.components.schema.format_test ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**byte** | str, | str, | | -**date** | str, datetime.date, | str, | | value must conform to RFC-3339 full-date YYYY-MM-DD -**number** | decimal.Decimal, int, float, | decimal.Decimal, | | -**password** | str, | str, | | -**integer** | decimal.Decimal, int, | decimal.Decimal, | | [optional] -**int32** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 32 bit integer -**int32withValidations** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 32 bit integer -**int64** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**float** | decimal.Decimal, int, float, | decimal.Decimal, | this is a reserved python keyword | [optional] value must be a 32 bit float -**float32** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] value must be a 32 bit float -**double** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] value must be a 64 bit float -**float64** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] value must be a 64 bit float -**arrayWithUniqueItems** | list, tuple, | tuple, [properties.ArrayWithUniqueItems](#properties-arraywithuniqueitems) | | [optional] -**string** | str, | str, | | [optional] -**binary** | bytes, io.FileIO, io.BufferedReader, | bytes, io.FileIO, | | [optional] -**dateTime** | str, datetime.datetime, | str, | | [optional] value must conform to RFC-3339 date-time -**uuid** | str, uuid.UUID, | str, | | [optional] value must be a uuid -**uuidNoExample** | str, uuid.UUID, | str, | | [optional] value must be a uuid -**pattern_with_digits** | str, | str, | A string that is a 10 digit number. Can have leading zeros. | [optional] -**pattern_with_digits_and_delimiter** | str, | str, | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] -**noneProp** | None, | NoneClass, | | [optional] +**byte** | str | str | | +**date** | str, datetime.date | str | | value must conform to RFC-3339 full-date YYYY-MM-DD +**number** | decimal.Decimal, int, float | decimal.Decimal | | +**password** | str | str | | +**integer** | decimal.Decimal, int | decimal.Decimal | | [optional] +**int32** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 32 bit integer +**int32withValidations** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 32 bit integer +**int64** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer +**float** | decimal.Decimal, int, float | decimal.Decimal | this is a reserved python keyword | [optional] value must be a 32 bit float +**float32** | decimal.Decimal, int, float | decimal.Decimal | | [optional] value must be a 32 bit float +**double** | decimal.Decimal, int, float | decimal.Decimal | | [optional] value must be a 64 bit float +**float64** | decimal.Decimal, int, float | decimal.Decimal | | [optional] value must be a 64 bit float +**arrayWithUniqueItems** | list, tuple | [properties.ArrayWithUniqueItems](#properties-arraywithuniqueitems) | | [optional] +**string** | str | str | | [optional] +**binary** | bytes, io.FileIO, io.BufferedReader | bytes, io.FileIO | | [optional] +**dateTime** | str, datetime.datetime | str | | [optional] value must conform to RFC-3339 date-time +**uuid** | str, uuid.UUID | str | | [optional] value must be a uuid +**uuidNoExample** | str, uuid.UUID | str | | [optional] value must be a uuid +**pattern_with_digits** | str | str | A string that is a 10 digit number. Can have leading zeros. | [optional] +**pattern_with_digits_and_delimiter** | str | str | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional] +**noneProp** | None | NoneClass | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties ArrayWithUniqueItems @@ -37,11 +37,11 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | decimal.Decimal, int, float, | decimal.Decimal, | | +items | decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/from_schema.md b/samples/openapi3/client/petstore/python/docs/components/schema/from_schema.md index dc928a3d11d..6eb8190dd30 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/from_schema.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/from_schema.md @@ -4,13 +4,13 @@ petstore_api.components.schema.from_schema ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**data** | str, | str, | | [optional] -**id** | decimal.Decimal, int, | decimal.Decimal, | | [optional] +**data** | str | str | | [optional] +**id** | decimal.Decimal, int | decimal.Decimal | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/fruit.md b/samples/openapi3/client/petstore/python/docs/components/schema/fruit.md index 88063581c53..343d85a45d7 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/fruit.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/fruit.md @@ -4,12 +4,12 @@ petstore_api.components.schema.fruit ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**color** | str, | str, | | [optional] +**color** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Composed Schemas (allOf/anyOf/oneOf/not) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/fruit_req.md b/samples/openapi3/client/petstore/python/docs/components/schema/fruit_req.md index b443aeb05de..469c1d4b468 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/fruit_req.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/fruit_req.md @@ -4,13 +4,13 @@ petstore_api.components.schema.fruit_req ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | None, | NoneClass, | | +[_0](#oneof-_0) | None | NoneClass | | [**AppleReq**](apple_req.md) | [**AppleReq**](apple_req.md) | [**AppleReq**](apple_req.md) | | [**BananaReq**](banana_req.md) | [**BananaReq**](banana_req.md) | [**BananaReq**](banana_req.md) | | @@ -19,6 +19,6 @@ Class Name | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/gm_fruit.md b/samples/openapi3/client/petstore/python/docs/components/schema/gm_fruit.md index a53ffd8d0d7..fd9ce4c74ed 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/gm_fruit.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/gm_fruit.md @@ -4,12 +4,12 @@ petstore_api.components.schema.gm_fruit ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**color** | str, | str, | | [optional] +**color** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] ## Composed Schemas (allOf/anyOf/oneOf/not) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/grandparent_animal.md b/samples/openapi3/client/petstore/python/docs/components/schema/grandparent_animal.md index 686f9d3779d..284ccc80023 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/grandparent_animal.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/grandparent_animal.md @@ -4,12 +4,12 @@ petstore_api.components.schema.grandparent_animal ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**pet_type** | str, | str, | | +**pet_type** | str | str | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/has_only_read_only.md b/samples/openapi3/client/petstore/python/docs/components/schema/has_only_read_only.md index 523318c50a5..9bbab9818a0 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/has_only_read_only.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/has_only_read_only.md @@ -4,13 +4,13 @@ petstore_api.components.schema.has_only_read_only ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | str, | str, | | [optional] -**foo** | str, | str, | | [optional] +**bar** | str | str | | [optional] +**foo** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/health_check_result.md b/samples/openapi3/client/petstore/python/docs/components/schema/health_check_result.md index b6a7f26615f..6af3a91effd 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/health_check_result.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/health_check_result.md @@ -7,12 +7,12 @@ Just a string to inform instance is up and running. Make it nullable in hope to ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. | +dict, frozendict.frozendict | frozendict.frozendict | Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**NullableMessage** | None, str, | NoneClass, str, | | [optional] +**NullableMessage** | None, str | NoneClass, str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum.md index 9c07a30e81c..2dabec76805 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum.md @@ -4,6 +4,6 @@ petstore_api.components.schema.integer_enum ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | must be one of [0, 1, 2, ] +decimal.Decimal, int | decimal.Decimal | | must be one of [0, 1, 2] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_big.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_big.md index 9ae9bf6c979..3c0910e3043 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_big.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_big.md @@ -4,6 +4,6 @@ petstore_api.components.schema.integer_enum_big ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | must be one of [10, 11, 12, ] +decimal.Decimal, int | decimal.Decimal | | must be one of [10, 11, 12] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_one_value.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_one_value.md index 94e08317b10..7ff82d84c35 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_one_value.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_one_value.md @@ -4,6 +4,6 @@ petstore_api.components.schema.integer_enum_one_value ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | must be one of [0, ] +decimal.Decimal, int | decimal.Decimal | | must be one of [0] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_with_default_value.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_with_default_value.md index 69082eafb19..e8e408d2ca2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_with_default_value.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_with_default_value.md @@ -4,6 +4,6 @@ petstore_api.components.schema.integer_enum_with_default_value ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | must be one of [0, 1, 2, ] if omitted the server will use the default value of 0 +decimal.Decimal, int | decimal.Decimal | | must be one of [0, 1, 2] if omitted the server will use the default value of 0 [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/integer_max10.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_max10.md index 8c8546250ae..6cb9823af72 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/integer_max10.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_max10.md @@ -4,6 +4,6 @@ petstore_api.components.schema.integer_max10 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/integer_min15.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_min15.md index aed6bfc7ee3..77816476dd4 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/integer_min15.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_min15.md @@ -4,6 +4,6 @@ petstore_api.components.schema.integer_min15 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer +decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/isosceles_triangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/isosceles_triangle.md index 7472449dd52..5d8dad9cf69 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/isosceles_triangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/isosceles_triangle.md @@ -4,26 +4,26 @@ petstore_api.components.schema.isosceles_triangle ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**TriangleInterface**](triangle_interface.md) | [**TriangleInterface**](triangle_interface.md) | [**TriangleInterface**](triangle_interface.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**triangleType** | str, | str, | | [optional] must be one of ["IsoscelesTriangle", ] +**triangleType** | str | str | | [optional] must be one of ["IsoscelesTriangle"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/items.md b/samples/openapi3/client/petstore/python/docs/components/schema/items.md index c2ae3234283..dd76e5362c3 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/items.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/items.md @@ -7,18 +7,18 @@ component's name collides with the inner schema name ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | component's name collides with the inner schema name | +list, tuple | tuple | component's name collides with the inner schema name | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[items](#items) | dict, frozendict.frozendict | frozendict.frozendict | | # Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request.md index 2b1a710b18b..210d6dd272b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request.md @@ -4,19 +4,19 @@ petstore_api.components.schema.json_patch_request ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#items) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +[items](#items) | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | # Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_add_replace_test.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_add_replace_test.md index 009fcd038c2..0c2f2d67602 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_add_replace_test.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_add_replace_test.md @@ -4,13 +4,13 @@ petstore_api.components.schema.json_patch_request_add_replace_test ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**op** | str, | str, | The operation to perform. | must be one of ["add", "replace", "test", ] -**path** | str, | str, | A JSON Pointer path. | -**value** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | The value to add, replace or test. | +**op** | str | str | The operation to perform. | must be one of ["add", "replace", "test"] +**path** | str | str | A JSON Pointer path. | +**value** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | The value to add, replace or test. | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_move_copy.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_move_copy.md index 5c866c5dac5..7afe39861bf 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_move_copy.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_move_copy.md @@ -4,13 +4,13 @@ petstore_api.components.schema.json_patch_request_move_copy ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**from** | str, | str, | A JSON Pointer path. | -**op** | str, | str, | The operation to perform. | must be one of ["move", "copy", ] -**path** | str, | str, | A JSON Pointer path. | +**from** | str | str | A JSON Pointer path. | +**op** | str | str | The operation to perform. | must be one of ["move", "copy"] +**path** | str | str | A JSON Pointer path. | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_remove.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_remove.md index 33aa00b3756..7e85e1ca89e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_remove.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_remove.md @@ -4,12 +4,12 @@ petstore_api.components.schema.json_patch_request_remove ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**op** | str, | str, | The operation to perform. | must be one of ["remove", ] -**path** | str, | str, | A JSON Pointer path. | +**op** | str | str | The operation to perform. | must be one of ["remove"] +**path** | str | str | A JSON Pointer path. | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/mammal.md b/samples/openapi3/client/petstore/python/docs/components/schema/mammal.md index d3db4024e69..051dc3e9f17 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/mammal.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/mammal.md @@ -4,7 +4,7 @@ petstore_api.components.schema.mammal ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/map_test.md b/samples/openapi3/client/petstore/python/docs/components/schema/map_test.md index c2d44388ba5..da2ac17a444 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/map_test.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/map_test.md @@ -4,15 +4,15 @@ petstore_api.components.schema.map_test ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**map_map_of_string** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapMapOfString](#properties-mapmapofstring) | | [optional] -**map_of_enum_string** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.MapOfEnumString](#properties-mapofenumstring) | | [optional] -**direct_map** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.DirectMap](#properties-directmap) | | [optional] -**indirect_map** | [**StringBooleanMap**](string_boolean_map.md) | [**StringBooleanMap**](string_boolean_map.md) | | [optional] +**map_map_of_string** | dict, frozendict.frozendict | [properties.MapMapOfString](#properties-mapmapofstring) | | [optional] +**map_of_enum_string** | dict, frozendict.frozendict | [properties.MapOfEnumString](#properties-mapofenumstring) | | [optional] +**direct_map** | dict, frozendict.frozendict | [properties.DirectMap](#properties-directmap) | | [optional] +**indirect_map** | [**StringBooleanMap**](string_boolean_map.md), dict, frozendict.frozendict | [**StringBooleanMap**](string_boolean_map.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties MapMapOfString @@ -20,47 +20,47 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | dict, frozendict.frozendict, | frozendict.frozendict, [AdditionalProperties](#properties-mapmapofstring-additionalproperties) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | dict, frozendict.frozendict | [AdditionalProperties](#properties-mapmapofstring-additionalproperties) | any string name can be used but the value must be the correct type | [optional] # properties MapMapOfString AdditionalProperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | str | str | any string name can be used but the value must be the correct type | [optional] # properties MapOfEnumString ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type | [optional] must be one of ["UPPER", "lower", ] +**any_string_name** | str | str | any string name can be used but the value must be the correct type | [optional] must be one of ["UPPER", "lower"] # properties DirectMap ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | bool, | BoolClass, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | bool | BoolClass | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/mixed_properties_and_additional_properties_class.md b/samples/openapi3/client/petstore/python/docs/components/schema/mixed_properties_and_additional_properties_class.md index c566b55e063..d1a87ac4f9e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/mixed_properties_and_additional_properties_class.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/mixed_properties_and_additional_properties_class.md @@ -4,14 +4,14 @@ petstore_api.components.schema.mixed_properties_and_additional_properties_class ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**uuid** | str, uuid.UUID, | str, | | [optional] value must be a uuid -**dateTime** | str, datetime.datetime, | str, | | [optional] value must conform to RFC-3339 date-time -**map** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.Map](#properties-map) | | [optional] +**uuid** | str, uuid.UUID | str | | [optional] value must be a uuid +**dateTime** | str, datetime.datetime | str | | [optional] value must conform to RFC-3339 date-time +**map** | dict, frozendict.frozendict | [properties.Map](#properties-map) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties Map @@ -19,11 +19,11 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | [**Animal**](animal.md) | [**Animal**](animal.md) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | [**Animal**](animal.md), dict, frozendict.frozendict | [**Animal**](animal.md) | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/money.md b/samples/openapi3/client/petstore/python/docs/components/schema/money.md index 4398af33427..b35359b6687 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/money.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/money.md @@ -4,13 +4,13 @@ petstore_api.components.schema.money ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**amount** | str, | str, | | value must be numeric and storable in decimal.Decimal -**currency** | [**Currency**](currency.md) | [**Currency**](currency.md) | | +**amount** | str | str | | value must be numeric and storable in decimal.Decimal +**currency** | [**Currency**](currency.md), str | [**Currency**](currency.md) | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/name.md b/samples/openapi3/client/petstore/python/docs/components/schema/name.md index 675c15dd4d9..3439fd81754 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/name.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/name.md @@ -7,14 +7,14 @@ Model for testing model name same as property name ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | Model for testing model name same as property name | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | Model for testing model name same as property name | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**name** | decimal.Decimal, int, | decimal.Decimal, | | value must be a 32 bit integer -**snake_case** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 32 bit integer -**property** | str, | str, | this is a reserved python keyword | [optional] +**name** | decimal.Decimal, int | decimal.Decimal | | value must be a 32 bit integer +**snake_case** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 32 bit integer +**property** | str | str | this is a reserved python keyword | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/no_additional_properties.md b/samples/openapi3/client/petstore/python/docs/components/schema/no_additional_properties.md index c8e1a7ad91b..80ea3d9d773 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/no_additional_properties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/no_additional_properties.md @@ -4,12 +4,12 @@ petstore_api.components.schema.no_additional_properties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**id** | decimal.Decimal, int, | decimal.Decimal, | | value must be a 64 bit integer -**petId** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer +**id** | decimal.Decimal, int | decimal.Decimal | | value must be a 64 bit integer +**petId** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/nullable_class.md b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_class.md index 50f32ba1997..27117058e3a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/nullable_class.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_class.md @@ -4,144 +4,144 @@ petstore_api.components.schema.nullable_class ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**integer_prop** | None, decimal.Decimal, int, | NoneClass, decimal.Decimal, | | [optional] -**number_prop** | None, decimal.Decimal, int, float, | NoneClass, decimal.Decimal, | | [optional] -**boolean_prop** | None, bool, | NoneClass, BoolClass, | | [optional] -**string_prop** | None, str, | NoneClass, str, | | [optional] -**date_prop** | None, str, datetime.date, | NoneClass, str, | | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD -**datetime_prop** | None, str, datetime.datetime, | NoneClass, str, | | [optional] value must conform to RFC-3339 date-time -**array_nullable_prop** | None, list, tuple, | NoneClass, tuple, [properties.ArrayNullableProp](#properties-arraynullableprop) | | [optional] -**array_and_items_nullable_prop** | None, list, tuple, | NoneClass, tuple, [properties.ArrayAndItemsNullableProp](#properties-arrayanditemsnullableprop) | | [optional] -**array_items_nullable** | list, tuple, | tuple, [properties.ArrayItemsNullable](#properties-arrayitemsnullable) | | [optional] -**object_nullable_prop** | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, [properties.ObjectNullableProp](#properties-objectnullableprop) | | [optional] -**object_and_items_nullable_prop** | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, [properties.ObjectAndItemsNullableProp](#properties-objectanditemsnullableprop) | | [optional] -**object_items_nullable** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.ObjectItemsNullable](#properties-objectitemsnullable) | | [optional] -**any_string_name** | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, [AdditionalProperties](#additionalproperties) | any string name can be used but the value must be the correct type | [optional] +**integer_prop** | None, decimal.Decimal, int | NoneClass, decimal.Decimal | | [optional] +**number_prop** | None, decimal.Decimal, int, float | NoneClass, decimal.Decimal | | [optional] +**boolean_prop** | None, bool | NoneClass, BoolClass | | [optional] +**string_prop** | None, str | NoneClass, str | | [optional] +**date_prop** | None, str, datetime.date | NoneClass, str | | [optional] value must conform to RFC-3339 full-date YYYY-MM-DD +**datetime_prop** | None, str, datetime.datetime | NoneClass, str | | [optional] value must conform to RFC-3339 date-time +**array_nullable_prop** | None, list, tuple | [properties.ArrayNullableProp](#properties-arraynullableprop) | | [optional] +**array_and_items_nullable_prop** | None, list, tuple | [properties.ArrayAndItemsNullableProp](#properties-arrayanditemsnullableprop) | | [optional] +**array_items_nullable** | list, tuple | [properties.ArrayItemsNullable](#properties-arrayitemsnullable) | | [optional] +**object_nullable_prop** | None, dict, frozendict.frozendict | [properties.ObjectNullableProp](#properties-objectnullableprop) | | [optional] +**object_and_items_nullable_prop** | None, dict, frozendict.frozendict | [properties.ObjectAndItemsNullableProp](#properties-objectanditemsnullableprop) | | [optional] +**object_items_nullable** | dict, frozendict.frozendict | [properties.ObjectItemsNullable](#properties-objectitemsnullable) | | [optional] +**any_string_name** | None, dict, frozendict.frozendict | [AdditionalProperties](#additionalproperties) | any string name can be used but the value must be the correct type | [optional] # properties ArrayNullableProp ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, list, tuple, | NoneClass, tuple, | | +None, list, tuple | NoneClass, tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#properties-arraynullableprop-items) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[items](#properties-arraynullableprop-items) | dict, frozendict.frozendict | frozendict.frozendict | | # properties ArrayNullableProp Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # properties ArrayAndItemsNullableProp ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, list, tuple, | NoneClass, tuple, | | +None, list, tuple | NoneClass, tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#properties-arrayanditemsnullableprop-items) | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +[items](#properties-arrayanditemsnullableprop-items) | None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | # properties ArrayAndItemsNullableProp Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | # properties ArrayItemsNullable ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[items](#properties-arrayitemsnullable-items) | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +[items](#properties-arrayitemsnullable-items) | None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | # properties ArrayItemsNullable Items ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | # properties ObjectNullableProp ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | dict, frozendict.frozendict, | frozendict.frozendict, [AdditionalProperties](#properties-objectnullableprop-additionalproperties) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | dict, frozendict.frozendict | [AdditionalProperties](#properties-objectnullableprop-additionalproperties) | any string name can be used but the value must be the correct type | [optional] # properties ObjectNullableProp AdditionalProperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # properties ObjectAndItemsNullableProp ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, [AdditionalProperties](#properties-objectanditemsnullableprop-additionalproperties) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | None, dict, frozendict.frozendict | [AdditionalProperties](#properties-objectanditemsnullableprop-additionalproperties) | any string name can be used but the value must be the correct type | [optional] # properties ObjectAndItemsNullableProp AdditionalProperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | # properties ObjectItemsNullable ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, [AdditionalProperties](#properties-objectitemsnullable-additionalproperties) | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | None, dict, frozendict.frozendict | [AdditionalProperties](#properties-objectitemsnullable-additionalproperties) | any string name can be used but the value must be the correct type | [optional] # properties ObjectItemsNullable AdditionalProperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | # AdditionalProperties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/nullable_shape.md b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_shape.md index 21541732eab..c184b13f888 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/nullable_shape.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_shape.md @@ -7,7 +7,7 @@ The value may be a shape or the 'null' value. For a composed schema to ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | The value may be a shape or the 'null' value. For a composed schema to validate a null payload, one of its chosen oneOf schemas must be type null or nullable (introduced in OAS schema >= 3.0) | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | The value may be a shape or the 'null' value. For a composed schema to validate a null payload, one of its chosen oneOf schemas must be type null or nullable (introduced in OAS schema >= 3.0) | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf @@ -15,13 +15,13 @@ Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**Triangle**](triangle.md) | [**Triangle**](triangle.md) | [**Triangle**](triangle.md) | | [**Quadrilateral**](quadrilateral.md) | [**Quadrilateral**](quadrilateral.md) | [**Quadrilateral**](quadrilateral.md) | | -[_2](#oneof-_2) | None, | NoneClass, | | +[_2](#oneof-_2) | None | NoneClass | | # oneof _2 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/nullable_string.md b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_string.md index 1efd815d07c..4e9fb1b068e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/nullable_string.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_string.md @@ -4,6 +4,6 @@ petstore_api.components.schema.nullable_string ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, str, | NoneClass, str, | | +None, str | NoneClass, str | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/number.md b/samples/openapi3/client/petstore/python/docs/components/schema/number.md index ca3d4b689ac..c5c0a9137ab 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/number.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/number.md @@ -4,6 +4,6 @@ petstore_api.components.schema.number ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/number_only.md b/samples/openapi3/client/petstore/python/docs/components/schema/number_only.md index f51f254f43c..e6ce33df0aa 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/number_only.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/number_only.md @@ -4,12 +4,12 @@ petstore_api.components.schema.number_only ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**JustNumber** | decimal.Decimal, int, float, | decimal.Decimal, | | [optional] +**JustNumber** | decimal.Decimal, int, float | decimal.Decimal | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/number_with_validations.md b/samples/openapi3/client/petstore/python/docs/components/schema/number_with_validations.md index 93bcae521bb..bfaba196136 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/number_with_validations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/number_with_validations.md @@ -4,6 +4,6 @@ petstore_api.components.schema.number_with_validations ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -decimal.Decimal, int, float, | decimal.Decimal, | | +decimal.Decimal, int, float | decimal.Decimal | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_interface.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_interface.md index accea23f8c2..f3391bb0c84 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_interface.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_interface.md @@ -4,6 +4,6 @@ petstore_api.components.schema.object_interface ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_arg_and_args_properties.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_arg_and_args_properties.md index 787f3d3a222..4811ed2110c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_arg_and_args_properties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_arg_and_args_properties.md @@ -4,13 +4,13 @@ petstore_api.components.schema.object_model_with_arg_and_args_properties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**arg** | str, | str, | | -**args** | str, | str, | | +**arg** | str | str | | +**args** | str | str | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_ref_props.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_ref_props.md index 5df047d4236..a8973a389cf 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_ref_props.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_ref_props.md @@ -7,14 +7,14 @@ a model that includes properties which should stay primitive (String + Boolean) ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | a model that includes properties which should stay primitive (String + Boolean) and one which is defined as a class, NumberWithValidations | +dict, frozendict.frozendict | frozendict.frozendict | a model that includes properties which should stay primitive (String + Boolean) and one which is defined as a class, NumberWithValidations | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**myNumber** | [**NumberWithValidations**](number_with_validations.md) | [**NumberWithValidations**](number_with_validations.md) | | [optional] -**myString** | [**String**](string.md) | [**String**](string.md) | | [optional] -**myBoolean** | [**Boolean**](boolean.md) | [**Boolean**](boolean.md) | | [optional] +**myNumber** | [**NumberWithValidations**](number_with_validations.md), decimal.Decimal, int, float | [**NumberWithValidations**](number_with_validations.md) | | [optional] +**myString** | [**String**](string.md), str | [**String**](string.md) | | [optional] +**myBoolean** | [**Boolean**](boolean.md), bool | [**Boolean**](boolean.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.md index 8dde069f0c0..0a434163e4d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.md @@ -4,26 +4,26 @@ petstore_api.components.schema.object_with_all_of_with_req_test_prop_from_unset_ ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**ObjectWithOptionalTestProp**](object_with_optional_test_prop.md) | [**ObjectWithOptionalTestProp**](object_with_optional_test_prop.md) | [**ObjectWithOptionalTestProp**](object_with_optional_test_prop.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**test** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +**test** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_colliding_properties.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_colliding_properties.md index 77df519e7e6..a74b0cdd42c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_colliding_properties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_colliding_properties.md @@ -7,13 +7,13 @@ component with properties that have name collisions ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | component with properties that have name collisions | +dict, frozendict.frozendict | frozendict.frozendict | component with properties that have name collisions | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**someProp** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.SomeProp](#properties-someprop) | | [optional] -**someprop** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.Someprop](#properties-someprop-1) | | [optional] +**someProp** | dict, frozendict.frozendict | [properties.SomeProp](#properties-someprop) | | [optional] +**someprop** | dict, frozendict.frozendict | [properties.Someprop](#properties-someprop) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties SomeProp @@ -21,13 +21,13 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | # properties Someprop ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_decimal_properties.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_decimal_properties.md index 98df294c73a..55b1581cc5e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_decimal_properties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_decimal_properties.md @@ -4,14 +4,14 @@ petstore_api.components.schema.object_with_decimal_properties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**length** | [**DecimalPayload**](decimal_payload.md) | [**DecimalPayload**](decimal_payload.md) | | [optional] -**width** | str, | str, | | [optional] value must be numeric and storable in decimal.Decimal -**cost** | [**Money**](money.md) | [**Money**](money.md) | | [optional] +**length** | [**DecimalPayload**](decimal_payload.md), str | [**DecimalPayload**](decimal_payload.md) | | [optional] +**width** | str | str | | [optional] value must be numeric and storable in decimal.Decimal +**cost** | [**Money**](money.md), dict, frozendict.frozendict | [**Money**](money.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_difficultly_named_props.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_difficultly_named_props.md index 7f5626607f3..1e0d9f812d3 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_difficultly_named_props.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_difficultly_named_props.md @@ -7,14 +7,14 @@ model with properties that have invalid names for python ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | model with properties that have invalid names for python | +dict, frozendict.frozendict | frozendict.frozendict | model with properties that have invalid names for python | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**123-list** | str, | str, | | -**$special[property.name]** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**123Number** | decimal.Decimal, int, | decimal.Decimal, | | [optional] +**123-list** | str | str | | +**$special[property.name]** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer +**123Number** | decimal.Decimal, int | decimal.Decimal | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_inline_composition_property.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_inline_composition_property.md index 02d69355366..6ec8d62c45c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_inline_composition_property.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_inline_composition_property.md @@ -4,12 +4,12 @@ petstore_api.components.schema.object_with_inline_composition_property ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, [properties.SomeProp](#properties-someprop) | | [optional] +**someProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [properties.SomeProp](#properties-someprop) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties SomeProp @@ -17,19 +17,19 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#properties-someprop-allof-_0) | str, | str, | | +[_0](#properties-someprop-allof-_0) | str | str | | # properties SomeProp allof _0 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_invalid_named_refed_properties.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_invalid_named_refed_properties.md index 89200a5a4d1..f74a8b16251 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_invalid_named_refed_properties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_invalid_named_refed_properties.md @@ -4,13 +4,13 @@ petstore_api.components.schema.object_with_invalid_named_refed_properties ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**!reference** | [**ArrayWithValidationsInItems**](array_with_validations_in_items.md) | [**ArrayWithValidationsInItems**](array_with_validations_in_items.md) | | -**from** | [**FromSchema**](from_schema.md) | [**FromSchema**](from_schema.md) | | +**!reference** | [**ArrayWithValidationsInItems**](array_with_validations_in_items.md), list, tuple | [**ArrayWithValidationsInItems**](array_with_validations_in_items.md) | | +**from** | [**FromSchema**](from_schema.md), dict, frozendict.frozendict | [**FromSchema**](from_schema.md) | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_optional_test_prop.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_optional_test_prop.md index 6f819bb3fc9..f4f2fe30258 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_optional_test_prop.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_optional_test_prop.md @@ -4,12 +4,12 @@ petstore_api.components.schema.object_with_optional_test_prop ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**test** | str, | str, | | [optional] +**test** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_validations.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_validations.md index 9ae59d7d297..8c6ccab3f7f 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/object_with_validations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_validations.md @@ -4,6 +4,6 @@ petstore_api.components.schema.object_with_validations ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/order.md b/samples/openapi3/client/petstore/python/docs/components/schema/order.md index 9067fc7a736..6019804d0b9 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/order.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/order.md @@ -4,17 +4,17 @@ petstore_api.components.schema.order ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**id** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**petId** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**quantity** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 32 bit integer -**shipDate** | str, datetime.datetime, | str, | | [optional] value must conform to RFC-3339 date-time -**status** | str, | str, | Order Status | [optional] must be one of ["placed", "approved", "delivered", ] -**complete** | bool, | BoolClass, | | [optional] if omitted the server will use the default value of false +**id** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer +**petId** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer +**quantity** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 32 bit integer +**shipDate** | str, datetime.datetime | str | | [optional] value must conform to RFC-3339 date-time +**status** | str | str | Order Status | [optional] must be one of ["placed", "approved", "delivered"] +**complete** | bool | BoolClass | | [optional] if omitted the server will use the default value of false **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/parent_pet.md b/samples/openapi3/client/petstore/python/docs/components/schema/parent_pet.md index a7913eb894e..1306646d3eb 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/parent_pet.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/parent_pet.md @@ -4,7 +4,7 @@ petstore_api.components.schema.parent_pet ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/pet.md b/samples/openapi3/client/petstore/python/docs/components/schema/pet.md index f952b8c7d2f..35e713d42e2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/pet.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/pet.md @@ -7,17 +7,17 @@ Pet object that needs to be added to the store ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | Pet object that needs to be added to the store | +dict, frozendict.frozendict | frozendict.frozendict | Pet object that needs to be added to the store | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | -**photoUrls** | list, tuple, | tuple, [properties.PhotoUrls](#properties-photourls) | | -**id** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**category** | [**Category**](category.md) | [**Category**](category.md) | | [optional] -**tags** | list, tuple, | tuple, [properties.Tags](#properties-tags) | | [optional] -**status** | str, | str, | pet status in the store | [optional] must be one of ["available", "pending", "sold", ] +**name** | str | str | | +**photoUrls** | list, tuple | [properties.PhotoUrls](#properties-photourls) | | +**id** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer +**category** | [**Category**](category.md), dict, frozendict.frozendict | [**Category**](category.md) | | [optional] +**tags** | list, tuple | [properties.Tags](#properties-tags) | | [optional] +**status** | str | str | pet status in the store | [optional] must be one of ["available", "pending", "sold"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties PhotoUrls @@ -25,19 +25,19 @@ Key | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -items | str, | str, | | +items | str | str | | # properties Tags ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/pig.md b/samples/openapi3/client/petstore/python/docs/components/schema/pig.md index 403970af148..a16256b6530 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/pig.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/pig.md @@ -4,7 +4,7 @@ petstore_api.components.schema.pig ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/player.md b/samples/openapi3/client/petstore/python/docs/components/schema/player.md index bf0d9dc2f1d..eba885bf1df 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/player.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/player.md @@ -7,13 +7,13 @@ a model that includes a self reference this forces properties and additionalProp ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | a model that includes a self reference this forces properties and additionalProperties to be lazy loaded in python models because the Player class has not fully loaded when defining properties | +dict, frozendict.frozendict | frozendict.frozendict | a model that includes a self reference this forces properties and additionalProperties to be lazy loaded in python models because the Player class has not fully loaded when defining properties | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**name** | str, | str, | | [optional] -**enemyPlayer** | [**Player**](#top) | [**Player**](#top) | | [optional] +**name** | str | str | | [optional] +**enemyPlayer** | [**Player**](#top), dict, frozendict.frozendict | [**Player**](#top) | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral.md b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral.md index f92dc113648..321996aa4bd 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral.md @@ -4,7 +4,7 @@ petstore_api.components.schema.quadrilateral ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral_interface.md b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral_interface.md index 7afd942bfed..00d7faba1ba 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral_interface.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral_interface.md @@ -4,13 +4,13 @@ petstore_api.components.schema.quadrilateral_interface ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**quadrilateralType** | str, | str, | | -**shapeType** | str, | str, | | must be one of ["Quadrilateral", ] +**quadrilateralType** | str | str | | +**shapeType** | str | str | | must be one of ["Quadrilateral"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/read_only_first.md b/samples/openapi3/client/petstore/python/docs/components/schema/read_only_first.md index b1808a6d695..b66e475094f 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/read_only_first.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/read_only_first.md @@ -4,13 +4,13 @@ petstore_api.components.schema.read_only_first ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**bar** | str, | str, | | [optional] -**baz** | str, | str, | | [optional] +**bar** | str | str | | [optional] +**baz** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ref_pet.md b/samples/openapi3/client/petstore/python/docs/components/schema/ref_pet.md index a41655b952a..015e6035596 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ref_pet.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/ref_pet.md @@ -4,6 +4,6 @@ petstore_api.components.schema.ref_pet ## Type Info Ref Class | Input Type | Accessed Type | Description --------- | ---------- | ------------- | ------------ -[Pet](pet.md) | dict, frozendict.frozendict, | frozendict.frozendict, | +[Pet](pet.md) | dict, frozendict.frozendict | frozendict.frozendict | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_explicit_add_props.md b/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_explicit_add_props.md index 35b9e3dedca..9e0ab2d970c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_explicit_add_props.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_explicit_add_props.md @@ -4,13 +4,13 @@ petstore_api.components.schema.req_props_from_explicit_add_props ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**invalid-name** | str, | str, | | -**validName** | str, | str, | | -**any_string_name** | str, | str, | any string name can be used but the value must be the correct type | [optional] +**invalid-name** | str | str | | +**validName** | str | str | | +**any_string_name** | str | str | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_true_add_props.md b/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_true_add_props.md index cc5cf29dd82..23a1d391be7 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_true_add_props.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_true_add_props.md @@ -4,13 +4,13 @@ petstore_api.components.schema.req_props_from_true_add_props ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**invalid-name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**validName** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any string name can be used but the value must be the correct type | [optional] +**invalid-name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**validName** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_unset_add_props.md b/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_unset_add_props.md index 1ee9a6d60fd..f7a6e17c59e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_unset_add_props.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/req_props_from_unset_add_props.md @@ -4,13 +4,13 @@ petstore_api.components.schema.req_props_from_unset_add_props ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**invalid-name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | -**validName** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +**invalid-name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | +**validName** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/scalene_triangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/scalene_triangle.md index 29e9e124a49..c2a7554ee5c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/scalene_triangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/scalene_triangle.md @@ -4,26 +4,26 @@ petstore_api.components.schema.scalene_triangle ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**TriangleInterface**](triangle_interface.md) | [**TriangleInterface**](triangle_interface.md) | [**TriangleInterface**](triangle_interface.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**triangleType** | str, | str, | | [optional] must be one of ["ScaleneTriangle", ] +**triangleType** | str | str | | [optional] must be one of ["ScaleneTriangle"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_array_model.md b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_array_model.md index 1bb3b7bec24..83b055693ba 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_array_model.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_array_model.md @@ -4,7 +4,7 @@ petstore_api.components.schema.self_referencing_array_model ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -list, tuple, | tuple, | | +list, tuple | tuple | | ## List Items Class Name | Input Type | Accessed Type | Description | Notes diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_object_model.md b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_object_model.md index 22fb3a5e4de..8750d3cb15c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_object_model.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_object_model.md @@ -4,12 +4,12 @@ petstore_api.components.schema.self_referencing_object_model ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**selfRef** | [**SelfReferencingObjectModel**](#top) | [**SelfReferencingObjectModel**](#top) | | [optional] -**any_string_name** | [**SelfReferencingObjectModel**](#top) | [**SelfReferencingObjectModel**](#top) | any string name can be used but the value must be the correct type | [optional] +**selfRef** | [**SelfReferencingObjectModel**](#top), dict, frozendict.frozendict | [**SelfReferencingObjectModel**](#top) | | [optional] +**any_string_name** | [**SelfReferencingObjectModel**](#top), dict, frozendict.frozendict | [**SelfReferencingObjectModel**](#top) | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/shape.md b/samples/openapi3/client/petstore/python/docs/components/schema/shape.md index 97ecbe175af..64064b9ace0 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/shape.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/shape.md @@ -4,7 +4,7 @@ petstore_api.components.schema.shape ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/shape_or_null.md b/samples/openapi3/client/petstore/python/docs/components/schema/shape_or_null.md index 7b32bc9f40a..c8b3227beba 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/shape_or_null.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/shape_or_null.md @@ -7,13 +7,13 @@ The value may be a shape or the 'null' value. This is introduced in OA ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1. | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1. | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_0](#oneof-_0) | None, | NoneClass, | | +[_0](#oneof-_0) | None | NoneClass | | [**Triangle**](triangle.md) | [**Triangle**](triangle.md) | [**Triangle**](triangle.md) | | [**Quadrilateral**](quadrilateral.md) | [**Quadrilateral**](quadrilateral.md) | [**Quadrilateral**](quadrilateral.md) | | @@ -22,6 +22,6 @@ Class Name | Input Type | Accessed Type | Description | Notes ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/simple_quadrilateral.md b/samples/openapi3/client/petstore/python/docs/components/schema/simple_quadrilateral.md index de64f2ad17c..1eff5e486ad 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/simple_quadrilateral.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/simple_quadrilateral.md @@ -4,26 +4,26 @@ petstore_api.components.schema.simple_quadrilateral ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [**QuadrilateralInterface**](quadrilateral_interface.md) | [**QuadrilateralInterface**](quadrilateral_interface.md) | [**QuadrilateralInterface**](quadrilateral_interface.md) | | -[_1](#allof-_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | +[_1](#allof-_1) | dict, frozendict.frozendict | frozendict.frozendict | | # allof _1 ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**quadrilateralType** | str, | str, | | [optional] must be one of ["SimpleQuadrilateral", ] +**quadrilateralType** | str | str | | [optional] must be one of ["SimpleQuadrilateral"] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/some_object.md b/samples/openapi3/client/petstore/python/docs/components/schema/some_object.md index 3c9376d8314..71179089983 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/some_object.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/some_object.md @@ -4,7 +4,7 @@ petstore_api.components.schema.some_object ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## allOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/special_model_name.md b/samples/openapi3/client/petstore/python/docs/components/schema/special_model_name.md index 6087328d1e7..26f29b5ae1d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/special_model_name.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/special_model_name.md @@ -7,12 +7,12 @@ model with an invalid class name for python ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | model with an invalid class name for python | +dict, frozendict.frozendict | frozendict.frozendict | model with an invalid class name for python | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**a** | str, | str, | | [optional] +**a** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/string.md b/samples/openapi3/client/petstore/python/docs/components/schema/string.md index 39ca9588807..39b9d4f0fa8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/string.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string.md @@ -4,6 +4,6 @@ petstore_api.components.schema.string ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/string_boolean_map.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_boolean_map.md index d8c88e25434..3b95f170ef7 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/string_boolean_map.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_boolean_map.md @@ -4,11 +4,11 @@ petstore_api.components.schema.string_boolean_map ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | bool, | BoolClass, | any string name can be used but the value must be the correct type | [optional] +**any_string_name** | bool | BoolClass | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/string_enum.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum.md index 07eba984ff1..d9b229a03aa 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/string_enum.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum.md @@ -4,6 +4,6 @@ petstore_api.components.schema.string_enum ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, str, | NoneClass, str, | | must be one of ["placed", "approved", "delivered", "single quoted", "multiple\nlines", "double quote \n with newline", None, ] +None, str | NoneClass, str | | must be one of ["placed", "approved", "delivered", "single quoted", "multiple\nlines", "double quote \n with newline", None] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/string_enum_with_default_value.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum_with_default_value.md index 7d4e496f2c1..537504fc9a7 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/string_enum_with_default_value.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum_with_default_value.md @@ -4,6 +4,6 @@ petstore_api.components.schema.string_enum_with_default_value ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | must be one of ["placed", "approved", "delivered", ] if omitted the server will use the default value of placed +str | str | | must be one of ["placed", "approved", "delivered"] if omitted the server will use the default value of placed [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/string_with_validation.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_with_validation.md index 0db0c9b9ff4..d1c961e438a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/string_with_validation.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_with_validation.md @@ -4,6 +4,6 @@ petstore_api.components.schema.string_with_validation ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, | str, | | +str | str | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/tag.md b/samples/openapi3/client/petstore/python/docs/components/schema/tag.md index 08c2f3255b0..018431a2a26 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/tag.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/tag.md @@ -4,13 +4,13 @@ petstore_api.components.schema.tag ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**id** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**name** | str, | str, | | [optional] +**id** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer +**name** | str | str | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/triangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/triangle.md index 283bc6872c3..93687a30924 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/triangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/triangle.md @@ -4,7 +4,7 @@ petstore_api.components.schema.triangle ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Composed Schemas (allOf/anyOf/oneOf/not) ## oneOf diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/triangle_interface.md b/samples/openapi3/client/petstore/python/docs/components/schema/triangle_interface.md index 36ae98b5e94..383ce293503 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/triangle_interface.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/triangle_interface.md @@ -4,13 +4,13 @@ petstore_api.components.schema.triangle_interface ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**shapeType** | str, | str, | | must be one of ["Triangle", ] -**triangleType** | str, | str, | | +**shapeType** | str | str | | must be one of ["Triangle"] +**triangleType** | str | str | | **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/user.md b/samples/openapi3/client/petstore/python/docs/components/schema/user.md index 5ae0d7be506..f4ea92ecb78 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/user.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/user.md @@ -4,24 +4,24 @@ petstore_api.components.schema.user ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**id** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**username** | str, | str, | | [optional] -**firstName** | str, | str, | | [optional] -**lastName** | str, | str, | | [optional] -**email** | str, | str, | | [optional] -**password** | str, | str, | | [optional] -**phone** | str, | str, | | [optional] -**userStatus** | decimal.Decimal, int, | decimal.Decimal, | User Status | [optional] value must be a 32 bit integer -**objectWithNoDeclaredProps** | dict, frozendict.frozendict, | frozendict.frozendict, [properties.ObjectWithNoDeclaredProps](#properties-objectwithnodeclaredprops) | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional] -**objectWithNoDeclaredPropsNullable** | None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, [properties.ObjectWithNoDeclaredPropsNullable](#properties-objectwithnodeclaredpropsnullable) | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional] -**anyTypeProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 | [optional] -**anyTypeExceptNullProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, [properties.AnyTypeExceptNullProp](#properties-anytypeexceptnullprop) | any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | [optional] -**anyTypePropNullable** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] +**id** | decimal.Decimal, int | decimal.Decimal | | [optional] value must be a 64 bit integer +**username** | str | str | | [optional] +**firstName** | str | str | | [optional] +**lastName** | str | str | | [optional] +**email** | str | str | | [optional] +**password** | str | str | | [optional] +**phone** | str | str | | [optional] +**userStatus** | decimal.Decimal, int | decimal.Decimal | User Status | [optional] value must be a 32 bit integer +**objectWithNoDeclaredProps** | dict, frozendict.frozendict | [properties.ObjectWithNoDeclaredProps](#properties-objectwithnodeclaredprops) | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional] +**objectWithNoDeclaredPropsNullable** | None, dict, frozendict.frozendict | [properties.ObjectWithNoDeclaredPropsNullable](#properties-objectwithnodeclaredpropsnullable) | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional] +**anyTypeProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 | [optional] +**anyTypeExceptNullProp** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | [properties.AnyTypeExceptNullProp](#properties-anytypeexceptnullprop) | any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | [optional] +**anyTypePropNullable** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] # properties ObjectWithNoDeclaredProps @@ -32,7 +32,7 @@ test code generation for objects Value must be a map of strings to values. It ca ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | +dict, frozendict.frozendict | frozendict.frozendict | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | # properties ObjectWithNoDeclaredPropsNullable @@ -42,7 +42,7 @@ test code generation for nullable objects. Value must be a map of strings to val ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, dict, frozendict.frozendict, | NoneClass, frozendict.frozendict, | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | +None, dict, frozendict.frozendict | NoneClass, frozendict.frozendict | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | # properties AnyTypeExceptNullProp @@ -52,19 +52,19 @@ any type except 'null' Here the 'type' attribute is not spec ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | +dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | ## Composed Schemas (allOf/anyOf/oneOf/not) ## not Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[_not](#properties-anytypeexceptnullprop-_not) | None, | NoneClass, | | +[_not](#properties-anytypeexceptnullprop-_not) | None | NoneClass | | # properties AnyTypeExceptNullProp _Not ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -None, | NoneClass, | | +None | NoneClass | | [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/uuid_string.md b/samples/openapi3/client/petstore/python/docs/components/schema/uuid_string.md index 25120957da5..092827b5ae5 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/uuid_string.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/uuid_string.md @@ -4,6 +4,6 @@ petstore_api.components.schema.uuid_string ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -str, uuid.UUID, | str, | | value must be a uuid +str, uuid.UUID | str | | value must be a uuid [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/whale.md b/samples/openapi3/client/petstore/python/docs/components/schema/whale.md index c1e45d92276..c5e2166b843 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/whale.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/whale.md @@ -4,14 +4,14 @@ petstore_api.components.schema.whale ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**className** | str, | str, | | must be one of ["whale", ] -**hasBaleen** | bool, | BoolClass, | | [optional] -**hasTeeth** | bool, | BoolClass, | | [optional] +**className** | str | str | | must be one of ["whale"] +**hasBaleen** | bool | BoolClass | | [optional] +**hasTeeth** | bool | BoolClass | | [optional] **any_string_name** | dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema | frozendict.frozendict, tuple, decimal.Decimal, str, bytes, BoolClass, NoneClass, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/zebra.md b/samples/openapi3/client/petstore/python/docs/components/schema/zebra.md index 64764cc5896..252142dcb58 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/zebra.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/zebra.md @@ -4,13 +4,13 @@ petstore_api.components.schema.zebra ## Type Info Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- -dict, frozendict.frozendict, | frozendict.frozendict, | | +dict, frozendict.frozendict | frozendict.frozendict | | ## Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**className** | str, | str, | | must be one of ["zebra", ] -**type** | str, | str, | | [optional] must be one of ["plains", "mountain", "grevys", ] -**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO, | any string name can be used but the value must be the correct type | [optional] +**className** | str | str | | must be one of ["zebra"] +**type** | str | str | | [optional] must be one of ["plains", "mountain", "grevys"] +**any_string_name** | dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, io.FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/servers/server_0.md b/samples/openapi3/client/petstore/python/docs/servers/server_0.md index 3b10d12c086..bf27bacb919 100644 --- a/samples/openapi3/client/petstore/python/docs/servers/server_0.md +++ b/samples/openapi3/client/petstore/python/docs/servers/server_0.md @@ -10,7 +10,7 @@ http://{server}.swagger.io:{port}/v2 ## Variables Key | Type | Description | Notes --- | ---- | ----------- | ------ -**server** | str, | server host prefix | must be one of ["petstore", "qa-petstore", "dev-petstore", ] if omitted the client will use the default value of petstore -**port** | str, | the port | must be one of ["80", "8080", ] if omitted the client will use the default value of 80 +**server** | str | server host prefix | must be one of ["petstore", "qa-petstore", "dev-petstore"] if omitted the client will use the default value of petstore +**port** | str | the port | must be one of ["80", "8080"] if omitted the client will use the default value of 80 [[Back to top]](#top) [[Back to Servers]](../../README.md#Servers) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/servers/server_1.md b/samples/openapi3/client/petstore/python/docs/servers/server_1.md index 198619f9ed1..4fe13818cd6 100644 --- a/samples/openapi3/client/petstore/python/docs/servers/server_1.md +++ b/samples/openapi3/client/petstore/python/docs/servers/server_1.md @@ -10,6 +10,6 @@ https://localhost:8080/{version} ## Variables Key | Type | Description | Notes --- | ---- | ----------- | ------ -**version** | str, | | must be one of ["v1", "v2", ] if omitted the client will use the default value of v2 +**version** | str | | must be one of ["v1", "v2"] if omitted the client will use the default value of v2 [[Back to top]](#top) [[Back to Servers]](../../README.md#Servers) [[Back to README]](../../README.md) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.py index d4815168eac..431e1b94c8e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.py @@ -39,10 +39,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'user.User', ... + typing.Union['user.User', dict, frozendict.frozendict], ... ], typing.List[ - 'user.User' + typing.Union['user.User', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.pyi index d4815168eac..431e1b94c8e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/request_bodies/request_body_user_array/content/application_json/schema.pyi @@ -39,10 +39,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - 'user.User', ... + typing.Union['user.User', dict, frozendict.frozendict], ... ], typing.List[ - 'user.User' + typing.Union['user.User', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/__init__.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/__init__.py index 9a28949a8f0..e4b394495e6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/__init__.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/__init__.py @@ -32,7 +32,7 @@ class Header: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'someHeader': typing.Union[header_some_header.SomeHeader.schema, str, ], + 'someHeader': typing.Union[header_some_header.SomeHeader.schema, str], }, total=False ) @@ -49,9 +49,7 @@ class Params(RequiredParams, OptionalParams): @dataclasses.dataclass class _ApiResponse(api_client.ApiResponse): response: urllib3.HTTPResponse - body: typing.Union[ - application_json_schema.Schema, - ] + body: application_json_schema.Schema headers: Header.Params diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.py index fd7fa47ddc7..e6423765d02 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.py @@ -41,9 +41,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int], ) -> 'Schema': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.pyi index a879be34d93..896a90f022a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_inline_content_and_header/content/application_json/schema.pyi @@ -40,9 +40,9 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int], ) -> 'Schema': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_with_json_api_response/__init__.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_with_json_api_response/__init__.py index 2cd6922072b..7ac12296dc9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_with_json_api_response/__init__.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_success_with_json_api_response/__init__.py @@ -31,16 +31,16 @@ class Header: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'ref-schema-header': typing.Union[header_ref_schema_header.RefSchemaHeader.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - 'int32': typing.Union[header_int32.Int32.content["application/json"].schema, decimal.Decimal, int, ], - 'ref-content-schema-header': typing.Union[header_ref_content_schema_header.RefContentSchemaHeader.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - 'stringHeader': typing.Union[header_string_header.StringHeader.schema, str, ], + 'ref-schema-header': typing.Union[header_ref_schema_header.RefSchemaHeader.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + 'int32': typing.Union[header_int32.Int32.content["application/json"].schema, decimal.Decimal, int], + 'ref-content-schema-header': typing.Union[header_ref_content_schema_header.RefContentSchemaHeader.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + 'stringHeader': typing.Union[header_string_header.StringHeader.schema, str], } ) OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'numberHeader': typing.Union[header_number_header.NumberHeader.schema, str, ], + 'numberHeader': typing.Union[header_number_header.NumberHeader.schema, str], }, total=False ) @@ -61,9 +61,7 @@ class Params(RequiredParams, OptionalParams): @dataclasses.dataclass class _ApiResponse(api_client.ApiResponse): response: urllib3.HTTPResponse - body: typing.Union[ - application_json_schema.Schema, - ] + body: application_json_schema.Schema headers: Header.Params diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.py index d058d73a8b1..af0fcba9c2e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.py @@ -39,10 +39,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'ref_pet.RefPet', ... + typing.Union['ref_pet.RefPet', dict, frozendict.frozendict], ... ], typing.List[ - 'ref_pet.RefPet' + typing.Union['ref_pet.RefPet', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.pyi index d058d73a8b1..af0fcba9c2e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_json/schema.pyi @@ -39,10 +39,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - 'ref_pet.RefPet', ... + typing.Union['ref_pet.RefPet', dict, frozendict.frozendict], ... ], typing.List[ - 'ref_pet.RefPet' + typing.Union['ref_pet.RefPet', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.py index f99d7f87f1b..1e80197931f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.py @@ -39,10 +39,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'pet.Pet', ... + typing.Union['pet.Pet', dict, frozendict.frozendict], ... ], typing.List[ - 'pet.Pet' + typing.Union['pet.Pet', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.pyi index f99d7f87f1b..1e80197931f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/responses/response_successful_xml_and_json_array_of_pet/content/application_xml/schema.pyi @@ -39,10 +39,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - 'pet.Pet', ... + typing.Union['pet.Pet', dict, frozendict.frozendict], ... ], typing.List[ - 'pet.Pet' + typing.Union['pet.Pet', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.py index 932d5da8643..98bee6ba407 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.py @@ -88,7 +88,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.pyi index 932d5da8643..98bee6ba407 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_200_response.pyi @@ -88,7 +88,7 @@ class _200Response( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], name: typing.Union[Schema_.Properties.Name, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.py index 327c6162728..97af31fa8cd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.py @@ -78,7 +78,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Return': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.pyi index 327c6162728..97af31fa8cd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/_return.pyi @@ -78,7 +78,7 @@ class _Return( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Return': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.py index 18947772789..d62ceed78d4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.py @@ -122,10 +122,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], - sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + discriminator: typing.Union[Schema_.Properties.Discriminator, str], + sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AbstractStepMessage': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.pyi index 18947772789..d62ceed78d4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/abstract_step_message.pyi @@ -122,10 +122,10 @@ class AbstractStepMessage( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - discriminator: typing.Union[Schema_.Properties.Discriminator, str, ], - sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + description: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + discriminator: typing.Union[Schema_.Properties.Discriminator, str], + sequenceNumber: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AbstractStepMessage': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.py index 7c50f7abe88..0920c9b353a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.py @@ -57,9 +57,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'MapProperty': return super().__new__( cls, @@ -96,9 +96,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -116,9 +116,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict], ) -> 'MapOfMapProperty': return super().__new__( cls, @@ -149,9 +149,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, @@ -172,7 +172,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'EmptyMap': return super().__new__( @@ -200,9 +200,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, @@ -310,7 +310,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], map_property: typing.Union[Schema_.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_map_property: typing.Union[Schema_.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, anytype_1: typing.Union[Schema_.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.pyi index 7a415b58923..54a314bdb39 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_class.pyi @@ -55,9 +55,9 @@ class AdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'MapProperty': return super().__new__( cls, @@ -92,9 +92,9 @@ class AdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -112,9 +112,9 @@ class AdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict], ) -> 'MapOfMapProperty': return super().__new__( cls, @@ -144,9 +144,9 @@ class AdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'MapWithUndeclaredPropertiesAnytype3': return super().__new__( cls, @@ -166,7 +166,7 @@ class AdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'EmptyMap': return super().__new__( @@ -193,9 +193,9 @@ class AdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'MapWithUndeclaredPropertiesString': return super().__new__( cls, @@ -303,7 +303,7 @@ class AdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], map_property: typing.Union[Schema_.Properties.MapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_map_property: typing.Union[Schema_.Properties.MapOfMapProperty, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, anytype_1: typing.Union[Schema_.Properties.Anytype1, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.py index 9dc0f006e61..27f99fc99e3 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.py @@ -59,9 +59,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> '_0': return super().__new__( cls, @@ -92,7 +92,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -112,9 +112,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> '_1': return super().__new__( cls, @@ -145,7 +145,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -165,9 +165,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> '_2': return super().__new__( cls, @@ -184,7 +184,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesValidator': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.pyi index ffb20a9ce0f..c51de8c51d5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_validator.pyi @@ -58,9 +58,9 @@ class AdditionalPropertiesValidator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> '_0': return super().__new__( cls, @@ -89,7 +89,7 @@ class AdditionalPropertiesValidator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -109,9 +109,9 @@ class AdditionalPropertiesValidator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> '_1': return super().__new__( cls, @@ -140,7 +140,7 @@ class AdditionalPropertiesValidator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -160,9 +160,9 @@ class AdditionalPropertiesValidator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> '_2': return super().__new__( cls, @@ -179,7 +179,7 @@ class AdditionalPropertiesValidator( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalPropertiesValidator': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.py index 7afe74d354e..737c8f649a8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.py @@ -53,10 +53,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'enum_class.EnumClass', ... + typing.Union['enum_class.EnumClass', str], ... ], typing.List[ - 'enum_class.EnumClass' + typing.Union['enum_class.EnumClass', str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -79,9 +79,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi index ce0fb36fb6e..62c190ed430 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi @@ -52,10 +52,10 @@ class AdditionalPropertiesWithArrayOfEnums( cls, arg_: typing.Union[ typing.Tuple[ - 'enum_class.EnumClass', ... + typing.Union['enum_class.EnumClass', str], ... ], typing.List[ - 'enum_class.EnumClass' + typing.Union['enum_class.EnumClass', str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -78,9 +78,9 @@ class AdditionalPropertiesWithArrayOfEnums( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, list, tuple], ) -> 'AdditionalPropertiesWithArrayOfEnums': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.py index c64ac4ae504..e20d1f05966 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.py @@ -46,9 +46,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int], ) -> 'Address': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.pyi index 67db39990e1..8411ffc2eac 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/address.pyi @@ -45,9 +45,9 @@ class Address( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, decimal.Decimal, int], ) -> 'Address': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.py index e38de188c55..f62f7e591b4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.py @@ -110,8 +110,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.pyi index 99f17202da6..07cb009eb86 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal.pyi @@ -103,8 +103,8 @@ class Animal( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.py index 424135abc93..22bb53972bd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.py @@ -44,10 +44,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'animal.Animal', ... + typing.Union['animal.Animal', dict, frozendict.frozendict], ... ], typing.List[ - 'animal.Animal' + typing.Union['animal.Animal', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.pyi index 424135abc93..22bb53972bd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/animal_farm.pyi @@ -44,10 +44,10 @@ class AnimalFarm( cls, arg_: typing.Union[ typing.Tuple[ - 'animal.Animal', ... + typing.Union['animal.Animal', dict, frozendict.frozendict], ... ], typing.List[ - 'animal.Animal' + typing.Union['animal.Animal', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.py index 3387cf8cc4a..c9b4eecb30c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.py @@ -52,7 +52,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Uuid': @@ -77,7 +77,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Date': @@ -102,7 +102,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTime': @@ -127,7 +127,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Number': @@ -151,7 +151,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Binary': @@ -175,7 +175,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int32': @@ -199,7 +199,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int64': @@ -223,7 +223,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Double': @@ -247,7 +247,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Float': @@ -366,7 +366,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], uuid: typing.Union[Schema_.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, date: typing.Union[Schema_.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, number: typing.Union[Schema_.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.pyi index 9088b211456..0b3af7739a7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_and_format.pyi @@ -51,7 +51,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Uuid': @@ -76,7 +76,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Date': @@ -101,7 +101,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DateTime': @@ -126,7 +126,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Number': @@ -150,7 +150,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Binary': @@ -174,7 +174,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int32': @@ -198,7 +198,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Int64': @@ -222,7 +222,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Double': @@ -246,7 +246,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_Float': @@ -365,7 +365,7 @@ class AnyTypeAndFormat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], uuid: typing.Union[Schema_.Properties.Uuid, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, date: typing.Union[Schema_.Properties.Date, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, number: typing.Union[Schema_.Properties.Number, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.py index 0d3069149d1..db3f0063b57 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.py @@ -40,7 +40,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeNotString': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.pyi index 0d3069149d1..db3f0063b57 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/any_type_not_string.pyi @@ -40,7 +40,7 @@ class AnyTypeNotString( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeNotString': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.py index a02a92a4ac6..7379961b09c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.py @@ -95,7 +95,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.pyi index d9f9c176d45..7519736c4d9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/api_response.pyi @@ -94,7 +94,7 @@ class ApiResponse( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], code: typing.Union[Schema_.Properties.Code, decimal.Decimal, int, schemas.Unset] = schemas.unset, type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, message: typing.Union[Schema_.Properties.Message, str, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.py index 8cd28d8d37b..65b77502ca0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.py @@ -124,7 +124,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.pyi index a762209b51e..cb2e5890c80 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple.pyi @@ -107,7 +107,7 @@ class Apple( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], origin: typing.Union[Schema_.Properties.Origin, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.py index f9ce60f3608..67889e32d97 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.py @@ -83,8 +83,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + cultivar: typing.Union[Schema_.Properties.Cultivar, str], mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'AppleReq': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.pyi index 4d09bfab974..85fb7467427 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/apple_req.pyi @@ -82,8 +82,8 @@ class AppleReq( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - cultivar: typing.Union[Schema_.Properties.Cultivar, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + cultivar: typing.Union[Schema_.Properties.Cultivar, str], mealy: typing.Union[Schema_.Properties.Mealy, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'AppleReq': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.py index e8bec186761..5ac0bf2a3a9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.py @@ -41,10 +41,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.pyi index e8bec186761..5ac0bf2a3a9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_holding_any_type.pyi @@ -41,10 +41,10 @@ class ArrayHoldingAnyType( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.py index 7d676d06b76..ba9048a3244 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.py @@ -61,10 +61,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -82,10 +82,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -135,7 +135,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.pyi index c79d6d4b216..94a9875f157 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_array_of_number_only.pyi @@ -60,10 +60,10 @@ class ArrayOfArrayOfNumberOnly( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -81,10 +81,10 @@ class ArrayOfArrayOfNumberOnly( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -134,7 +134,7 @@ class ArrayOfArrayOfNumberOnly( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], ArrayArrayNumber: typing.Union[Schema_.Properties.ArrayArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.py index 580f15bb75b..18e25156e17 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.py @@ -44,10 +44,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'string_enum.StringEnum', ... + typing.Union['string_enum.StringEnum', None, str], ... ], typing.List[ - 'string_enum.StringEnum' + typing.Union['string_enum.StringEnum', None, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.pyi index 580f15bb75b..18e25156e17 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_enums.pyi @@ -44,10 +44,10 @@ class ArrayOfEnums( cls, arg_: typing.Union[ typing.Tuple[ - 'string_enum.StringEnum', ... + typing.Union['string_enum.StringEnum', None, str], ... ], typing.List[ - 'string_enum.StringEnum' + typing.Union['string_enum.StringEnum', None, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.py index ee1e5155f9e..5c8785b1077 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.py @@ -52,10 +52,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -105,7 +105,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.pyi index 69e283725b7..09028f320ac 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_of_number_only.pyi @@ -51,10 +51,10 @@ class ArrayOfNumberOnly( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -104,7 +104,7 @@ class ArrayOfNumberOnly( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], ArrayNumber: typing.Union[Schema_.Properties.ArrayNumber, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.py index e8a35f50b5b..c7b87052c8c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.py @@ -52,10 +52,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -92,10 +92,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, ] + typing.Union[Schema_.Items, decimal.Decimal, int] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -113,10 +113,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -156,10 +156,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'read_only_first.ReadOnlyFirst', ... + typing.Union['read_only_first.ReadOnlyFirst', dict, frozendict.frozendict], ... ], typing.List[ - 'read_only_first.ReadOnlyFirst' + typing.Union['read_only_first.ReadOnlyFirst', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -177,10 +177,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -248,7 +248,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.pyi index 9a2e9682103..a5a886735a8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_test.pyi @@ -51,10 +51,10 @@ class ArrayTest( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -91,10 +91,10 @@ class ArrayTest( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, ] + typing.Union[Schema_.Items, decimal.Decimal, int] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -112,10 +112,10 @@ class ArrayTest( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -155,10 +155,10 @@ class ArrayTest( cls, arg_: typing.Union[ typing.Tuple[ - 'read_only_first.ReadOnlyFirst', ... + typing.Union['read_only_first.ReadOnlyFirst', dict, frozendict.frozendict], ... ], typing.List[ - 'read_only_first.ReadOnlyFirst' + typing.Union['read_only_first.ReadOnlyFirst', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -176,10 +176,10 @@ class ArrayTest( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, list, tuple, ], ... + typing.Union[Schema_.Items, list, tuple], ... ], typing.List[ - typing.Union[Schema_.Items, list, tuple, ] + typing.Union[Schema_.Items, list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -247,7 +247,7 @@ class ArrayTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], array_of_string: typing.Union[Schema_.Properties.ArrayOfString, list, tuple, schemas.Unset] = schemas.unset, array_array_of_integer: typing.Union[Schema_.Properties.ArrayArrayOfInteger, list, tuple, schemas.Unset] = schemas.unset, array_array_of_model: typing.Union[Schema_.Properties.ArrayArrayOfModel, list, tuple, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.py index 416fbd21fe8..44f7698ff7b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.py @@ -54,10 +54,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, ] + typing.Union[Schema_.Items, decimal.Decimal, int] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.pyi index 38230971051..901f5a22dcc 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/array_with_validations_in_items.pyi @@ -47,10 +47,10 @@ class ArrayWithValidationsInItems( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, ] + typing.Union[Schema_.Items, decimal.Decimal, int] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.py index 2095ff42548..edefc0f0e7f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.py @@ -80,8 +80,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], + *args_: typing.Union[dict, frozendict.frozendict], + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.pyi index 6274b244bfd..e0d3ebd04f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana.pyi @@ -79,8 +79,8 @@ class Banana( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], + *args_: typing.Union[dict, frozendict.frozendict], + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Banana': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.py index 832da99cc75..3acf179ce17 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.py @@ -83,8 +83,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], + *args_: typing.Union[dict, frozendict.frozendict], + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float], sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'BananaReq': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.pyi index 067b8f46b5b..2cf4a07a436 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/banana_req.pyi @@ -82,8 +82,8 @@ class BananaReq( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float, ], + *args_: typing.Union[dict, frozendict.frozendict], + lengthCm: typing.Union[Schema_.Properties.LengthCm, decimal.Decimal, int, float], sweet: typing.Union[Schema_.Properties.Sweet, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'BananaReq': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.py index 6e69bef40cf..d28d08d956e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.py @@ -97,8 +97,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.pyi index ad8252753b9..aaf97376451 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/basque_pig.pyi @@ -87,8 +87,8 @@ class BasquePig( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'BasquePig': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.py index c32880777d0..bdf9575c69a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.py @@ -125,7 +125,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], smallCamel: typing.Union[Schema_.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, CapitalCamel: typing.Union[Schema_.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, small_Snake: typing.Union[Schema_.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.pyi index 1221b18ef67..6152004bf66 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/capitalization.pyi @@ -124,7 +124,7 @@ class Capitalization( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], smallCamel: typing.Union[Schema_.Properties.SmallCamel, str, schemas.Unset] = schemas.unset, CapitalCamel: typing.Union[Schema_.Properties.CapitalCamel, str, schemas.Unset] = schemas.unset, small_Snake: typing.Union[Schema_.Properties.SmallSnake, str, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.py index ca285179d28..ca1ae4100c3 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.py @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -110,7 +110,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Cat': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.pyi index 3449aeab6d5..8a3ae7a17c1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/cat.pyi @@ -89,7 +89,7 @@ class Cat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], declawed: typing.Union[Schema_.Properties.Declawed, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -109,7 +109,7 @@ class Cat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Cat': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.py index 6b6961c7063..0358df038d4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.py @@ -101,8 +101,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[Schema_.Properties.Name, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + name: typing.Union[Schema_.Properties.Name, str], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.pyi index df267ae5357..1856d50da9e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/category.pyi @@ -94,8 +94,8 @@ class Category( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[Schema_.Properties.Name, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + name: typing.Union[Schema_.Properties.Name, str], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.py index f9b5014a705..e7667012c04 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.py @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -110,7 +110,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ChildCat': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.pyi index 1f3214b7077..22700386c60 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/child_cat.pyi @@ -89,7 +89,7 @@ class ChildCat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -109,7 +109,7 @@ class ChildCat( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ChildCat': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.py index 00126c16329..61f6a6d6fbe 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.py @@ -78,7 +78,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.pyi index 00126c16329..61f6a6d6fbe 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/class_model.pyi @@ -78,7 +78,7 @@ class ClassModel( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], _class: typing.Union[Schema_.Properties._Class, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.py index 864b2d4fecb..8973816f1ec 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.py @@ -75,7 +75,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.pyi index ad96137c42a..32d64ec61d5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/client.pyi @@ -74,7 +74,7 @@ class Client( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], client: typing.Union[Schema_.Properties.Client, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.py index 9b978a31a4b..3b9364c2af7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.py @@ -107,7 +107,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -127,7 +127,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComplexQuadrilateral': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.pyi index 05307b42a5d..6183ad645ca 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/complex_quadrilateral.pyi @@ -97,7 +97,7 @@ class ComplexQuadrilateral( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -117,7 +117,7 @@ class ComplexQuadrilateral( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComplexQuadrilateral': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.py index d8194fff83c..ac420846277 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.py @@ -61,10 +61,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -105,7 +105,7 @@ def __getitem__(self, i: int) -> Schema_.Items: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedAnyOfDifferentTypesNoValidations': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi index d8194fff83c..ac420846277 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_any_of_different_types_no_validations.pyi @@ -61,10 +61,10 @@ class ComposedAnyOfDifferentTypesNoValidations( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -105,7 +105,7 @@ class ComposedAnyOfDifferentTypesNoValidations( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedAnyOfDifferentTypesNoValidations': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.py index cd4bef2b402..1707eb4f586 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.py @@ -41,10 +41,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.pyi index cd4bef2b402..1707eb4f586 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_array.pyi @@ -41,10 +41,10 @@ class ComposedArray( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.py index 5e10b3a3709..68ccba1d6d4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - arg_: bool, + arg_: bool, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedBool': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.pyi index 5e10b3a3709..68ccba1d6d4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_bool.pyi @@ -47,7 +47,7 @@ class ComposedBool( def __new__( cls, - arg_: bool, + arg_: bool, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedBool': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.py index f3dc0716a87..4794def0820 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - arg_: None, + arg_: None, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedNone': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.pyi index f3dc0716a87..4794def0820 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_none.pyi @@ -47,7 +47,7 @@ class ComposedNone( def __new__( cls, - arg_: None, + arg_: None, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedNone': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.py index e8391db19a2..3831a3ca97a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - arg_: typing.Union[decimal.Decimal, int, float, ], + arg_: typing.Union[decimal.Decimal, int, float], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedNumber': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.pyi index e8391db19a2..3831a3ca97a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_number.pyi @@ -47,7 +47,7 @@ class ComposedNumber( def __new__( cls, - arg_: typing.Union[decimal.Decimal, int, float, ], + arg_: typing.Union[decimal.Decimal, int, float], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedNumber': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.py index 46cee8bff84..2b0208e78a7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedObject': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.pyi index 46cee8bff84..2b0208e78a7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_object.pyi @@ -47,7 +47,7 @@ class ComposedObject( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedObject': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.py index 217594bc7ee..82c6206adbd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.py @@ -63,7 +63,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_4': @@ -90,10 +90,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -134,7 +134,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedOneOfDifferentTypes': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.pyi index 2b4963f48b7..773edee0d55 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_one_of_different_types.pyi @@ -57,7 +57,7 @@ class ComposedOneOfDifferentTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_4': @@ -84,10 +84,10 @@ class ComposedOneOfDifferentTypes( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -119,7 +119,7 @@ class ComposedOneOfDifferentTypes( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ComposedOneOfDifferentTypes': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.py index 7122f84b7fd..9b5a8bef8f8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.py @@ -47,7 +47,7 @@ class AllOf: def __new__( cls, - arg_: str, + arg_: str, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedString': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.pyi index 7122f84b7fd..9b5a8bef8f8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/composed_string.pyi @@ -47,7 +47,7 @@ class ComposedString( def __new__( cls, - arg_: str, + arg_: str, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ComposedString': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.py index e824877cf00..e051c9408f6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.py @@ -97,8 +97,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.pyi index 62bcc97b4ec..ae2b2721917 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/danish_pig.pyi @@ -87,8 +87,8 @@ class DanishPig( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'DanishPig': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.py index 4740be97392..b7337248228 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.py @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -110,7 +110,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Dog': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.pyi index 930531ff05e..40add7d9bff 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/dog.pyi @@ -89,7 +89,7 @@ class Dog( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], breed: typing.Union[Schema_.Properties.Breed, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -109,7 +109,7 @@ class Dog( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Dog': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.py index fa85cace2ef..c644788b8f2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.py @@ -67,10 +67,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'shape.Shape', ... + typing.Union['shape.Shape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - 'shape.Shape' + typing.Union['shape.Shape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -151,13 +151,13 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - mainShape: typing.Union['shape.Shape', schemas.Unset] = schemas.unset, - shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, - nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + mainShape: typing.Union['shape.Shape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + nullableShape: typing.Union['nullable_shape.NullableShape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, shapes: typing.Union[Schema_.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'fruit.Fruit', + **kwargs: typing.Union['fruit.Fruit', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'Drawing': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.pyi index 59b50b9c08d..4dd9f63645a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/drawing.pyi @@ -66,10 +66,10 @@ class Drawing( cls, arg_: typing.Union[ typing.Tuple[ - 'shape.Shape', ... + typing.Union['shape.Shape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - 'shape.Shape' + typing.Union['shape.Shape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -150,13 +150,13 @@ class Drawing( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - mainShape: typing.Union['shape.Shape', schemas.Unset] = schemas.unset, - shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', schemas.Unset] = schemas.unset, - nullableShape: typing.Union['nullable_shape.NullableShape', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + mainShape: typing.Union['shape.Shape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + shapeOrNull: typing.Union['shape_or_null.ShapeOrNull', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + nullableShape: typing.Union['nullable_shape.NullableShape', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, shapes: typing.Union[Schema_.Properties.Shapes, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'fruit.Fruit', + **kwargs: typing.Union['fruit.Fruit', dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'Drawing': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.py index f97850e3051..00178680354 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.py @@ -97,10 +97,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -159,7 +159,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.pyi index 59516f7985b..87782f17546 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_arrays.pyi @@ -76,10 +76,10 @@ class EnumArrays( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -138,7 +138,7 @@ class EnumArrays( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], just_symbol: typing.Union[Schema_.Properties.JustSymbol, str, schemas.Unset] = schemas.unset, array_enum: typing.Union[Schema_.Properties.ArrayEnum, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.py index 31c354f7e98..8de10e15989 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.py @@ -275,16 +275,16 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str], enum_string: typing.Union[Schema_.Properties.EnumString, str, schemas.Unset] = schemas.unset, enum_integer: typing.Union[Schema_.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, enum_number: typing.Union[Schema_.Properties.EnumNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - stringEnum: typing.Union['string_enum.StringEnum', schemas.Unset] = schemas.unset, - IntegerEnum: typing.Union['integer_enum.IntegerEnum', schemas.Unset] = schemas.unset, - StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumWithDefaultValue: typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumOneValue: typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset] = schemas.unset, + stringEnum: typing.Union['string_enum.StringEnum', None, str, schemas.Unset] = schemas.unset, + IntegerEnum: typing.Union['integer_enum.IntegerEnum', decimal.Decimal, int, schemas.Unset] = schemas.unset, + StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', str, schemas.Unset] = schemas.unset, + IntegerEnumWithDefaultValue: typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', decimal.Decimal, int, schemas.Unset] = schemas.unset, + IntegerEnumOneValue: typing.Union['integer_enum_one_value.IntegerEnumOneValue', decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumTest': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.pyi index 1c638a20efe..2703e7a7060 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/enum_test.pyi @@ -230,16 +230,16 @@ class EnumTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + enum_string_required: typing.Union[Schema_.Properties.EnumStringRequired, str], enum_string: typing.Union[Schema_.Properties.EnumString, str, schemas.Unset] = schemas.unset, enum_integer: typing.Union[Schema_.Properties.EnumInteger, decimal.Decimal, int, schemas.Unset] = schemas.unset, enum_number: typing.Union[Schema_.Properties.EnumNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - stringEnum: typing.Union['string_enum.StringEnum', schemas.Unset] = schemas.unset, - IntegerEnum: typing.Union['integer_enum.IntegerEnum', schemas.Unset] = schemas.unset, - StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumWithDefaultValue: typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumOneValue: typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset] = schemas.unset, + stringEnum: typing.Union['string_enum.StringEnum', None, str, schemas.Unset] = schemas.unset, + IntegerEnum: typing.Union['integer_enum.IntegerEnum', decimal.Decimal, int, schemas.Unset] = schemas.unset, + StringEnumWithDefaultValue: typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', str, schemas.Unset] = schemas.unset, + IntegerEnumWithDefaultValue: typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', decimal.Decimal, int, schemas.Unset] = schemas.unset, + IntegerEnumOneValue: typing.Union['integer_enum_one_value.IntegerEnumOneValue', decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EnumTest': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.py index dc0ceeb86c0..9644ac9c3a2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.py @@ -107,7 +107,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -127,7 +127,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EquilateralTriangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.pyi index 53a28e83efe..d82e966832c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/equilateral_triangle.pyi @@ -97,7 +97,7 @@ class EquilateralTriangle( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -117,7 +117,7 @@ class EquilateralTriangle( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'EquilateralTriangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.py index e85c1f4d5f2..4ac9c300e54 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.py @@ -77,7 +77,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.pyi index ca86916acdc..90c6c55b0e9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file.pyi @@ -76,7 +76,7 @@ class File( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], sourceURI: typing.Union[Schema_.Properties.SourceURI, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.py index 2b0f8d9248d..2ce4be4d73e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.py @@ -59,10 +59,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'file.File', ... + typing.Union['file.File', dict, frozendict.frozendict], ... ], typing.List[ - 'file.File' + typing.Union['file.File', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -121,8 +121,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union['file.File', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + file: typing.Union['file.File', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.pyi index 107d6cf169b..51c0c6a29f2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/file_schema_test_class.pyi @@ -58,10 +58,10 @@ class FileSchemaTestClass( cls, arg_: typing.Union[ typing.Tuple[ - 'file.File', ... + typing.Union['file.File', dict, frozendict.frozendict], ... ], typing.List[ - 'file.File' + typing.Union['file.File', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -120,8 +120,8 @@ class FileSchemaTestClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union['file.File', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + file: typing.Union['file.File', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.py index 2e42ef6c539..bdcffbc1829 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.py @@ -78,8 +78,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + bar: typing.Union['bar.Bar', str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Foo': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.pyi index ee4b6012c3a..6d7b06c3c3a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/foo.pyi @@ -77,8 +77,8 @@ class Foo( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + bar: typing.Union['bar.Bar', str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Foo': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.py index 259319bb4f8..d393a56b85e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.py @@ -134,10 +134,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -437,11 +437,11 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[Schema_.Properties.Byte, str, ], - date: typing.Union[Schema_.Properties.Date, str, datetime.date, ], - number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], - password: typing.Union[Schema_.Properties.Password, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + byte: typing.Union[Schema_.Properties.Byte, str], + date: typing.Union[Schema_.Properties.Date, str, datetime.date], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float], + password: typing.Union[Schema_.Properties.Password, str], integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, int32withValidations: typing.Union[Schema_.Properties.Int32withValidations, decimal.Decimal, int, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.pyi index 7663058abc6..8d684fd617c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/format_test.pyi @@ -92,10 +92,10 @@ class FormatTest( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ], ... + typing.Union[Schema_.Items, decimal.Decimal, int, float], ... ], typing.List[ - typing.Union[Schema_.Items, decimal.Decimal, int, float, ] + typing.Union[Schema_.Items, decimal.Decimal, int, float] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -361,11 +361,11 @@ class FormatTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[Schema_.Properties.Byte, str, ], - date: typing.Union[Schema_.Properties.Date, str, datetime.date, ], - number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], - password: typing.Union[Schema_.Properties.Password, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + byte: typing.Union[Schema_.Properties.Byte, str], + date: typing.Union[Schema_.Properties.Date, str, datetime.date], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float], + password: typing.Union[Schema_.Properties.Password, str], integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, int32withValidations: typing.Union[Schema_.Properties.Int32withValidations, decimal.Decimal, int, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.py index 7aee2a4a641..8b8b94570c6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.pyi index ca39646dd27..f4256ebaf57 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/from_schema.pyi @@ -84,7 +84,7 @@ class FromSchema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], data: typing.Union[Schema_.Properties.Data, str, schemas.Unset] = schemas.unset, id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.py index b0cfa4f7d97..fe571c77aed 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.py @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.pyi index b0cfa4f7d97..fe571c77aed 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit.pyi @@ -90,7 +90,7 @@ class Fruit( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.py index 9d2de26e020..b51355f18ea 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.py @@ -55,7 +55,7 @@ def _2() -> typing.Type['banana_req.BananaReq']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FruitReq': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.pyi index 9d2de26e020..b51355f18ea 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/fruit_req.pyi @@ -55,7 +55,7 @@ class FruitReq( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'FruitReq': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.py index 9a5a8a8eeed..f32f0a4c270 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.py @@ -90,7 +90,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.pyi index 9a5a8a8eeed..f32f0a4c270 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/gm_fruit.pyi @@ -90,7 +90,7 @@ class GmFruit( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], color: typing.Union[Schema_.Properties.Color, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.py index 57bfeb68a41..111c0dc88e6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.py @@ -89,8 +89,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - pet_type: typing.Union[Schema_.Properties.PetType, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + pet_type: typing.Union[Schema_.Properties.PetType, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.pyi index ac88cba631a..e1b0f4ff35a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/grandparent_animal.pyi @@ -88,8 +88,8 @@ class GrandparentAnimal( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - pet_type: typing.Union[Schema_.Properties.PetType, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + pet_type: typing.Union[Schema_.Properties.PetType, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'GrandparentAnimal': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.py index ceb03800329..2bee1177b93 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.pyi index 666d4890292..d00fff53b76 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/has_only_read_only.pyi @@ -84,7 +84,7 @@ class HasOnlyReadOnly( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, foo: typing.Union[Schema_.Properties.Foo, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.py index 9cbc03dabad..bf9625c9244 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.py @@ -58,7 +58,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NullableMessage': return super().__new__( @@ -103,7 +103,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.pyi index f5fa7586073..20ce1a3dbd6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/health_check_result.pyi @@ -57,7 +57,7 @@ class HealthCheckResult( def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NullableMessage': return super().__new__( @@ -102,7 +102,7 @@ class HealthCheckResult( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], NullableMessage: typing.Union[Schema_.Properties.NullableMessage, None, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.py index 81414ecf2f7..3f35b732899 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.py @@ -107,7 +107,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -127,7 +127,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'IsoscelesTriangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.pyi index ce3d125ac19..26207f22c79 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/isosceles_triangle.pyi @@ -97,7 +97,7 @@ class IsoscelesTriangle( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -117,7 +117,7 @@ class IsoscelesTriangle( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'IsoscelesTriangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.py index 0f3ef3e293f..52feddd73b1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.py @@ -43,10 +43,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.pyi index 0f3ef3e293f..52feddd73b1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/items.pyi @@ -43,10 +43,10 @@ class Items( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.py index 0d1f94323c2..f27a4f1c967 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.py @@ -67,7 +67,7 @@ def _2() -> typing.Type['json_patch_request_move_copy.JSONPatchRequestMoveCopy'] def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': @@ -82,10 +82,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.pyi index 0d1f94323c2..f27a4f1c967 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request.pyi @@ -67,7 +67,7 @@ class JSONPatchRequest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': @@ -82,10 +82,10 @@ class JSONPatchRequest( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.py index b558f94db41..dfa36d392d2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.py @@ -124,10 +124,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[Schema_.Properties.Op, str, ], - path: typing.Union[Schema_.Properties.Path, str, ], - value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + op: typing.Union[Schema_.Properties.Op, str], + path: typing.Union[Schema_.Properties.Path, str], + value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.pyi index 8a9f5eea52d..08cee7e3c89 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_add_replace_test.pyi @@ -112,10 +112,10 @@ class JSONPatchRequestAddReplaceTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[Schema_.Properties.Op, str, ], - path: typing.Union[Schema_.Properties.Path, str, ], - value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + op: typing.Union[Schema_.Properties.Op, str], + path: typing.Union[Schema_.Properties.Path, str], + value: typing.Union[Schema_.Properties.Value, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'JSONPatchRequestAddReplaceTest': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.py index ba4dcf07df9..f1f3580bcab 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.py @@ -118,9 +118,9 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[Schema_.Properties.Op, str, ], - path: typing.Union[Schema_.Properties.Path, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + op: typing.Union[Schema_.Properties.Op, str], + path: typing.Union[Schema_.Properties.Path, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.pyi index e1988b2496e..9f5331d226d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_move_copy.pyi @@ -107,9 +107,9 @@ class JSONPatchRequestMoveCopy( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[Schema_.Properties.Op, str, ], - path: typing.Union[Schema_.Properties.Path, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + op: typing.Union[Schema_.Properties.Op, str], + path: typing.Union[Schema_.Properties.Path, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'JSONPatchRequestMoveCopy': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.py index 829c4049552..f8a96f42f17 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.py @@ -102,9 +102,9 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[Schema_.Properties.Op, str, ], - path: typing.Union[Schema_.Properties.Path, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + op: typing.Union[Schema_.Properties.Op, str], + path: typing.Union[Schema_.Properties.Path, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.pyi index 91e9e4c7289..0b71818d82a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/json_patch_request_remove.pyi @@ -92,9 +92,9 @@ class JSONPatchRequestRemove( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - op: typing.Union[Schema_.Properties.Op, str, ], - path: typing.Union[Schema_.Properties.Path, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + op: typing.Union[Schema_.Properties.Op, str], + path: typing.Union[Schema_.Properties.Path, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'JSONPatchRequestRemove': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.py index e9e1d0aaf22..810eb6be5a0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.py @@ -68,7 +68,7 @@ def _2() -> typing.Type['pig.Pig']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Mammal': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.pyi index e9e1d0aaf22..810eb6be5a0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mammal.pyi @@ -68,7 +68,7 @@ class Mammal( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Mammal': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.py index f40f3e89f08..67c12dc8d24 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.py @@ -66,9 +66,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -86,9 +86,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict], ) -> 'MapMapOfString': return super().__new__( cls, @@ -138,9 +138,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'MapOfEnumString': return super().__new__( cls, @@ -168,9 +168,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'DirectMap': return super().__new__( cls, @@ -246,11 +246,11 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], map_map_of_string: typing.Union[Schema_.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, + indirect_map: typing.Union['string_boolean_map.StringBooleanMap', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MapTest': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.pyi index d92748b1ae9..14a5a8c1869 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/map_test.pyi @@ -63,9 +63,9 @@ class MapTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'AdditionalProperties': return super().__new__( cls, @@ -83,9 +83,9 @@ class MapTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict], ) -> 'MapMapOfString': return super().__new__( cls, @@ -124,9 +124,9 @@ class MapTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'MapOfEnumString': return super().__new__( cls, @@ -153,9 +153,9 @@ class MapTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'DirectMap': return super().__new__( cls, @@ -231,11 +231,11 @@ class MapTest( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], map_map_of_string: typing.Union[Schema_.Properties.MapMapOfString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_enum_string: typing.Union[Schema_.Properties.MapOfEnumString, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[Schema_.Properties.DirectMap, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, + indirect_map: typing.Union['string_boolean_map.StringBooleanMap', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'MapTest': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py index b8dfa4b06fa..36e52bfc862 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py @@ -62,9 +62,9 @@ def get_item_(self, name: str) -> 'animal.Animal': def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'animal.Animal', + **kwargs: typing.Union['animal.Animal', dict, frozendict.frozendict], ) -> 'Map': return super().__new__( cls, @@ -127,7 +127,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi index f9b572f011e..3fbbe8725a0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi @@ -60,9 +60,9 @@ class MixedPropertiesAndAdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'animal.Animal', + **kwargs: typing.Union['animal.Animal', dict, frozendict.frozendict], ) -> 'Map': return super().__new__( cls, @@ -125,7 +125,7 @@ class MixedPropertiesAndAdditionalPropertiesClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], uuid: typing.Union[Schema_.Properties.Uuid, str, uuid.UUID, schemas.Unset] = schemas.unset, dateTime: typing.Union[Schema_.Properties.DateTime, str, datetime.datetime, schemas.Unset] = schemas.unset, map: typing.Union[Schema_.Properties.Map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.py index 02c35503188..4e71cd6de4f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.py @@ -95,9 +95,9 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - amount: typing.Union[Schema_.Properties.Amount, str, ], - currency: 'currency.Currency', + *args_: typing.Union[dict, frozendict.frozendict], + amount: typing.Union[Schema_.Properties.Amount, str], + currency: typing.Union['currency.Currency', str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Money': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.pyi index be9d34ba3be..a97b5c2c2a8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/money.pyi @@ -94,9 +94,9 @@ class Money( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - amount: typing.Union[Schema_.Properties.Amount, str, ], - currency: 'currency.Currency', + *args_: typing.Union[dict, frozendict.frozendict], + amount: typing.Union[Schema_.Properties.Amount, str], + currency: typing.Union['currency.Currency', str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Money': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.py index fd3bc499547..44f707b9c73 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.py @@ -103,7 +103,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.pyi index fd3bc499547..44f707b9c73 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/name.pyi @@ -103,7 +103,7 @@ class Name( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], snake_case: typing.Union[Schema_.Properties.SnakeCase, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.py index 61cc2682db5..b44cc0b5b59 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.py @@ -83,8 +83,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], + *args_: typing.Union[dict, frozendict.frozendict], + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int], petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NoAdditionalProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.pyi index a50058bae89..b15ba4a8e57 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/no_additional_properties.pyi @@ -82,8 +82,8 @@ class NoAdditionalProperties( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, ], + *args_: typing.Union[dict, frozendict.frozendict], + id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int], petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NoAdditionalProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.py index 62f5b0974b7..252bf55c2ad 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.py @@ -57,7 +57,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, decimal.Decimal, int, ], + arg_: typing.Union[None, decimal.Decimal, int], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'IntegerProp': return super().__new__( @@ -84,7 +84,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, decimal.Decimal, int, float, ], + arg_: typing.Union[None, decimal.Decimal, int, float], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NumberProp': return super().__new__( @@ -111,7 +111,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, bool, ], + arg_: typing.Union[None, bool], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'BooleanProp': return super().__new__( @@ -138,7 +138,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'StringProp': return super().__new__( @@ -167,7 +167,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, str, datetime.date, ], + arg_: typing.Union[None, str, datetime.date], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'DateProp': return super().__new__( @@ -196,7 +196,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, str, datetime.datetime, ], + arg_: typing.Union[None, str, datetime.datetime], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'DatetimeProp': return super().__new__( @@ -224,7 +224,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, list, tuple, ], + arg_: typing.Union[None, list, tuple], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ArrayNullableProp': return super().__new__( @@ -266,7 +266,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': @@ -280,7 +280,7 @@ def __new__( def __new__( cls, - arg_: typing.Union[None, list, tuple, ], + arg_: typing.Union[None, list, tuple], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ArrayAndItemsNullableProp': return super().__new__( @@ -316,7 +316,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': @@ -331,10 +331,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, None, dict, frozendict.frozendict, ], ... + typing.Union[Schema_.Items, None, dict, frozendict.frozendict], ... ], typing.List[ - typing.Union[Schema_.Items, None, dict, frozendict.frozendict, ] + typing.Union[Schema_.Items, None, dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -374,9 +374,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict], ) -> 'ObjectNullableProp': return super().__new__( cls, @@ -418,7 +418,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -439,9 +439,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, @@ -477,7 +477,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -497,9 +497,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict], ) -> 'ObjectItemsNullable': return super().__new__( cls, @@ -540,7 +540,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -672,7 +672,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], integer_prop: typing.Union[Schema_.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, number_prop: typing.Union[Schema_.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, boolean_prop: typing.Union[Schema_.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, @@ -686,7 +686,7 @@ def __new__( object_and_items_nullable_prop: typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, None, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, object_items_nullable: typing.Union[Schema_.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict], ) -> 'NullableClass': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.pyi index f5070a3ac68..45ef7d40d9c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_class.pyi @@ -56,7 +56,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, decimal.Decimal, int, ], + arg_: typing.Union[None, decimal.Decimal, int], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'IntegerProp': return super().__new__( @@ -83,7 +83,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, decimal.Decimal, int, float, ], + arg_: typing.Union[None, decimal.Decimal, int, float], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NumberProp': return super().__new__( @@ -110,7 +110,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, bool, ], + arg_: typing.Union[None, bool], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'BooleanProp': return super().__new__( @@ -137,7 +137,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'StringProp': return super().__new__( @@ -166,7 +166,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, str, datetime.date, ], + arg_: typing.Union[None, str, datetime.date], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'DateProp': return super().__new__( @@ -195,7 +195,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, str, datetime.datetime, ], + arg_: typing.Union[None, str, datetime.datetime], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'DatetimeProp': return super().__new__( @@ -223,7 +223,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, list, tuple, ], + arg_: typing.Union[None, list, tuple], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ArrayNullableProp': return super().__new__( @@ -265,7 +265,7 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': @@ -279,7 +279,7 @@ class NullableClass( def __new__( cls, - arg_: typing.Union[None, list, tuple, ], + arg_: typing.Union[None, list, tuple], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'ArrayAndItemsNullableProp': return super().__new__( @@ -315,7 +315,7 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Items': @@ -330,10 +330,10 @@ class NullableClass( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, None, dict, frozendict.frozendict, ], ... + typing.Union[Schema_.Items, None, dict, frozendict.frozendict], ... ], typing.List[ - typing.Union[Schema_.Items, None, dict, frozendict.frozendict, ] + typing.Union[Schema_.Items, None, dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -373,9 +373,9 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict], ) -> 'ObjectNullableProp': return super().__new__( cls, @@ -417,7 +417,7 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -438,9 +438,9 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict], ) -> 'ObjectAndItemsNullableProp': return super().__new__( cls, @@ -475,7 +475,7 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -495,9 +495,9 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict], ) -> 'ObjectItemsNullable': return super().__new__( cls, @@ -538,7 +538,7 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AdditionalProperties': @@ -670,7 +670,7 @@ class NullableClass( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], integer_prop: typing.Union[Schema_.Properties.IntegerProp, None, decimal.Decimal, int, schemas.Unset] = schemas.unset, number_prop: typing.Union[Schema_.Properties.NumberProp, None, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, boolean_prop: typing.Union[Schema_.Properties.BooleanProp, None, bool, schemas.Unset] = schemas.unset, @@ -684,7 +684,7 @@ class NullableClass( object_and_items_nullable_prop: typing.Union[Schema_.Properties.ObjectAndItemsNullableProp, None, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, object_items_nullable: typing.Union[Schema_.Properties.ObjectItemsNullable, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, None, dict, frozendict.frozendict], ) -> 'NullableClass': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.py index 97c1b877ea8..9844c999d03 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.py @@ -57,7 +57,7 @@ def _1() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NullableShape': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.pyi index 97c1b877ea8..9844c999d03 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_shape.pyi @@ -57,7 +57,7 @@ class NullableShape( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'NullableShape': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.py index df837d088ef..4afac58271d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.py @@ -45,7 +45,7 @@ class Schema_: def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NullableString': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.pyi index df837d088ef..4afac58271d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/nullable_string.pyi @@ -45,7 +45,7 @@ class NullableString( def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'NullableString': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.py index e404cd9b33d..7b4327c23e2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.py @@ -75,7 +75,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.pyi index 2de9a2a4cff..7a79763d8a0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/number_only.pyi @@ -74,7 +74,7 @@ class NumberOnly( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], JustNumber: typing.Union[Schema_.Properties.JustNumber, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.py index b42fedcc797..74815e96bd8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.py @@ -92,9 +92,9 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - arg: typing.Union[Schema_.Properties.Arg, str, ], - args: typing.Union[Schema_.Properties.Args, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + arg: typing.Union[Schema_.Properties.Arg, str], + args: typing.Union[Schema_.Properties.Args, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithArgAndArgsProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi index 6c9b4dc2ea2..f41cb9b6e18 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_arg_and_args_properties.pyi @@ -91,9 +91,9 @@ class ObjectModelWithArgAndArgsProperties( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - arg: typing.Union[Schema_.Properties.Arg, str, ], - args: typing.Union[Schema_.Properties.Args, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + arg: typing.Union[Schema_.Properties.Arg, str], + args: typing.Union[Schema_.Properties.Args, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithArgAndArgsProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.py index 89900723e06..5ff691476f1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.py @@ -106,10 +106,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - myNumber: typing.Union['number_with_validations.NumberWithValidations', schemas.Unset] = schemas.unset, - myString: typing.Union['string.String', schemas.Unset] = schemas.unset, - myBoolean: typing.Union['boolean.Boolean', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + myNumber: typing.Union['number_with_validations.NumberWithValidations', decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + myString: typing.Union['string.String', str, schemas.Unset] = schemas.unset, + myBoolean: typing.Union['boolean.Boolean', bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithRefProps': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.pyi index b34efc13a19..3906a5a2da6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_model_with_ref_props.pyi @@ -105,10 +105,10 @@ class ObjectModelWithRefProps( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - myNumber: typing.Union['number_with_validations.NumberWithValidations', schemas.Unset] = schemas.unset, - myString: typing.Union['string.String', schemas.Unset] = schemas.unset, - myBoolean: typing.Union['boolean.Boolean', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + myNumber: typing.Union['number_with_validations.NumberWithValidations', decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + myString: typing.Union['string.String', str, schemas.Unset] = schemas.unset, + myBoolean: typing.Union['boolean.Boolean', bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectModelWithRefProps': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py index 90158f0c9ba..d71c6e7d11b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py @@ -95,8 +95,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -115,7 +115,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithAllOfWithReqTestPropFromUnsetAddProp': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi index 7f8a9ed1986..cee80d6d555 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi @@ -94,8 +94,8 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + test: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> '_1': @@ -114,7 +114,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithAllOfWithReqTestPropFromUnsetAddProp': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.py index 0f7baeac607..c5f50af2be4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.py @@ -87,7 +87,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, someprop: typing.Union[Schema_.Properties.Someprop, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.pyi index 7538b5dd1d1..307bf6a85f5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_colliding_properties.pyi @@ -86,7 +86,7 @@ class ObjectWithCollidingProperties( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, someprop: typing.Union[Schema_.Properties.Someprop, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.py index a4f0eb368e2..d170f9cfbfb 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.py @@ -101,10 +101,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + length: typing.Union['decimal_payload.DecimalPayload', str, schemas.Unset] = schemas.unset, width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, - cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, + cost: typing.Union['money.Money', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDecimalProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.pyi index d973f9e6ab8..1480f6e0dea 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_decimal_properties.pyi @@ -100,10 +100,10 @@ class ObjectWithDecimalProperties( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + length: typing.Union['decimal_payload.DecimalPayload', str, schemas.Unset] = schemas.unset, width: typing.Union[Schema_.Properties.Width, str, schemas.Unset] = schemas.unset, - cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, + cost: typing.Union['money.Money', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDecimalProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.py index 1c5fb658ca8..0ecb707420d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.py @@ -101,7 +101,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDifficultlyNamedProps': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.pyi index 31069378aa6..39a07c14ef5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_difficultly_named_props.pyi @@ -100,7 +100,7 @@ class ObjectWithDifficultlyNamedProps( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithDifficultlyNamedProps': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.py index fd69b7c3c98..582d43169fe 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.py @@ -67,7 +67,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -114,7 +114,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.pyi index 18ff3c92a16..e189058f8e1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_inline_composition_property.pyi @@ -60,7 +60,7 @@ class ObjectWithInlineCompositionProperty( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -107,7 +107,7 @@ class ObjectWithInlineCompositionProperty( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.py index c974f130457..33943ea818b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.py @@ -96,7 +96,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInvalidNamedRefedProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi index d7653c1711e..458f18d5ad2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi @@ -95,7 +95,7 @@ class ObjectWithInvalidNamedRefedProperties( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithInvalidNamedRefedProperties': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.py index f677df815f7..5b23c75d360 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.py @@ -75,7 +75,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.pyi index 7d4af5c9dd8..e70abf49494 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_optional_test_prop.pyi @@ -74,7 +74,7 @@ class ObjectWithOptionalTestProp( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], test: typing.Union[Schema_.Properties.Test, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.py index 39169697940..08119d42288 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.py @@ -39,7 +39,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithValidations': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.pyi index 0bb536c8206..141aae91de7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/object_with_validations.pyi @@ -34,7 +34,7 @@ class ObjectWithValidations( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithValidations': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.py index 2f471b13031..e5aeeeecbce 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.py @@ -163,7 +163,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, quantity: typing.Union[Schema_.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.pyi index 735d72f5ec4..f9252123a7b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/order.pyi @@ -145,7 +145,7 @@ class Order( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, petId: typing.Union[Schema_.Properties.PetId, decimal.Decimal, int, schemas.Unset] = schemas.unset, quantity: typing.Union[Schema_.Properties.Quantity, decimal.Decimal, int, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.py index cf0f89a3cd5..8ddf68e8f2a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.py @@ -58,7 +58,7 @@ def _0() -> typing.Type['grandparent_animal.GrandparentAnimal']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ParentPet': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.pyi index cf0f89a3cd5..8ddf68e8f2a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/parent_pet.pyi @@ -58,7 +58,7 @@ class ParentPet( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ParentPet': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.py index 5e5a6e2eeca..9d94d23e561 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.py @@ -64,10 +64,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -98,10 +98,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'tag.Tag', ... + typing.Union['tag.Tag', dict, frozendict.frozendict], ... ], typing.List[ - 'tag.Tag' + typing.Union['tag.Tag', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -227,11 +227,11 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[Schema_.Properties.Name, str, ], - photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple, ], + *args_: typing.Union[dict, frozendict.frozendict], + name: typing.Union[Schema_.Properties.Name, str], + photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - category: typing.Union['category.Category', schemas.Unset] = schemas.unset, + category: typing.Union['category.Category', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, tags: typing.Union[Schema_.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.pyi index 793159f3081..1befa39bd7a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pet.pyi @@ -63,10 +63,10 @@ class Pet( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -97,10 +97,10 @@ class Pet( cls, arg_: typing.Union[ typing.Tuple[ - 'tag.Tag', ... + typing.Union['tag.Tag', dict, frozendict.frozendict], ... ], typing.List[ - 'tag.Tag' + typing.Union['tag.Tag', dict, frozendict.frozendict] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -215,11 +215,11 @@ class Pet( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - name: typing.Union[Schema_.Properties.Name, str, ], - photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple, ], + *args_: typing.Union[dict, frozendict.frozendict], + name: typing.Union[Schema_.Properties.Name, str], + photoUrls: typing.Union[Schema_.Properties.PhotoUrls, list, tuple], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - category: typing.Union['category.Category', schemas.Unset] = schemas.unset, + category: typing.Union['category.Category', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, tags: typing.Union[Schema_.Properties.Tags, list, tuple, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.py index 2554286fb8c..9c364e80262 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.py @@ -62,7 +62,7 @@ def _1() -> typing.Type['danish_pig.DanishPig']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pig': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.pyi index 2554286fb8c..9c364e80262 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/pig.pyi @@ -62,7 +62,7 @@ class Pig( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Pig': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.py index 449eebba706..4ce89eca23e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.py @@ -90,9 +90,9 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, + enemyPlayer: typing.Union['Player', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Player': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.pyi index 15c18e77d3e..cfb741fee0b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/player.pyi @@ -89,9 +89,9 @@ class Player( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, - enemyPlayer: typing.Union['Player', schemas.Unset] = schemas.unset, + enemyPlayer: typing.Union['Player', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Player': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.py index 87d5ef017df..5a9b2cf24c0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.py @@ -62,7 +62,7 @@ def _1() -> typing.Type['complex_quadrilateral.ComplexQuadrilateral']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Quadrilateral': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.pyi index 87d5ef017df..5a9b2cf24c0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral.pyi @@ -62,7 +62,7 @@ class Quadrilateral( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Quadrilateral': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.py index 1773d966245..a872eebb736 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.py @@ -110,7 +110,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'QuadrilateralInterface': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.pyi index cca26e05b64..1b3e8ca8b4f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/quadrilateral_interface.pyi @@ -101,7 +101,7 @@ class QuadrilateralInterface( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'QuadrilateralInterface': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.py index f31ee141637..78285dffbb1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.pyi index 121e8ae446b..1bff48c5408 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/read_only_first.pyi @@ -84,7 +84,7 @@ class ReadOnlyFirst( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], bar: typing.Union[Schema_.Properties.Bar, str, schemas.Unset] = schemas.unset, baz: typing.Union[Schema_.Properties.Baz, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.py index f8a16650ba6..9fd1260cfaf 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.py @@ -84,10 +84,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[Schema_.AdditionalProperties, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + validName: typing.Union[Schema_.AdditionalProperties, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.pyi index 192c3e026ff..9b75af2ae9b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_explicit_add_props.pyi @@ -83,10 +83,10 @@ class ReqPropsFromExplicitAddProps( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[Schema_.AdditionalProperties, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + validName: typing.Union[Schema_.AdditionalProperties, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'ReqPropsFromExplicitAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.py index 3f25fdef3c0..d1ecdd111b7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.py @@ -84,10 +84,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.pyi index 5bca6d40875..d7cf9cdd6e4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_true_add_props.pyi @@ -83,10 +83,10 @@ class ReqPropsFromTrueAddProps( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + validName: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'ReqPropsFromTrueAddProps': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.py index 7a074ebd117..4276aa83954 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.py @@ -83,8 +83,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReqPropsFromUnsetAddProps': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.pyi index f95a094a4e8..ed14fd6452d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/req_props_from_unset_add_props.pyi @@ -82,8 +82,8 @@ class ReqPropsFromUnsetAddProps( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + validName: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ReqPropsFromUnsetAddProps': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.py index 1ac5d24ab38..5de04d50a46 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.py @@ -107,7 +107,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -127,7 +127,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ScaleneTriangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.pyi index bb9d0c151ea..bf6805690ae 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/scalene_triangle.pyi @@ -97,7 +97,7 @@ class ScaleneTriangle( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], triangleType: typing.Union[Schema_.Properties.TriangleType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -117,7 +117,7 @@ class ScaleneTriangle( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ScaleneTriangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.py index 055a3e18ffd..4abafae8312 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.py @@ -44,10 +44,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - 'SelfReferencingArrayModel', ... + typing.Union['SelfReferencingArrayModel', list, tuple], ... ], typing.List[ - 'SelfReferencingArrayModel' + typing.Union['SelfReferencingArrayModel', list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.pyi index 055a3e18ffd..4abafae8312 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_array_model.pyi @@ -44,10 +44,10 @@ class SelfReferencingArrayModel( cls, arg_: typing.Union[ typing.Tuple[ - 'SelfReferencingArrayModel', ... + typing.Union['SelfReferencingArrayModel', list, tuple], ... ], typing.List[ - 'SelfReferencingArrayModel' + typing.Union['SelfReferencingArrayModel', list, tuple] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.py index a4c9124f9d3..84e8c2a43a7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.py @@ -82,10 +82,10 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + selfRef: typing.Union['SelfReferencingObjectModel', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'SelfReferencingObjectModel', + **kwargs: typing.Union['SelfReferencingObjectModel', dict, frozendict.frozendict], ) -> 'SelfReferencingObjectModel': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.pyi index 6f1a1dc0fb7..37fc14c1734 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/self_referencing_object_model.pyi @@ -81,10 +81,10 @@ class SelfReferencingObjectModel( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + selfRef: typing.Union['SelfReferencingObjectModel', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: 'SelfReferencingObjectModel', + **kwargs: typing.Union['SelfReferencingObjectModel', dict, frozendict.frozendict], ) -> 'SelfReferencingObjectModel': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.py index d1b23a6f5f9..bb588f9eda5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.py @@ -62,7 +62,7 @@ def _1() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Shape': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.pyi index d1b23a6f5f9..bb588f9eda5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape.pyi @@ -62,7 +62,7 @@ class Shape( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Shape': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.py index f6ce3027aa0..3e753ee0527 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.py @@ -66,7 +66,7 @@ def _2() -> typing.Type['quadrilateral.Quadrilateral']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ShapeOrNull': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.pyi index f6ce3027aa0..3e753ee0527 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/shape_or_null.pyi @@ -66,7 +66,7 @@ class ShapeOrNull( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ShapeOrNull': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.py index 645aa9aa5d8..ee0d0b9ed4f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.py @@ -107,7 +107,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -127,7 +127,7 @@ def __new__( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SimpleQuadrilateral': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.pyi index c1660e39a48..5224a83ded3 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/simple_quadrilateral.pyi @@ -97,7 +97,7 @@ class SimpleQuadrilateral( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], quadrilateralType: typing.Union[Schema_.Properties.QuadrilateralType, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], @@ -117,7 +117,7 @@ class SimpleQuadrilateral( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SimpleQuadrilateral': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.py index 35c073d9346..6056559b955 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.py @@ -48,7 +48,7 @@ def _0() -> typing.Type['object_interface.ObjectInterface']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeObject': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.pyi index 35c073d9346..6056559b955 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/some_object.pyi @@ -48,7 +48,7 @@ class SomeObject( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeObject': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.py index 821be94a62f..c2b2bfb12c9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.py @@ -77,7 +77,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.pyi index ea7e9a57ce4..8c06a3058ab 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/special_model_name.pyi @@ -76,7 +76,7 @@ class SpecialModelName( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], a: typing.Union[Schema_.Properties.A, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.py index 84a9d81e266..5789bc87210 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.py @@ -46,9 +46,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'StringBooleanMap': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.pyi index 34bee3be708..fd2ef0b5151 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_boolean_map.pyi @@ -45,9 +45,9 @@ class StringBooleanMap( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, bool, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, bool], ) -> 'StringBooleanMap': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.py index 9ba07ce476d..d0f92a895b8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.py @@ -82,7 +82,7 @@ def NONE(cls): def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'StringEnum': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.pyi index 9ba07ce476d..d0f92a895b8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/string_enum.pyi @@ -82,7 +82,7 @@ class StringEnum( def __new__( cls, - arg_: typing.Union[None, str, ], + arg_: typing.Union[None, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, ) -> 'StringEnum': return super().__new__( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.py index 83b5b9549f5..ee61b66214a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.py @@ -85,7 +85,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.pyi index 69849ec14b2..a65374e711f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/tag.pyi @@ -84,7 +84,7 @@ class Tag( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.py index 731af77aa61..439d63d0a1d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.py @@ -68,7 +68,7 @@ def _2() -> typing.Type['scalene_triangle.ScaleneTriangle']: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Triangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.pyi index 731af77aa61..439d63d0a1d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle.pyi @@ -68,7 +68,7 @@ class Triangle( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Triangle': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.py index db1a8af8509..f929d952737 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.py @@ -110,7 +110,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TriangleInterface': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.pyi index eaafa890d3c..30841e98487 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/triangle_interface.pyi @@ -101,7 +101,7 @@ class TriangleInterface( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'TriangleInterface': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.py index acb27213275..f67c9cb67bc 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.py @@ -65,7 +65,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithNoDeclaredPropsNullable': @@ -90,7 +90,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeExceptNullProp': @@ -246,7 +246,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, username: typing.Union[Schema_.Properties.Username, str, schemas.Unset] = schemas.unset, firstName: typing.Union[Schema_.Properties.FirstName, str, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.pyi index d45eb100a0e..65fed9802a5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/user.pyi @@ -64,7 +64,7 @@ class User( def __new__( cls, - *args_: typing.Union[None, dict, frozendict.frozendict, ], + *args_: typing.Union[None, dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'ObjectWithNoDeclaredPropsNullable': @@ -89,7 +89,7 @@ class User( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'AnyTypeExceptNullProp': @@ -245,7 +245,7 @@ class User( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], id: typing.Union[Schema_.Properties.Id, decimal.Decimal, int, schemas.Unset] = schemas.unset, username: typing.Union[Schema_.Properties.Username, str, schemas.Unset] = schemas.unset, firstName: typing.Union[Schema_.Properties.FirstName, str, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.py index 891804049a2..0a6d0651875 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.py @@ -117,8 +117,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.pyi index 11b1bf42bc8..5f189c17d1b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/whale.pyi @@ -107,8 +107,8 @@ class Whale( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], hasBaleen: typing.Union[Schema_.Properties.HasBaleen, bool, schemas.Unset] = schemas.unset, hasTeeth: typing.Union[Schema_.Properties.HasTeeth, bool, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.py b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.py index 4cea362be9a..5ac9070e0d7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.py @@ -135,11 +135,11 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'Zebra': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.pyi index 2804d63fb58..69d3ac933c6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/components/schema/zebra.pyi @@ -114,11 +114,11 @@ class Zebra( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - className: typing.Union[Schema_.Properties.ClassName, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + className: typing.Union[Schema_.Properties.ClassName, str], type: typing.Union[Schema_.Properties.Type, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], ) -> 'Zebra': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/configurations/api_configuration.py b/samples/openapi3/client/petstore/python/src/petstore_api/configurations/api_configuration.py index 5e328d4b726..a22b2474039 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/configurations/api_configuration.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/configurations/api_configuration.py @@ -100,8 +100,8 @@ 'ServerIndexInfo', { 'servers': typing_extensions.Literal[0, 1, 2], - "paths///foo/servers": typing_extensions.Literal[0, 1], - "paths//servers": typing_extensions.Literal[0, 1], + "paths//foo/get/servers": typing_extensions.Literal[0, 1], + "paths//pet/findByStatus/servers": typing_extensions.Literal[0, 1], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.py index bdd2c5ba6c2..2f578798ffb 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -49,7 +50,11 @@ class BaseApi(api_client.Api): @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -61,7 +66,11 @@ def _call_123_test__special_tags( @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -74,7 +83,11 @@ def _call_123_test__special_tags( @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -86,7 +99,11 @@ def _call_123_test__special_tags( @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -100,7 +117,11 @@ def _call_123_test__special_tags( def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -176,7 +197,11 @@ class _123TestSpecialTags(BaseApi): @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -188,7 +213,11 @@ def call_123_test__special_tags( @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -201,7 +230,11 @@ def call_123_test__special_tags( @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -213,7 +246,11 @@ def call_123_test__special_tags( @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -227,7 +264,11 @@ def call_123_test__special_tags( def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -252,7 +293,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -264,7 +309,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -277,7 +326,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -289,7 +342,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -303,7 +360,11 @@ def patch( def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.pyi index 4885ff36c05..ce1bc601d28 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/another_fake_dummy/patch/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -37,7 +38,11 @@ class BaseApi(api_client.Api): @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -49,7 +54,11 @@ class BaseApi(api_client.Api): @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -62,7 +71,11 @@ class BaseApi(api_client.Api): @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -74,7 +87,11 @@ class BaseApi(api_client.Api): @typing.overload def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -88,7 +105,11 @@ class BaseApi(api_client.Api): def _call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -164,7 +185,11 @@ class _123TestSpecialTags(BaseApi): @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -176,7 +201,11 @@ class _123TestSpecialTags(BaseApi): @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -189,7 +218,11 @@ class _123TestSpecialTags(BaseApi): @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -201,7 +234,11 @@ class _123TestSpecialTags(BaseApi): @typing.overload def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -215,7 +252,11 @@ class _123TestSpecialTags(BaseApi): def call_123_test__special_tags( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -240,7 +281,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -252,7 +297,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -265,7 +314,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -277,7 +330,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -291,7 +348,11 @@ class ApiForPatch(BaseApi): def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.py index 5603832229a..e7ed6f93a54 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.py @@ -43,15 +43,15 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'required_string_group': typing.Union[parameter_0.Parameter0.schema, str, ], - 'required_int64_group': typing.Union[parameter_2.Parameter2.schema, decimal.Decimal, int, ], + 'required_string_group': typing.Union[parameter_0.Parameter0.schema, str], + 'required_int64_group': typing.Union[parameter_2.Parameter2.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'string_group': typing.Union[parameter_3.Parameter3.schema, str, ], - 'int64_group': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int, ], + 'string_group': typing.Union[parameter_3.Parameter3.schema, str], + 'int64_group': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int], }, total=False ) @@ -72,13 +72,13 @@ class RequestHeaderParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'required_boolean_group': typing.Union[parameter_1.Parameter1.schema, str, ], + 'required_boolean_group': typing.Union[parameter_1.Parameter1.schema, str], } ) OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'boolean_group': typing.Union[parameter_4.Parameter4.schema, str, ], + 'boolean_group': typing.Union[parameter_4.Parameter4.schema, str], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.pyi index aee2c148d75..0912a42393c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/delete/operation.pyi @@ -42,15 +42,15 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'required_string_group': typing.Union[parameter_0.Parameter0.schema, str, ], - 'required_int64_group': typing.Union[parameter_2.Parameter2.schema, decimal.Decimal, int, ], + 'required_string_group': typing.Union[parameter_0.Parameter0.schema, str], + 'required_int64_group': typing.Union[parameter_2.Parameter2.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'string_group': typing.Union[parameter_3.Parameter3.schema, str, ], - 'int64_group': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int, ], + 'string_group': typing.Union[parameter_3.Parameter3.schema, str], + 'int64_group': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int], }, total=False ) @@ -71,13 +71,13 @@ class RequestHeaderParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'required_boolean_group': typing.Union[parameter_1.Parameter1.schema, str, ], + 'required_boolean_group': typing.Union[parameter_1.Parameter1.schema, str], } ) OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'boolean_group': typing.Union[parameter_4.Parameter4.schema, str, ], + 'boolean_group': typing.Union[parameter_4.Parameter4.schema, str], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.py index 206835f70e9..2e48552c810 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.py @@ -51,10 +51,10 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'enum_query_string_array': typing.Union[parameter_2.Parameter2.schema, list, tuple, ], - 'enum_query_string': typing.Union[parameter_3.Parameter3.schema, str, ], - 'enum_query_integer': typing.Union[parameter_4.Parameter4.schema, decimal.Decimal, int, ], - 'enum_query_double': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int, float, ], + 'enum_query_string_array': typing.Union[parameter_2.Parameter2.schema, list, tuple], + 'enum_query_string': typing.Union[parameter_3.Parameter3.schema, str], + 'enum_query_integer': typing.Union[parameter_4.Parameter4.schema, decimal.Decimal, int], + 'enum_query_double': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int, float], }, total=False ) @@ -80,8 +80,8 @@ class RequestHeaderParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'enum_header_string_array': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], - 'enum_header_string': typing.Union[parameter_1.Parameter1.schema, str, ], + 'enum_header_string_array': typing.Union[parameter_0.Parameter0.schema, list, tuple], + 'enum_header_string': typing.Union[parameter_1.Parameter1.schema, str], }, total=False ) @@ -107,6 +107,7 @@ class Params(RequiredParams, OptionalParams): '200': response_200.ResponseFor200, '404': response_404.ResponseFor404, } + _all_accept_content_types = ( "application/json", ) @@ -117,7 +118,12 @@ class BaseApi(api_client.Api): def _enum_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -125,15 +131,18 @@ def _enum_parameters( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -141,9 +150,7 @@ def _enum_parameters( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -151,7 +158,12 @@ def _enum_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -164,7 +176,12 @@ def _enum_parameters( def _enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -180,7 +197,12 @@ def _enum_parameters( def _enum_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -276,7 +298,12 @@ class EnumParameters(BaseApi): def enum_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -284,15 +311,18 @@ def enum_parameters( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -300,9 +330,7 @@ def enum_parameters( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -310,7 +338,12 @@ def enum_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -323,7 +356,12 @@ def enum_parameters( def enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -339,7 +377,12 @@ def enum_parameters( def enum_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -368,7 +411,12 @@ class ApiForGet(BaseApi): def get( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -376,15 +424,18 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -392,9 +443,7 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -402,7 +451,12 @@ def get( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -415,7 +469,12 @@ def get( def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -431,7 +490,12 @@ def get( def get( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.pyi index 1cffb55fb16..15370cfbcce 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/operation.pyi @@ -50,10 +50,10 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'enum_query_string_array': typing.Union[parameter_2.Parameter2.schema, list, tuple, ], - 'enum_query_string': typing.Union[parameter_3.Parameter3.schema, str, ], - 'enum_query_integer': typing.Union[parameter_4.Parameter4.schema, decimal.Decimal, int, ], - 'enum_query_double': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int, float, ], + 'enum_query_string_array': typing.Union[parameter_2.Parameter2.schema, list, tuple], + 'enum_query_string': typing.Union[parameter_3.Parameter3.schema, str], + 'enum_query_integer': typing.Union[parameter_4.Parameter4.schema, decimal.Decimal, int], + 'enum_query_double': typing.Union[parameter_5.Parameter5.schema, decimal.Decimal, int, float], }, total=False ) @@ -79,8 +79,8 @@ class RequestHeaderParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'enum_header_string_array': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], - 'enum_header_string': typing.Union[parameter_1.Parameter1.schema, str, ], + 'enum_header_string_array': typing.Union[parameter_0.Parameter0.schema, list, tuple], + 'enum_header_string': typing.Union[parameter_1.Parameter1.schema, str], }, total=False ) @@ -93,7 +93,8 @@ class RequestHeaderParameters: parameters = [ parameter_0.Parameter0, parameter_1.Parameter1, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/json", ) @@ -103,7 +104,12 @@ class BaseApi(api_client.Api): def _enum_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -111,15 +117,18 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -127,9 +136,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -137,7 +144,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -150,7 +162,12 @@ class BaseApi(api_client.Api): def _enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -166,7 +183,12 @@ class BaseApi(api_client.Api): def _enum_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -262,7 +284,12 @@ class EnumParameters(BaseApi): def enum_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -270,15 +297,18 @@ class EnumParameters(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -286,9 +316,7 @@ class EnumParameters(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -296,7 +324,12 @@ class EnumParameters(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -309,7 +342,12 @@ class EnumParameters(BaseApi): def enum_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -325,7 +363,12 @@ class EnumParameters(BaseApi): def enum_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -354,7 +397,12 @@ class ApiForGet(BaseApi): def get( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -362,15 +410,18 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -378,9 +429,7 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -388,7 +437,12 @@ class ApiForGet(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -401,7 +455,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -417,7 +476,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.py index 7a6619eefc6..9d14af21cc1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.py @@ -59,10 +59,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.pyi index b6d6b303085..9efde72ff0b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_0/schema.pyi @@ -48,10 +48,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.py index 7a6619eefc6..9d14af21cc1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.py @@ -59,10 +59,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.pyi index b6d6b303085..9efde72ff0b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/parameters/parameter_2/schema.pyi @@ -48,10 +48,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.py index 78a0634aa7c..e44fb624036 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.py @@ -70,10 +70,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -161,7 +161,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.pyi index efb2870c3ef..674effae482 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/get/request_body/content/application_x_www_form_urlencoded/schema.pyi @@ -58,10 +58,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -137,7 +137,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], enum_form_string_array: typing.Union[Schema_.Properties.EnumFormStringArray, list, tuple, schemas.Unset] = schemas.unset, enum_form_string: typing.Union[Schema_.Properties.EnumFormString, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.py index eb66f0aed45..531d47432c1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -49,7 +50,11 @@ class BaseApi(api_client.Api): @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -61,7 +66,11 @@ def _client_model( @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -74,7 +83,11 @@ def _client_model( @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -86,7 +99,11 @@ def _client_model( @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -100,7 +117,11 @@ def _client_model( def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -176,7 +197,11 @@ class ClientModel(BaseApi): @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -188,7 +213,11 @@ def client_model( @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -201,7 +230,11 @@ def client_model( @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -213,7 +246,11 @@ def client_model( @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -227,7 +264,11 @@ def client_model( def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -252,7 +293,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -264,7 +309,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -277,7 +326,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -289,7 +342,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -303,7 +360,11 @@ def patch( def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.pyi index 0a33c516526..f8cf36df2c3 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/patch/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -37,7 +38,11 @@ class BaseApi(api_client.Api): @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -49,7 +54,11 @@ class BaseApi(api_client.Api): @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -62,7 +71,11 @@ class BaseApi(api_client.Api): @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -74,7 +87,11 @@ class BaseApi(api_client.Api): @typing.overload def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -88,7 +105,11 @@ class BaseApi(api_client.Api): def _client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -164,7 +185,11 @@ class ClientModel(BaseApi): @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -176,7 +201,11 @@ class ClientModel(BaseApi): @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -189,7 +218,11 @@ class ClientModel(BaseApi): @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -201,7 +234,11 @@ class ClientModel(BaseApi): @typing.overload def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -215,7 +252,11 @@ class ClientModel(BaseApi): def client_model( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -240,7 +281,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -252,7 +297,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -265,7 +314,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -277,7 +330,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -291,7 +348,11 @@ class ApiForPatch(BaseApi): def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.py index e65549426d2..1d2150f6655 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.py @@ -57,29 +57,35 @@ class BaseApi(api_client.Api): def _endpoint_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -87,7 +93,12 @@ def _endpoint_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -98,7 +109,12 @@ def _endpoint_parameters( def _endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -112,7 +128,12 @@ def _endpoint_parameters( def _endpoint_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -190,29 +211,35 @@ class EndpointParameters(BaseApi): def endpoint_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -220,7 +247,12 @@ def endpoint_parameters( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -231,7 +263,12 @@ def endpoint_parameters( def endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +282,12 @@ def endpoint_parameters( def endpoint_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -270,29 +312,35 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -300,7 +348,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -311,7 +364,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -325,7 +383,12 @@ def post( def post( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.pyi index f7602b5264b..6686f372c55 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/operation.pyi @@ -39,29 +39,35 @@ class BaseApi(api_client.Api): def _endpoint_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -69,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -80,7 +91,12 @@ class BaseApi(api_client.Api): def _endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -94,7 +110,12 @@ class BaseApi(api_client.Api): def _endpoint_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -172,29 +193,35 @@ class EndpointParameters(BaseApi): def endpoint_parameters( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -202,7 +229,12 @@ class EndpointParameters(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +245,12 @@ class EndpointParameters(BaseApi): def endpoint_parameters( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -227,7 +264,12 @@ class EndpointParameters(BaseApi): def endpoint_parameters( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -252,29 +294,35 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload @@ -282,7 +330,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -293,7 +346,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, @@ -307,7 +365,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.py index d688738f03c..2089b12bd14 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.py @@ -325,11 +325,11 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[Schema_.Properties.Byte, str, ], - double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, ], - number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], - pattern_without_delimiter: typing.Union[Schema_.Properties.PatternWithoutDelimiter, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + byte: typing.Union[Schema_.Properties.Byte, str], + double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float], + pattern_without_delimiter: typing.Union[Schema_.Properties.PatternWithoutDelimiter, str], integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, int64: typing.Union[Schema_.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.pyi index d03409018e4..e0ee938bfcd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake/post/request_body/content/application_x_www_form_urlencoded/schema.pyi @@ -255,11 +255,11 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - byte: typing.Union[Schema_.Properties.Byte, str, ], - double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float, ], - number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float, ], - pattern_without_delimiter: typing.Union[Schema_.Properties.PatternWithoutDelimiter, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + byte: typing.Union[Schema_.Properties.Byte, str], + double: typing.Union[Schema_.Properties.Double, decimal.Decimal, int, float], + number: typing.Union[Schema_.Properties.Number, decimal.Decimal, int, float], + pattern_without_delimiter: typing.Union[Schema_.Properties.PatternWithoutDelimiter, str], integer: typing.Union[Schema_.Properties.Integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, int32: typing.Union[Schema_.Properties.Int32, decimal.Decimal, int, schemas.Unset] = schemas.unset, int64: typing.Union[Schema_.Properties.Int64, decimal.Decimal, int, schemas.Unset] = schemas.unset, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.py index 079a4fe5ddc..0831ae94d47 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,12 @@ class BaseApi(api_client.Api): def _additional_properties_with_array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +68,12 @@ def _additional_properties_with_array_of_enums( def _additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +87,12 @@ def _additional_properties_with_array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +103,12 @@ def _additional_properties_with_array_of_enums( def _additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +122,12 @@ def _additional_properties_with_array_of_enums( def _additional_properties_with_array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +201,12 @@ class AdditionalPropertiesWithArrayOfEnums(BaseApi): def additional_properties_with_array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +218,12 @@ def additional_properties_with_array_of_enums( def additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -201,7 +237,12 @@ def additional_properties_with_array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -212,7 +253,12 @@ def additional_properties_with_array_of_enums( def additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -226,7 +272,12 @@ def additional_properties_with_array_of_enums( def additional_properties_with_array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +302,12 @@ class ApiForGet(BaseApi): def get( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +319,12 @@ def get( def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -277,7 +338,12 @@ def get( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -288,7 +354,12 @@ def get( def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -302,7 +373,12 @@ def get( def get( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.pyi index c82d140dd04..9fc5cc1a95c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,12 @@ class BaseApi(api_client.Api): def _additional_properties_with_array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +56,12 @@ class BaseApi(api_client.Api): def _additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +91,12 @@ class BaseApi(api_client.Api): def _additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +110,12 @@ class BaseApi(api_client.Api): def _additional_properties_with_array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +189,12 @@ class AdditionalPropertiesWithArrayOfEnums(BaseApi): def additional_properties_with_array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +206,12 @@ class AdditionalPropertiesWithArrayOfEnums(BaseApi): def additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -189,7 +225,12 @@ class AdditionalPropertiesWithArrayOfEnums(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +241,12 @@ class AdditionalPropertiesWithArrayOfEnums(BaseApi): def additional_properties_with_array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -214,7 +260,12 @@ class AdditionalPropertiesWithArrayOfEnums(BaseApi): def additional_properties_with_array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +290,12 @@ class ApiForGet(BaseApi): def get( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +307,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -265,7 +326,12 @@ class ApiForGet(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +342,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -290,7 +361,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.py index 58af8bbc3ba..4e7908f2206 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _body_with_file_schema( @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _body_with_file_schema( @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _body_with_file_schema( @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _body_with_file_schema( def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +184,11 @@ class BodyWithFileSchema(BaseApi): @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +199,11 @@ def body_with_file_schema( @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +215,11 @@ def body_with_file_schema( @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -198,7 +230,11 @@ def body_with_file_schema( @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +247,11 @@ def body_with_file_schema( def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +274,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +289,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -257,7 +305,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -268,7 +320,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -281,7 +337,11 @@ def put( def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.pyi index 87b94cb4b7f..e1892e0b83a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_file_schema/put/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -152,7 +172,11 @@ class BodyWithFileSchema(BaseApi): @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +187,11 @@ class BodyWithFileSchema(BaseApi): @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +203,11 @@ class BodyWithFileSchema(BaseApi): @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -186,7 +218,11 @@ class BodyWithFileSchema(BaseApi): @typing.overload def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +235,11 @@ class BodyWithFileSchema(BaseApi): def body_with_file_schema( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -222,7 +262,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -233,7 +277,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -245,7 +293,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -256,7 +308,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -269,7 +325,11 @@ class ApiForPut(BaseApi): def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.py index 999088c1231..64e20a9c7db 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.py @@ -36,7 +36,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'query': typing.Union[parameter_0.Parameter0.schema, str, ], + 'query': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -70,7 +70,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -82,7 +86,11 @@ def _body_with_query_params( @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -95,7 +103,11 @@ def _body_with_query_params( @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -107,7 +119,11 @@ def _body_with_query_params( @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -121,7 +137,11 @@ def _body_with_query_params( def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -205,7 +225,11 @@ class BodyWithQueryParams(BaseApi): @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -217,7 +241,11 @@ def body_with_query_params( @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -230,7 +258,11 @@ def body_with_query_params( @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -242,7 +274,11 @@ def body_with_query_params( @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -256,7 +292,11 @@ def body_with_query_params( def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -281,7 +321,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -293,7 +337,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -306,7 +354,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -318,7 +370,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -332,7 +388,11 @@ def put( def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.pyi index c70c93e942b..c1168253d63 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_body_with_query_params/put/operation.pyi @@ -35,7 +35,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'query': typing.Union[parameter_0.Parameter0.schema, str, ], + 'query': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -58,7 +58,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -70,7 +74,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -83,7 +91,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -95,7 +107,11 @@ class BaseApi(api_client.Api): @typing.overload def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -109,7 +125,11 @@ class BaseApi(api_client.Api): def _body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -193,7 +213,11 @@ class BodyWithQueryParams(BaseApi): @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -205,7 +229,11 @@ class BodyWithQueryParams(BaseApi): @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -218,7 +246,11 @@ class BodyWithQueryParams(BaseApi): @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -230,7 +262,11 @@ class BodyWithQueryParams(BaseApi): @typing.overload def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -244,7 +280,11 @@ class BodyWithQueryParams(BaseApi): def body_with_query_params( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -269,7 +309,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -281,7 +325,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -294,7 +342,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), @@ -306,7 +358,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -320,7 +376,11 @@ class ApiForPut(BaseApi): def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', query_params: RequestQueryParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.py index f602e33437e..9bffef5a4e0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.py @@ -38,9 +38,9 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'someVar': typing.Union[parameter_0.Parameter0.schema, str, ], - 'SomeVar': typing.Union[parameter_1.Parameter1.schema, str, ], - 'some_var': typing.Union[parameter_2.Parameter2.schema, str, ], + 'someVar': typing.Union[parameter_0.Parameter0.schema, str], + 'SomeVar': typing.Union[parameter_1.Parameter1.schema, str], + 'some_var': typing.Union[parameter_2.Parameter2.schema, str], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.pyi index ce057ad01f9..1afa60bf624 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_case_sensitive_params/put/operation.pyi @@ -37,9 +37,9 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'someVar': typing.Union[parameter_0.Parameter0.schema, str, ], - 'SomeVar': typing.Union[parameter_1.Parameter1.schema, str, ], - 'some_var': typing.Union[parameter_2.Parameter2.schema, str, ], + 'someVar': typing.Union[parameter_0.Parameter0.schema, str], + 'SomeVar': typing.Union[parameter_1.Parameter1.schema, str], + 'some_var': typing.Union[parameter_2.Parameter2.schema, str], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.py index bc2f2120263..586c63af64b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.py @@ -45,6 +45,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -54,7 +55,11 @@ class BaseApi(api_client.Api): @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -67,7 +72,11 @@ def _classname( @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -81,7 +90,11 @@ def _classname( @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -94,7 +107,11 @@ def _classname( @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -109,7 +126,11 @@ def _classname( def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -192,7 +213,11 @@ class Classname(BaseApi): @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -205,7 +230,11 @@ def classname( @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -219,7 +248,11 @@ def classname( @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -232,7 +265,11 @@ def classname( @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -247,7 +284,11 @@ def classname( def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -274,7 +315,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -287,7 +332,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -301,7 +350,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -314,7 +367,11 @@ def patch( @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -329,7 +386,11 @@ def patch( def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.pyi index f31b3345d65..ce78ae1e934 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_classname_test/patch/operation.pyi @@ -29,6 +29,7 @@ from .responses import response_200 from . import request_body from .security import security_requirement_object_0 + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,11 @@ class BaseApi(api_client.Api): @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -51,7 +56,11 @@ class BaseApi(api_client.Api): @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -65,7 +74,11 @@ class BaseApi(api_client.Api): @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -78,7 +91,11 @@ class BaseApi(api_client.Api): @typing.overload def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -93,7 +110,11 @@ class BaseApi(api_client.Api): def _classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -176,7 +197,11 @@ class Classname(BaseApi): @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -189,7 +214,11 @@ class Classname(BaseApi): @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -203,7 +232,11 @@ class Classname(BaseApi): @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -216,7 +249,11 @@ class Classname(BaseApi): @typing.overload def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -231,7 +268,11 @@ class Classname(BaseApi): def classname( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -258,7 +299,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -271,7 +316,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -285,7 +334,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -298,7 +351,11 @@ class ApiForPatch(BaseApi): @typing.overload def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -313,7 +370,11 @@ class ApiForPatch(BaseApi): def patch( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.py index 7ce85772a13..3ae8f3c65cf 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.py @@ -37,7 +37,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'id': typing.Union[parameter_0.Parameter0.schema, str, ], + 'id': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.pyi index 96ab78c9330..fba8ab73808 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_delete_coffee_id/delete/operation.pyi @@ -36,7 +36,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'id': typing.Union[parameter_0.Parameter0.schema, str, ], + 'id': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.py index 9f80a0d8ce8..9bd5c3d8306 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.pyi index 95e0bb15ac0..2c7818c24f8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_health/get/operation.pyi @@ -27,6 +27,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.py index 7e8e3561f8b..8e31826b36e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.py @@ -46,7 +46,11 @@ class BaseApi(api_client.Api): @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +61,11 @@ def _inline_additional_properties( @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -69,7 +77,11 @@ def _inline_additional_properties( @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -80,7 +92,11 @@ def _inline_additional_properties( @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -93,7 +109,11 @@ def _inline_additional_properties( def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -165,7 +185,11 @@ class InlineAdditionalProperties(BaseApi): @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -176,7 +200,11 @@ def inline_additional_properties( @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +216,11 @@ def inline_additional_properties( @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -199,7 +231,11 @@ def inline_additional_properties( @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -212,7 +248,11 @@ def inline_additional_properties( def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -235,7 +275,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -246,7 +290,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -258,7 +306,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -269,7 +321,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -282,7 +338,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.pyi index 71b17a0439e..ee6d47aecb4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -153,7 +173,11 @@ class InlineAdditionalProperties(BaseApi): @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -164,7 +188,11 @@ class InlineAdditionalProperties(BaseApi): @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -176,7 +204,11 @@ class InlineAdditionalProperties(BaseApi): @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -187,7 +219,11 @@ class InlineAdditionalProperties(BaseApi): @typing.overload def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +236,11 @@ class InlineAdditionalProperties(BaseApi): def inline_additional_properties( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -223,7 +263,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -234,7 +278,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -246,7 +294,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -257,7 +309,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -270,7 +326,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.py index 5e581660665..c8c118cc195 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.py @@ -41,9 +41,9 @@ def get_item_(self, name: str) -> Schema_.AdditionalProperties: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'Schema': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.pyi index c7e60f12426..a5f104fcba2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_additional_properties/post/request_body/content/application_json/schema.pyi @@ -40,9 +40,9 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, - **kwargs: typing.Union[Schema_.AdditionalProperties, str, ], + **kwargs: typing.Union[Schema_.AdditionalProperties, str], ) -> 'Schema': return super().__new__( cls, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.py index e21f089a081..9038e91719b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.py @@ -44,8 +44,8 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'compositionAtRoot': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - 'compositionInProperty': typing.Union[parameter_1.Parameter1.schema, dict, frozendict.frozendict, ], + 'compositionAtRoot': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + 'compositionInProperty': typing.Union[parameter_1.Parameter1.schema, dict, frozendict.frozendict], }, total=False ) @@ -69,6 +69,7 @@ class Params(RequiredParams, OptionalParams): _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", "multipart/form-data", @@ -80,7 +81,26 @@ class BaseApi(api_client.Api): def _inline_composition( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -93,7 +113,12 @@ def _inline_composition( def _inline_composition( self, content_type: typing_extensions.Literal["multipart/form-data"], - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -106,7 +131,27 @@ def _inline_composition( def _inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -121,7 +166,27 @@ def _inline_composition( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -133,7 +198,27 @@ def _inline_composition( def _inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -148,7 +233,27 @@ def _inline_composition( def _inline_composition( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -235,7 +340,26 @@ class InlineComposition(BaseApi): def inline_composition( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -248,7 +372,12 @@ def inline_composition( def inline_composition( self, content_type: typing_extensions.Literal["multipart/form-data"], - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -261,7 +390,27 @@ def inline_composition( def inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -276,7 +425,27 @@ def inline_composition( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -288,7 +457,27 @@ def inline_composition( def inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -303,7 +492,27 @@ def inline_composition( def inline_composition( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -330,7 +539,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -343,7 +571,12 @@ def post( def post( self, content_type: typing_extensions.Literal["multipart/form-data"], - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -356,7 +589,27 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -371,7 +624,27 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -383,7 +656,27 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -398,7 +691,27 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.pyi index 4f53c70b38e..ffeb5814470 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/operation.pyi @@ -43,8 +43,8 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'compositionAtRoot': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - 'compositionInProperty': typing.Union[parameter_1.Parameter1.schema, dict, frozendict.frozendict, ], + 'compositionAtRoot': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + 'compositionInProperty': typing.Union[parameter_1.Parameter1.schema, dict, frozendict.frozendict], }, total=False ) @@ -57,7 +57,8 @@ class RequestQueryParameters: parameters = [ parameter_0.Parameter0, parameter_1.Parameter1, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/json", "multipart/form-data", ) @@ -68,7 +69,26 @@ class BaseApi(api_client.Api): def _inline_composition( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -81,7 +101,12 @@ class BaseApi(api_client.Api): def _inline_composition( self, content_type: typing_extensions.Literal["multipart/form-data"], - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -94,7 +119,27 @@ class BaseApi(api_client.Api): def _inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -109,7 +154,27 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -121,7 +186,27 @@ class BaseApi(api_client.Api): def _inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -136,7 +221,27 @@ class BaseApi(api_client.Api): def _inline_composition( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -223,7 +328,26 @@ class InlineComposition(BaseApi): def inline_composition( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -236,7 +360,12 @@ class InlineComposition(BaseApi): def inline_composition( self, content_type: typing_extensions.Literal["multipart/form-data"], - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -249,7 +378,27 @@ class InlineComposition(BaseApi): def inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -264,7 +413,27 @@ class InlineComposition(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -276,7 +445,27 @@ class InlineComposition(BaseApi): def inline_composition( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -291,7 +480,27 @@ class InlineComposition(BaseApi): def inline_composition( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -318,7 +527,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -331,7 +559,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"], - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -344,7 +577,27 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -359,7 +612,27 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -371,7 +644,27 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -386,7 +679,27 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.py index 2301aab9e54..70cc932e4aa 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.py @@ -51,7 +51,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.pyi index b0ef731914d..149c75ef7bd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_0/schema.pyi @@ -45,7 +45,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.py index 67d92b2e96b..5a60de8ddb8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.py @@ -62,7 +62,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -109,7 +109,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.pyi index e1623e707ab..9bca7029867 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/parameters/parameter_1/schema.pyi @@ -55,7 +55,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -102,7 +102,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.py index 2301aab9e54..70cc932e4aa 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.py @@ -51,7 +51,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.pyi index b0ef731914d..149c75ef7bd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/application_json/schema.pyi @@ -45,7 +45,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.py index 67d92b2e96b..5a60de8ddb8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.py @@ -62,7 +62,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -109,7 +109,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.pyi index e1623e707ab..9bca7029867 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/request_body/content/multipart_form_data/schema.pyi @@ -55,7 +55,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -102,7 +102,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.py index 2301aab9e54..70cc932e4aa 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.py @@ -51,7 +51,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.pyi index b0ef731914d..149c75ef7bd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/application_json/schema.pyi @@ -45,7 +45,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.py index 67d92b2e96b..5a60de8ddb8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.py @@ -62,7 +62,7 @@ class Schema_: def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -109,7 +109,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.pyi index e1623e707ab..9bca7029867 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_inline_composition/post/responses/response_200/content/multipart_form_data/schema.pyi @@ -55,7 +55,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'SomeProp': @@ -102,7 +102,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], someProp: typing.Union[Schema_.Properties.SomeProp, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.py index 31bf58a35fd..b47b836833f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.py @@ -47,7 +47,12 @@ class BaseApi(api_client.Api): def _json_form_data( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -58,7 +63,12 @@ def _json_form_data( def _json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -71,7 +81,12 @@ def _json_form_data( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -81,7 +96,12 @@ def _json_form_data( def _json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -94,7 +114,12 @@ def _json_form_data( def _json_form_data( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -164,7 +189,12 @@ class JsonFormData(BaseApi): def json_form_data( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -175,7 +205,12 @@ def json_form_data( def json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -188,7 +223,12 @@ def json_form_data( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -198,7 +238,12 @@ def json_form_data( def json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -211,7 +256,12 @@ def json_form_data( def json_form_data( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -234,7 +284,12 @@ class ApiForGet(BaseApi): def get( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -245,7 +300,12 @@ def get( def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -258,7 +318,12 @@ def get( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -268,7 +333,12 @@ def get( def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -281,7 +351,12 @@ def get( def get( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.pyi index e7d02b030b3..84f036668b2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/operation.pyi @@ -35,7 +35,12 @@ class BaseApi(api_client.Api): def _json_form_data( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -46,7 +51,12 @@ class BaseApi(api_client.Api): def _json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -59,7 +69,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -69,7 +84,12 @@ class BaseApi(api_client.Api): def _json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -82,7 +102,12 @@ class BaseApi(api_client.Api): def _json_form_data( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -152,7 +177,12 @@ class JsonFormData(BaseApi): def json_form_data( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -163,7 +193,12 @@ class JsonFormData(BaseApi): def json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -176,7 +211,12 @@ class JsonFormData(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -186,7 +226,12 @@ class JsonFormData(BaseApi): def json_form_data( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -199,7 +244,12 @@ class JsonFormData(BaseApi): def json_form_data( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -222,7 +272,12 @@ class ApiForGet(BaseApi): def get( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -233,7 +288,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -246,7 +306,12 @@ class ApiForGet(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -256,7 +321,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -269,7 +339,12 @@ class ApiForGet(BaseApi): def get( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.py index bb8a1a54f29..ecbd7df9184 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.py @@ -87,9 +87,9 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - param: typing.Union[Schema_.Properties.Param, str, ], - param2: typing.Union[Schema_.Properties.Param2, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + param: typing.Union[Schema_.Properties.Param, str], + param2: typing.Union[Schema_.Properties.Param2, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.pyi index 0e5e112f1af..e59883b32ce 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_form_data/get/request_body/content/application_x_www_form_urlencoded/schema.pyi @@ -86,9 +86,9 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - param: typing.Union[Schema_.Properties.Param, str, ], - param2: typing.Union[Schema_.Properties.Param2, str, ], + *args_: typing.Union[dict, frozendict.frozendict], + param: typing.Union[Schema_.Properties.Param, str], + param2: typing.Union[Schema_.Properties.Param2, str], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.py index 14651d06af3..d1bb730de1d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.py @@ -47,7 +47,12 @@ class BaseApi(api_client.Api): def _json_patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -58,7 +63,12 @@ def _json_patch( def _json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -71,7 +81,12 @@ def _json_patch( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -81,7 +96,12 @@ def _json_patch( def _json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -94,7 +114,12 @@ def _json_patch( def _json_patch( self, content_type: str = 'application/json-patch+json', - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -164,7 +189,12 @@ class JsonPatch(BaseApi): def json_patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -175,7 +205,12 @@ def json_patch( def json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -188,7 +223,12 @@ def json_patch( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -198,7 +238,12 @@ def json_patch( def json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -211,7 +256,12 @@ def json_patch( def json_patch( self, content_type: str = 'application/json-patch+json', - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -234,7 +284,12 @@ class ApiForPatch(BaseApi): def patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -245,7 +300,12 @@ def patch( def patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -258,7 +318,12 @@ def patch( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -268,7 +333,12 @@ def patch( def patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -281,7 +351,12 @@ def patch( def patch( self, content_type: str = 'application/json-patch+json', - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.pyi index 1f79152fee9..421847f7adf 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_patch/patch/operation.pyi @@ -35,7 +35,12 @@ class BaseApi(api_client.Api): def _json_patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -46,7 +51,12 @@ class BaseApi(api_client.Api): def _json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -59,7 +69,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -69,7 +84,12 @@ class BaseApi(api_client.Api): def _json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -82,7 +102,12 @@ class BaseApi(api_client.Api): def _json_patch( self, content_type: str = 'application/json-patch+json', - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -152,7 +177,12 @@ class JsonPatch(BaseApi): def json_patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -163,7 +193,12 @@ class JsonPatch(BaseApi): def json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -176,7 +211,12 @@ class JsonPatch(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -186,7 +226,12 @@ class JsonPatch(BaseApi): def json_patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -199,7 +244,12 @@ class JsonPatch(BaseApi): def json_patch( self, content_type: str = 'application/json-patch+json', - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -222,7 +272,12 @@ class ApiForPatch(BaseApi): def patch( self, content_type: typing_extensions.Literal["application/json-patch+json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -233,7 +288,12 @@ class ApiForPatch(BaseApi): def patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -246,7 +306,12 @@ class ApiForPatch(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -256,7 +321,12 @@ class ApiForPatch(BaseApi): def patch( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, @@ -269,7 +339,12 @@ class ApiForPatch(BaseApi): def patch( self, content_type: str = 'application/json-patch+json', - body: typing.Union[request_body.RequestBody.content["application/json-patch+json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json-patch+json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.py index 24a27541ca2..a95ab21766f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json; charset=utf-8", ) @@ -50,7 +51,26 @@ class BaseApi(api_client.Api): def _json_with_charset( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +82,26 @@ def _json_with_charset( def _json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +115,26 @@ def _json_with_charset( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +145,26 @@ def _json_with_charset( def _json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +178,26 @@ def _json_with_charset( def _json_with_charset( self, content_type: str = 'application/json; charset=utf-8', - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +271,26 @@ class JsonWithCharset(BaseApi): def json_with_charset( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +302,26 @@ def json_with_charset( def json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -201,7 +335,26 @@ def json_with_charset( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -212,7 +365,26 @@ def json_with_charset( def json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -226,7 +398,26 @@ def json_with_charset( def json_with_charset( self, content_type: str = 'application/json; charset=utf-8', - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +442,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +473,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -277,7 +506,26 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -288,7 +536,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -302,7 +569,26 @@ def post( def post( self, content_type: str = 'application/json; charset=utf-8', - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.pyi index 8214521cba2..cc20fa5601b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_json_with_charset/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json; charset=utf-8", ) @@ -38,7 +39,26 @@ class BaseApi(api_client.Api): def _json_with_charset( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +70,26 @@ class BaseApi(api_client.Api): def _json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +103,26 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +133,26 @@ class BaseApi(api_client.Api): def _json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +166,26 @@ class BaseApi(api_client.Api): def _json_with_charset( self, content_type: str = 'application/json; charset=utf-8', - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +259,26 @@ class JsonWithCharset(BaseApi): def json_with_charset( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +290,26 @@ class JsonWithCharset(BaseApi): def json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -189,7 +323,26 @@ class JsonWithCharset(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +353,26 @@ class JsonWithCharset(BaseApi): def json_with_charset( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -214,7 +386,26 @@ class JsonWithCharset(BaseApi): def json_with_charset( self, content_type: str = 'application/json; charset=utf-8', - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +430,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json; charset=utf-8"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +461,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -265,7 +494,26 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +524,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -290,7 +557,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json; charset=utf-8', - body: typing.Union[request_body.RequestBody.content["application/json; charset=utf-8"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json; charset=utf-8"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.py index 6fd264958d8..aaece5bb85d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.py @@ -44,6 +44,7 @@ '200': response_200.ResponseFor200, '202': response_202.ResponseFor202, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.pyi index 23b7c96633c..1afde192d1d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_response_bodies/get/operation.pyi @@ -30,6 +30,7 @@ from .responses import ( response_202, ) + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.py index 290b9abd123..a1856b647c8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.py @@ -50,6 +50,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.pyi index 3c604da0890..335438a4706 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_multiple_securities/get/operation.pyi @@ -32,6 +32,7 @@ from .security import ( security_requirement_object_2, ) + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.py index da6119c4198..9a1ac35c768 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.py @@ -39,7 +39,7 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, ], + 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.pyi index 2beeda475ae..69a4fa58762 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/operation.pyi @@ -38,7 +38,7 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, ], + 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.py index 4012b2922bf..1b18c38ca91 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.py @@ -70,7 +70,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.pyi index 6db9e579aa4..2dd718344d3 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_obj_in_query/get/parameters/parameter_0/schema.pyi @@ -69,7 +69,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], keyword: typing.Union[Schema_.Properties.Keyword, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.py index 447653dad1d..7a8466a7e46 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.py @@ -61,11 +61,11 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - '1': typing.Union[parameter_0.Parameter0.schema, str, ], - 'aB': typing.Union[parameter_1.Parameter1.schema, str, ], - 'Ab': typing.Union[parameter_2.Parameter2.schema, str, ], - 'self': typing.Union[parameter_3.Parameter3.schema, str, ], - 'A-B': typing.Union[parameter_4.Parameter4.schema, str, ], + '1': typing.Union[parameter_0.Parameter0.schema, str], + 'aB': typing.Union[parameter_1.Parameter1.schema, str], + 'Ab': typing.Union[parameter_2.Parameter2.schema, str], + 'self': typing.Union[parameter_3.Parameter3.schema, str], + 'A-B': typing.Union[parameter_4.Parameter4.schema, str], }, total=False ) @@ -92,10 +92,10 @@ class RequestHeaderParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - '1': typing.Union[parameter_5.Parameter5.schema, str, ], - 'aB': typing.Union[parameter_6.Parameter6.schema, str, ], - 'self': typing.Union[parameter_7.Parameter7.schema, str, ], - 'A-B': typing.Union[parameter_8.Parameter8.schema, str, ], + '1': typing.Union[parameter_5.Parameter5.schema, str], + 'aB': typing.Union[parameter_6.Parameter6.schema, str], + 'self': typing.Union[parameter_7.Parameter7.schema, str], + 'A-B': typing.Union[parameter_8.Parameter8.schema, str], }, total=False ) @@ -116,11 +116,11 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - '1': typing.Union[parameter_9.Parameter9.schema, str, ], - 'aB': typing.Union[parameter_10.Parameter10.schema, str, ], - 'Ab': typing.Union[parameter_11.Parameter11.schema, str, ], - 'self': typing.Union[parameter_12.Parameter12.schema, str, ], - 'A-B': typing.Union[parameter_13.Parameter13.schema, str, ], + '1': typing.Union[parameter_9.Parameter9.schema, str], + 'aB': typing.Union[parameter_10.Parameter10.schema, str], + 'Ab': typing.Union[parameter_11.Parameter11.schema, str], + 'self': typing.Union[parameter_12.Parameter12.schema, str], + 'A-B': typing.Union[parameter_13.Parameter13.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -152,11 +152,11 @@ class RequestCookieParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - '1': typing.Union[parameter_14.Parameter14.schema, str, ], - 'aB': typing.Union[parameter_15.Parameter15.schema, str, ], - 'Ab': typing.Union[parameter_16.Parameter16.schema, str, ], - 'self': typing.Union[parameter_17.Parameter17.schema, str, ], - 'A-B': typing.Union[parameter_18.Parameter18.schema, str, ], + '1': typing.Union[parameter_14.Parameter14.schema, str], + 'aB': typing.Union[parameter_15.Parameter15.schema, str], + 'Ab': typing.Union[parameter_16.Parameter16.schema, str], + 'self': typing.Union[parameter_17.Parameter17.schema, str], + 'A-B': typing.Union[parameter_18.Parameter18.schema, str], }, total=False ) @@ -183,6 +183,7 @@ class Params(RequiredParams, OptionalParams): _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -193,7 +194,26 @@ class BaseApi(api_client.Api): def _parameter_collisions( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -209,7 +229,26 @@ def _parameter_collisions( def _parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -227,7 +266,26 @@ def _parameter_collisions( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -242,7 +300,26 @@ def _parameter_collisions( def _parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -260,7 +337,26 @@ def _parameter_collisions( def _parameter_collisions( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -370,7 +466,26 @@ class ParameterCollisions(BaseApi): def parameter_collisions( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -386,7 +501,26 @@ def parameter_collisions( def parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -404,7 +538,26 @@ def parameter_collisions( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -419,7 +572,26 @@ def parameter_collisions( def parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -437,7 +609,26 @@ def parameter_collisions( def parameter_collisions( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -470,7 +661,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -486,7 +696,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -504,7 +733,26 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -519,7 +767,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -537,7 +804,26 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.pyi index 03cb6020dbd..dd19192146c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_parameter_collisions1_abab_self_ab/post/operation.pyi @@ -60,11 +60,11 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - '1': typing.Union[parameter_0.Parameter0.schema, str, ], - 'aB': typing.Union[parameter_1.Parameter1.schema, str, ], - 'Ab': typing.Union[parameter_2.Parameter2.schema, str, ], - 'self': typing.Union[parameter_3.Parameter3.schema, str, ], - 'A-B': typing.Union[parameter_4.Parameter4.schema, str, ], + '1': typing.Union[parameter_0.Parameter0.schema, str], + 'aB': typing.Union[parameter_1.Parameter1.schema, str], + 'Ab': typing.Union[parameter_2.Parameter2.schema, str], + 'self': typing.Union[parameter_3.Parameter3.schema, str], + 'A-B': typing.Union[parameter_4.Parameter4.schema, str], }, total=False ) @@ -91,10 +91,10 @@ class RequestHeaderParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - '1': typing.Union[parameter_5.Parameter5.schema, str, ], - 'aB': typing.Union[parameter_6.Parameter6.schema, str, ], - 'self': typing.Union[parameter_7.Parameter7.schema, str, ], - 'A-B': typing.Union[parameter_8.Parameter8.schema, str, ], + '1': typing.Union[parameter_5.Parameter5.schema, str], + 'aB': typing.Union[parameter_6.Parameter6.schema, str], + 'self': typing.Union[parameter_7.Parameter7.schema, str], + 'A-B': typing.Union[parameter_8.Parameter8.schema, str], }, total=False ) @@ -115,11 +115,11 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - '1': typing.Union[parameter_9.Parameter9.schema, str, ], - 'aB': typing.Union[parameter_10.Parameter10.schema, str, ], - 'Ab': typing.Union[parameter_11.Parameter11.schema, str, ], - 'self': typing.Union[parameter_12.Parameter12.schema, str, ], - 'A-B': typing.Union[parameter_13.Parameter13.schema, str, ], + '1': typing.Union[parameter_9.Parameter9.schema, str], + 'aB': typing.Union[parameter_10.Parameter10.schema, str], + 'Ab': typing.Union[parameter_11.Parameter11.schema, str], + 'self': typing.Union[parameter_12.Parameter12.schema, str], + 'A-B': typing.Union[parameter_13.Parameter13.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -151,11 +151,11 @@ class RequestCookieParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - '1': typing.Union[parameter_14.Parameter14.schema, str, ], - 'aB': typing.Union[parameter_15.Parameter15.schema, str, ], - 'Ab': typing.Union[parameter_16.Parameter16.schema, str, ], - 'self': typing.Union[parameter_17.Parameter17.schema, str, ], - 'A-B': typing.Union[parameter_18.Parameter18.schema, str, ], + '1': typing.Union[parameter_14.Parameter14.schema, str], + 'aB': typing.Union[parameter_15.Parameter15.schema, str], + 'Ab': typing.Union[parameter_16.Parameter16.schema, str], + 'self': typing.Union[parameter_17.Parameter17.schema, str], + 'A-B': typing.Union[parameter_18.Parameter18.schema, str], }, total=False ) @@ -171,7 +171,8 @@ class RequestCookieParameters: parameter_16.Parameter16, parameter_17.Parameter17, parameter_18.Parameter18, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/json", ) @@ -181,7 +182,26 @@ class BaseApi(api_client.Api): def _parameter_collisions( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -197,7 +217,26 @@ class BaseApi(api_client.Api): def _parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -215,7 +254,26 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -230,7 +288,26 @@ class BaseApi(api_client.Api): def _parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -248,7 +325,26 @@ class BaseApi(api_client.Api): def _parameter_collisions( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -358,7 +454,26 @@ class ParameterCollisions(BaseApi): def parameter_collisions( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -374,7 +489,26 @@ class ParameterCollisions(BaseApi): def parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -392,7 +526,26 @@ class ParameterCollisions(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -407,7 +560,26 @@ class ParameterCollisions(BaseApi): def parameter_collisions( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -425,7 +597,26 @@ class ParameterCollisions(BaseApi): def parameter_collisions( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -458,7 +649,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -474,7 +684,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -492,7 +721,26 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -507,7 +755,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -525,7 +792,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, query_params: RequestQueryParameters.Params = frozendict.frozendict(), header_params: RequestHeaderParameters.Params = frozendict.frozendict(), path_params: RequestPathParameters.Params = frozendict.frozendict(), diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.py index cd88df82981..6d8b1f401b0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.py @@ -37,7 +37,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -69,6 +69,7 @@ class Params(RequiredParams, OptionalParams): _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -79,7 +80,12 @@ class BaseApi(api_client.Api): def _upload_file_with_required_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -93,7 +99,12 @@ def _upload_file_with_required_file( def _upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -109,7 +120,12 @@ def _upload_file_with_required_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -122,7 +138,12 @@ def _upload_file_with_required_file( def _upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -138,7 +159,12 @@ def _upload_file_with_required_file( def _upload_file_with_required_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -232,7 +258,12 @@ class UploadFileWithRequiredFile(BaseApi): def upload_file_with_required_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -246,7 +277,12 @@ def upload_file_with_required_file( def upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -262,7 +298,12 @@ def upload_file_with_required_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -275,7 +316,12 @@ def upload_file_with_required_file( def upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -291,7 +337,12 @@ def upload_file_with_required_file( def upload_file_with_required_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -320,7 +371,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -334,7 +390,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -350,7 +411,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -363,7 +429,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -379,7 +450,12 @@ def post( def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.pyi index 4424ad35668..4af03d2216e 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/operation.pyi @@ -36,7 +36,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -53,7 +53,8 @@ class RequestPathParameters: parameters = [ parameter_0.Parameter0, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/json", ) @@ -63,7 +64,12 @@ class BaseApi(api_client.Api): def _upload_file_with_required_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -77,7 +83,12 @@ class BaseApi(api_client.Api): def _upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -93,7 +104,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -106,7 +122,12 @@ class BaseApi(api_client.Api): def _upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -122,7 +143,12 @@ class BaseApi(api_client.Api): def _upload_file_with_required_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -216,7 +242,12 @@ class UploadFileWithRequiredFile(BaseApi): def upload_file_with_required_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -230,7 +261,12 @@ class UploadFileWithRequiredFile(BaseApi): def upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -246,7 +282,12 @@ class UploadFileWithRequiredFile(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -259,7 +300,12 @@ class UploadFileWithRequiredFile(BaseApi): def upload_file_with_required_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -275,7 +321,12 @@ class UploadFileWithRequiredFile(BaseApi): def upload_file_with_required_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -304,7 +355,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -318,7 +374,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -334,7 +395,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -347,7 +413,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -363,7 +434,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.py index b50378e4c3c..15e7030b269 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.py @@ -85,8 +85,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.pyi index 8a45da14b6c..2c066fa8359 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/request_body/content/multipart_form_data/schema.pyi @@ -84,8 +84,8 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + requiredFile: typing.Union[Schema_.Properties.RequiredFile, bytes, io.FileIO, io.BufferedReader], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.py index db8cdfcb29f..f26976c93b7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.py @@ -35,7 +35,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'someParam': typing.Union[parameter_0.Parameter0.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + 'someParam': typing.Union[parameter_0.Parameter0.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], } ) OptionalParams = typing_extensions.TypedDict( @@ -63,6 +63,7 @@ class Params(RequiredParams, OptionalParams): _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.pyi index 0668535c103..b5ba3d8a6d9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_query_param_with_json_content_type/get/operation.pyi @@ -34,7 +34,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'someParam': typing.Union[parameter_0.Parameter0.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + 'someParam': typing.Union[parameter_0.Parameter0.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], } ) OptionalParams = typing_extensions.TypedDict( @@ -51,7 +51,8 @@ class RequestQueryParameters: parameters = [ parameter_0.Parameter0, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.py index ccd568af821..a8d2c669ab0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.py @@ -39,7 +39,7 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.pyi index f9a9db9cce5..9125e5b1272 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_ref_obj_in_query/get/operation.pyi @@ -38,7 +38,7 @@ class RequestQueryParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + 'mapBean': typing.Union[parameter_0.Parameter0.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.py index 8ba5c1edeb5..d53932065bc 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,12 @@ class BaseApi(api_client.Api): def _array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +68,12 @@ def _array_of_enums( def _array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +87,12 @@ def _array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +103,12 @@ def _array_of_enums( def _array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +122,12 @@ def _array_of_enums( def _array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +201,12 @@ class ArrayOfEnums(BaseApi): def array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +218,12 @@ def array_of_enums( def array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -201,7 +237,12 @@ def array_of_enums( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -212,7 +253,12 @@ def array_of_enums( def array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -226,7 +272,12 @@ def array_of_enums( def array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +302,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +319,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -277,7 +338,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -288,7 +354,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -302,7 +373,12 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.pyi index f290eca7595..cad12eff805 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_array_of_enums/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,12 @@ class BaseApi(api_client.Api): def _array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +56,12 @@ class BaseApi(api_client.Api): def _array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +91,12 @@ class BaseApi(api_client.Api): def _array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +110,12 @@ class BaseApi(api_client.Api): def _array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +189,12 @@ class ArrayOfEnums(BaseApi): def array_of_enums( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +206,12 @@ class ArrayOfEnums(BaseApi): def array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -189,7 +225,12 @@ class ArrayOfEnums(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +241,12 @@ class ArrayOfEnums(BaseApi): def array_of_enums( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -214,7 +260,12 @@ class ArrayOfEnums(BaseApi): def array_of_enums( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +290,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +307,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -265,7 +326,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +342,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -290,7 +361,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.py index 70e83d10ae7..59d9a621384 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,12 @@ class BaseApi(api_client.Api): def _array_model( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +68,12 @@ def _array_model( def _array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +87,12 @@ def _array_model( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +103,12 @@ def _array_model( def _array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +122,12 @@ def _array_model( def _array_model( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +200,12 @@ class ArrayModel(BaseApi): def array_model( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -186,7 +217,12 @@ def array_model( def array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +236,12 @@ def array_model( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +252,12 @@ def array_model( def array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -225,7 +271,12 @@ def array_model( def array_model( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +301,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -262,7 +318,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +337,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -287,7 +353,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -301,7 +372,12 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.pyi index 72a47ee1ca1..052d1716f40 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_arraymodel/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,12 @@ class BaseApi(api_client.Api): def _array_model( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +56,12 @@ class BaseApi(api_client.Api): def _array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +91,12 @@ class BaseApi(api_client.Api): def _array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +110,12 @@ class BaseApi(api_client.Api): def _array_model( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -162,7 +188,12 @@ class ArrayModel(BaseApi): def array_model( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +205,12 @@ class ArrayModel(BaseApi): def array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +224,12 @@ class ArrayModel(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +240,12 @@ class ArrayModel(BaseApi): def array_model( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +259,12 @@ class ArrayModel(BaseApi): def array_model( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -238,7 +289,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +306,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -264,7 +325,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -275,7 +341,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -289,7 +360,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + list, + tuple + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.py index 56f5c70fd93..af01644e35a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,11 @@ class BaseApi(api_client.Api): def _boolean( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +67,11 @@ def _boolean( def _boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +85,11 @@ def _boolean( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +100,11 @@ def _boolean( def _boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +118,11 @@ def _boolean( def _boolean( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +195,11 @@ class Boolean(BaseApi): def boolean( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -186,7 +211,11 @@ def boolean( def boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +229,11 @@ def boolean( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +244,11 @@ def boolean( def boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -225,7 +262,11 @@ def boolean( def boolean( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +291,11 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -262,7 +307,11 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +325,11 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -287,7 +340,11 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -301,7 +358,11 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.pyi index d1d3b3af899..a58cfc277b5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_boolean/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,11 @@ class BaseApi(api_client.Api): def _boolean( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +55,11 @@ class BaseApi(api_client.Api): def _boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +73,11 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +88,11 @@ class BaseApi(api_client.Api): def _boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +106,11 @@ class BaseApi(api_client.Api): def _boolean( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -162,7 +183,11 @@ class Boolean(BaseApi): def boolean( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +199,11 @@ class Boolean(BaseApi): def boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +217,11 @@ class Boolean(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +232,11 @@ class Boolean(BaseApi): def boolean( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +250,11 @@ class Boolean(BaseApi): def boolean( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -238,7 +279,11 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +295,11 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -264,7 +313,11 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -275,7 +328,11 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -289,7 +346,11 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, bool, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + bool + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.py index 384950899a2..1ec3f7cd44c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,26 @@ class BaseApi(api_client.Api): def _composed_one_of_different_types( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +82,26 @@ def _composed_one_of_different_types( def _composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +115,26 @@ def _composed_one_of_different_types( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +145,26 @@ def _composed_one_of_different_types( def _composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +178,26 @@ def _composed_one_of_different_types( def _composed_one_of_different_types( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +270,26 @@ class ComposedOneOfDifferentTypes(BaseApi): def composed_one_of_different_types( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -186,7 +301,26 @@ def composed_one_of_different_types( def composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +334,26 @@ def composed_one_of_different_types( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +364,26 @@ def composed_one_of_different_types( def composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -225,7 +397,26 @@ def composed_one_of_different_types( def composed_one_of_different_types( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +441,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -262,7 +472,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +505,26 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -287,7 +535,26 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -301,7 +568,26 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.pyi index 478340be15c..43f3b9a2a73 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,26 @@ class BaseApi(api_client.Api): def _composed_one_of_different_types( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +70,26 @@ class BaseApi(api_client.Api): def _composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +103,26 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +133,26 @@ class BaseApi(api_client.Api): def _composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +166,26 @@ class BaseApi(api_client.Api): def _composed_one_of_different_types( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -162,7 +258,26 @@ class ComposedOneOfDifferentTypes(BaseApi): def composed_one_of_different_types( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +289,26 @@ class ComposedOneOfDifferentTypes(BaseApi): def composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +322,26 @@ class ComposedOneOfDifferentTypes(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +352,26 @@ class ComposedOneOfDifferentTypes(BaseApi): def composed_one_of_different_types( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +385,26 @@ class ComposedOneOfDifferentTypes(BaseApi): def composed_one_of_different_types( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -238,7 +429,26 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +460,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -264,7 +493,26 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -275,7 +523,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -289,7 +556,26 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.py index d6d5711590e..4438de9e131 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,12 @@ class BaseApi(api_client.Api): def _string_enum( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +68,12 @@ def _string_enum( def _string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +87,12 @@ def _string_enum( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +103,12 @@ def _string_enum( def _string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +122,12 @@ def _string_enum( def _string_enum( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +200,12 @@ class StringEnum(BaseApi): def string_enum( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -186,7 +217,12 @@ def string_enum( def string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +236,12 @@ def string_enum( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +252,12 @@ def string_enum( def string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -225,7 +271,12 @@ def string_enum( def string_enum( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +301,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -262,7 +318,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +337,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -287,7 +353,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -301,7 +372,12 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.pyi index 19f30023d6b..a172dcc8476 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_enum/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,12 @@ class BaseApi(api_client.Api): def _string_enum( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +56,12 @@ class BaseApi(api_client.Api): def _string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +91,12 @@ class BaseApi(api_client.Api): def _string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +110,12 @@ class BaseApi(api_client.Api): def _string_enum( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -162,7 +188,12 @@ class StringEnum(BaseApi): def string_enum( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +205,12 @@ class StringEnum(BaseApi): def string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +224,12 @@ class StringEnum(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +240,12 @@ class StringEnum(BaseApi): def string_enum( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +259,12 @@ class StringEnum(BaseApi): def string_enum( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -238,7 +289,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +306,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -264,7 +325,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -275,7 +341,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -289,7 +360,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, None, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + None, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.py index cfa6d141adb..0ac1ac7596f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -49,7 +50,25 @@ class BaseApi(api_client.Api): @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -61,7 +80,25 @@ def _mammal( @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -74,7 +111,25 @@ def _mammal( @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -86,7 +141,25 @@ def _mammal( @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -100,7 +173,25 @@ def _mammal( def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -175,7 +266,25 @@ class Mammal(BaseApi): @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -187,7 +296,25 @@ def mammal( @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -200,7 +327,25 @@ def mammal( @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -212,7 +357,25 @@ def mammal( @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -226,7 +389,25 @@ def mammal( def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -251,7 +432,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -263,7 +462,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -276,7 +493,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -288,7 +523,25 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -302,7 +555,25 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.pyi index 798c6ceaf9d..70a191c8b4d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_mammal/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -37,7 +38,25 @@ class BaseApi(api_client.Api): @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -49,7 +68,25 @@ class BaseApi(api_client.Api): @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -62,7 +99,25 @@ class BaseApi(api_client.Api): @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -74,7 +129,25 @@ class BaseApi(api_client.Api): @typing.overload def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -88,7 +161,25 @@ class BaseApi(api_client.Api): def _mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -163,7 +254,25 @@ class Mammal(BaseApi): @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -175,7 +284,25 @@ class Mammal(BaseApi): @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -188,7 +315,25 @@ class Mammal(BaseApi): @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -200,7 +345,25 @@ class Mammal(BaseApi): @typing.overload def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -214,7 +377,25 @@ class Mammal(BaseApi): def mammal( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -239,7 +420,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -251,7 +450,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -264,7 +481,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -276,7 +511,25 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -290,7 +543,25 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict, + str, + datetime.date, + datetime.datetime, + uuid.UUID, + int, + float, + decimal.Decimal, + bool, + None, + list, + tuple, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.py index b2f13befea0..512a6e33b84 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,13 @@ class BaseApi(api_client.Api): def _number_with_validations( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +69,13 @@ def _number_with_validations( def _number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +89,13 @@ def _number_with_validations( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +106,13 @@ def _number_with_validations( def _number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +126,13 @@ def _number_with_validations( def _number_with_validations( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +205,13 @@ class NumberWithValidations(BaseApi): def number_with_validations( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -186,7 +223,13 @@ def number_with_validations( def number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +243,13 @@ def number_with_validations( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +260,13 @@ def number_with_validations( def number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -225,7 +280,13 @@ def number_with_validations( def number_with_validations( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +311,13 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -262,7 +329,13 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +349,13 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -287,7 +366,13 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -301,7 +386,13 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.pyi index 11c3dd7c5f9..12400dc8648 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_number/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,13 @@ class BaseApi(api_client.Api): def _number_with_validations( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +57,13 @@ class BaseApi(api_client.Api): def _number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +77,13 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +94,13 @@ class BaseApi(api_client.Api): def _number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +114,13 @@ class BaseApi(api_client.Api): def _number_with_validations( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -162,7 +193,13 @@ class NumberWithValidations(BaseApi): def number_with_validations( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +211,13 @@ class NumberWithValidations(BaseApi): def number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +231,13 @@ class NumberWithValidations(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +248,13 @@ class NumberWithValidations(BaseApi): def number_with_validations( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +268,13 @@ class NumberWithValidations(BaseApi): def number_with_validations( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -238,7 +299,13 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +317,13 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -264,7 +337,13 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -275,7 +354,13 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -289,7 +374,13 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + decimal.Decimal, + int, + float + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.py index c631ebbfda1..b04426f1abb 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,12 @@ class BaseApi(api_client.Api): def _object_model_with_ref_props( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +68,12 @@ def _object_model_with_ref_props( def _object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +87,12 @@ def _object_model_with_ref_props( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +103,12 @@ def _object_model_with_ref_props( def _object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +122,12 @@ def _object_model_with_ref_props( def _object_model_with_ref_props( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +200,12 @@ class ObjectModelWithRefProps(BaseApi): def object_model_with_ref_props( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -186,7 +217,12 @@ def object_model_with_ref_props( def object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +236,12 @@ def object_model_with_ref_props( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +252,12 @@ def object_model_with_ref_props( def object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -225,7 +271,12 @@ def object_model_with_ref_props( def object_model_with_ref_props( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +301,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -262,7 +318,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +337,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -287,7 +353,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -301,7 +372,12 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.pyi index f8a9890c7dd..7a88459f01b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_object_model_with_ref_props/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,12 @@ class BaseApi(api_client.Api): def _object_model_with_ref_props( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +56,12 @@ class BaseApi(api_client.Api): def _object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +91,12 @@ class BaseApi(api_client.Api): def _object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +110,12 @@ class BaseApi(api_client.Api): def _object_model_with_ref_props( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -162,7 +188,12 @@ class ObjectModelWithRefProps(BaseApi): def object_model_with_ref_props( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +205,12 @@ class ObjectModelWithRefProps(BaseApi): def object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +224,12 @@ class ObjectModelWithRefProps(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +240,12 @@ class ObjectModelWithRefProps(BaseApi): def object_model_with_ref_props( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +259,12 @@ class ObjectModelWithRefProps(BaseApi): def object_model_with_ref_props( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -238,7 +289,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +306,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -264,7 +325,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -275,7 +341,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -289,7 +360,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.py index c0126e5baa2..a3471ba46bc 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,11 @@ class BaseApi(api_client.Api): def _string( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +67,11 @@ def _string( def _string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +85,11 @@ def _string( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +100,11 @@ def _string( def _string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +118,11 @@ def _string( def _string( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +195,11 @@ class String(BaseApi): def string( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -186,7 +211,11 @@ def string( def string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +229,11 @@ def string( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -211,7 +244,11 @@ def string( def string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -225,7 +262,11 @@ def string( def string( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +291,11 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -262,7 +307,11 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +325,11 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -287,7 +340,11 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -301,7 +358,11 @@ def post( def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.pyi index 153399a3f4d..c3f6d70aaf4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_refs_string/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,11 @@ class BaseApi(api_client.Api): def _string( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +55,11 @@ class BaseApi(api_client.Api): def _string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +73,11 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +88,11 @@ class BaseApi(api_client.Api): def _string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +106,11 @@ class BaseApi(api_client.Api): def _string( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -162,7 +183,11 @@ class String(BaseApi): def string( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -174,7 +199,11 @@ class String(BaseApi): def string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -188,7 +217,11 @@ class String(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -199,7 +232,11 @@ class String(BaseApi): def string( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -213,7 +250,11 @@ class String(BaseApi): def string( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -238,7 +279,11 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/json"] = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -250,7 +295,11 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -264,7 +313,11 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -275,7 +328,11 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -289,7 +346,11 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/json', - body: typing.Union[request_body.RequestBody.content["application/json"].schema, str, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + schemas.Unset, + str + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.py index e350647ff64..7d042546321 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.py @@ -39,6 +39,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", "application/xml", diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.pyi index 3ff88969998..7a55f3714b6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_response_without_schema/get/operation.pyi @@ -27,6 +27,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 + _all_accept_content_types = ( "application/json", "application/xml", diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.py index 90c93e12c79..bce3d1bb925 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.py @@ -41,12 +41,12 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'pipe': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], - 'ioutil': typing.Union[parameter_1.Parameter1.schema, list, tuple, ], - 'http': typing.Union[parameter_2.Parameter2.schema, list, tuple, ], - 'url': typing.Union[parameter_3.Parameter3.schema, list, tuple, ], - 'context': typing.Union[parameter_4.Parameter4.schema, list, tuple, ], - 'refParam': typing.Union[parameter_5.Parameter5.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + 'pipe': typing.Union[parameter_0.Parameter0.schema, list, tuple], + 'ioutil': typing.Union[parameter_1.Parameter1.schema, list, tuple], + 'http': typing.Union[parameter_2.Parameter2.schema, list, tuple], + 'url': typing.Union[parameter_3.Parameter3.schema, list, tuple], + 'context': typing.Union[parameter_4.Parameter4.schema, list, tuple], + 'refParam': typing.Union[parameter_5.Parameter5.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.pyi index c499fd02ae6..a14eef23c0f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/operation.pyi @@ -40,12 +40,12 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'pipe': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], - 'ioutil': typing.Union[parameter_1.Parameter1.schema, list, tuple, ], - 'http': typing.Union[parameter_2.Parameter2.schema, list, tuple, ], - 'url': typing.Union[parameter_3.Parameter3.schema, list, tuple, ], - 'context': typing.Union[parameter_4.Parameter4.schema, list, tuple, ], - 'refParam': typing.Union[parameter_5.Parameter5.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], + 'pipe': typing.Union[parameter_0.Parameter0.schema, list, tuple], + 'ioutil': typing.Union[parameter_1.Parameter1.schema, list, tuple], + 'http': typing.Union[parameter_2.Parameter2.schema, list, tuple], + 'url': typing.Union[parameter_3.Parameter3.schema, list, tuple], + 'context': typing.Union[parameter_4.Parameter4.schema, list, tuple], + 'refParam': typing.Union[parameter_5.Parameter5.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.py index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.py @@ -36,10 +36,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.pyi index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_0/schema.pyi @@ -36,10 +36,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.py index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.py @@ -36,10 +36,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.pyi index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_1/schema.pyi @@ -36,10 +36,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.py index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.py @@ -36,10 +36,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.pyi index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_2/schema.pyi @@ -36,10 +36,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.py index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.py @@ -36,10 +36,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.pyi index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_3/schema.pyi @@ -36,10 +36,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.py index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.py @@ -36,10 +36,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.pyi index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_test_query_paramters/put/parameters/parameter_4/schema.pyi @@ -36,10 +36,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.py index fd17cdfd0f5..c301babed63 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/octet-stream", ) @@ -49,7 +50,12 @@ class BaseApi(api_client.Api): @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -61,7 +67,12 @@ def _upload_download_file( @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -74,7 +85,12 @@ def _upload_download_file( @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -86,7 +102,12 @@ def _upload_download_file( @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -100,7 +121,12 @@ def _upload_download_file( def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/octet-stream', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -176,7 +202,12 @@ class UploadDownloadFile(BaseApi): @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -188,7 +219,12 @@ def upload_download_file( @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -201,7 +237,12 @@ def upload_download_file( @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -213,7 +254,12 @@ def upload_download_file( @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -227,7 +273,12 @@ def upload_download_file( def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/octet-stream', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -252,7 +303,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -264,7 +320,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -277,7 +338,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -289,7 +355,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -303,7 +374,12 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/octet-stream', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.pyi index 07d6ca72eb5..a3a65851b28 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_download_file/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/octet-stream", ) @@ -37,7 +38,12 @@ class BaseApi(api_client.Api): @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -49,7 +55,12 @@ class BaseApi(api_client.Api): @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -62,7 +73,12 @@ class BaseApi(api_client.Api): @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -74,7 +90,12 @@ class BaseApi(api_client.Api): @typing.overload def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -88,7 +109,12 @@ class BaseApi(api_client.Api): def _upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/octet-stream', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -164,7 +190,12 @@ class UploadDownloadFile(BaseApi): @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -176,7 +207,12 @@ class UploadDownloadFile(BaseApi): @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -189,7 +225,12 @@ class UploadDownloadFile(BaseApi): @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -201,7 +242,12 @@ class UploadDownloadFile(BaseApi): @typing.overload def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -215,7 +261,12 @@ class UploadDownloadFile(BaseApi): def upload_download_file( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/octet-stream', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -240,7 +291,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: typing_extensions.Literal["application/octet-stream"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -252,7 +308,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -265,7 +326,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -277,7 +343,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -291,7 +362,12 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/octet-stream"].schema, bytes, io.FileIO, io.BufferedReader, ], + body: typing.Union[ + request_body.RequestBody.content["application/octet-stream"].schema, + bytes, + io.FileIO, + io.BufferedReader + ], content_type: str = 'application/octet-stream', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.py index ac4fda65062..eda9a9ad46d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,12 @@ class BaseApi(api_client.Api): def _upload_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +68,12 @@ def _upload_file( def _upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +87,12 @@ def _upload_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +103,12 @@ def _upload_file( def _upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +122,12 @@ def _upload_file( def _upload_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +201,12 @@ class UploadFile(BaseApi): def upload_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +218,12 @@ def upload_file( def upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -201,7 +237,12 @@ def upload_file( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -212,7 +253,12 @@ def upload_file( def upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -226,7 +272,12 @@ def upload_file( def upload_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +302,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +319,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -277,7 +338,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -288,7 +354,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -302,7 +373,12 @@ def post( def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.pyi index 474b175cc2e..8542804ef7a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,12 @@ class BaseApi(api_client.Api): def _upload_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +56,12 @@ class BaseApi(api_client.Api): def _upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +91,12 @@ class BaseApi(api_client.Api): def _upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +110,12 @@ class BaseApi(api_client.Api): def _upload_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +189,12 @@ class UploadFile(BaseApi): def upload_file( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +206,12 @@ class UploadFile(BaseApi): def upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -189,7 +225,12 @@ class UploadFile(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +241,12 @@ class UploadFile(BaseApi): def upload_file( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -214,7 +260,12 @@ class UploadFile(BaseApi): def upload_file( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +290,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +307,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -265,7 +326,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +342,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -290,7 +361,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.py index a703b6b07d6..1f2d7770571 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.py @@ -85,8 +85,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.pyi index 582eafdbff9..ec9e8789a41 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_file/post/request_body/content/multipart_form_data/schema.pyi @@ -84,8 +84,8 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, ], + *args_: typing.Union[dict, frozendict.frozendict], + file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.py index 3336c1b2139..00dc8f8edc9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.py @@ -40,6 +40,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -50,7 +51,12 @@ class BaseApi(api_client.Api): def _upload_files( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -62,7 +68,12 @@ def _upload_files( def _upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -76,7 +87,12 @@ def _upload_files( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -87,7 +103,12 @@ def _upload_files( def _upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -101,7 +122,12 @@ def _upload_files( def _upload_files( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +201,12 @@ class UploadFiles(BaseApi): def upload_files( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -187,7 +218,12 @@ def upload_files( def upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -201,7 +237,12 @@ def upload_files( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -212,7 +253,12 @@ def upload_files( def upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -226,7 +272,12 @@ def upload_files( def upload_files( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +302,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +319,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -277,7 +338,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -288,7 +354,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -302,7 +373,12 @@ def post( def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.pyi index e9b5bedbd90..ae1d93cada0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from . import request_body + _all_accept_content_types = ( "application/json", ) @@ -38,7 +39,12 @@ class BaseApi(api_client.Api): def _upload_files( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -50,7 +56,12 @@ class BaseApi(api_client.Api): def _upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -64,7 +75,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -75,7 +91,12 @@ class BaseApi(api_client.Api): def _upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -89,7 +110,12 @@ class BaseApi(api_client.Api): def _upload_files( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -163,7 +189,12 @@ class UploadFiles(BaseApi): def upload_files( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -175,7 +206,12 @@ class UploadFiles(BaseApi): def upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -189,7 +225,12 @@ class UploadFiles(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -200,7 +241,12 @@ class UploadFiles(BaseApi): def upload_files( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -214,7 +260,12 @@ class UploadFiles(BaseApi): def upload_files( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +290,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -251,7 +307,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -265,7 +326,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -276,7 +342,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, @@ -290,7 +361,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.py index a878b38b6f6..4c5ce3c4f42 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.py @@ -47,10 +47,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -100,7 +100,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.pyi index f3c0bcc69c7..8e448a9f53a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/fake_upload_files/post/request_body/content/multipart_form_data/schema.pyi @@ -46,10 +46,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ], ... + typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader], ... ], typing.List[ - typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader, ] + typing.Union[Schema_.Items, bytes, io.FileIO, io.BufferedReader] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, @@ -99,7 +99,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], files: typing.Union[Schema_.Properties.Files, list, tuple, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.py index 3e9baa3fe33..6d2ed415fc2 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.py @@ -31,6 +31,7 @@ default_response = response_default.Default + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.pyi index c9ef99c7f31..0bd477f87fd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/operation.pyi @@ -27,6 +27,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_default + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.py index 83e754b6f89..14977ef4801 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.py @@ -73,8 +73,8 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - string: typing.Union['foo.Foo', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + string: typing.Union['foo.Foo', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.pyi index 2ef2c06bbf1..0c57d10d522 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/foo/get/responses/response_default/content/application_json/schema.pyi @@ -72,8 +72,8 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], - string: typing.Union['foo.Foo', schemas.Unset] = schemas.unset, + *args_: typing.Union[dict, frozendict.frozendict], + string: typing.Union['foo.Foo', dict, frozendict.frozendict, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, **kwargs: typing.Union[dict, frozendict.frozendict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.Schema], ) -> 'Schema': diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.py index 0e52b4738f1..3735669c8b8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.py @@ -62,50 +62,62 @@ class BaseApi(api_client.Api): @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -117,7 +129,12 @@ def _add_pet( @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -131,7 +148,12 @@ def _add_pet( def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -211,50 +233,62 @@ class AddPet(BaseApi): @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -266,7 +300,12 @@ def add_pet( @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -280,7 +319,12 @@ def add_pet( def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -305,50 +349,62 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -360,7 +416,12 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -374,7 +435,12 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.pyi index 6b4ddb07a4d..475b27a9b24 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/post/operation.pyi @@ -42,50 +42,62 @@ class BaseApi(api_client.Api): @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -97,7 +109,12 @@ class BaseApi(api_client.Api): @typing.overload def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -111,7 +128,12 @@ class BaseApi(api_client.Api): def _add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -191,50 +213,62 @@ class AddPet(BaseApi): @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -246,7 +280,12 @@ class AddPet(BaseApi): @typing.overload def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -260,7 +299,12 @@ class AddPet(BaseApi): def add_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -285,50 +329,62 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -340,7 +396,12 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -354,7 +415,12 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.py index 8d9d03cf66b..e166f940e58 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.py @@ -63,7 +63,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -74,7 +78,11 @@ def _update_pet( @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -85,7 +93,12 @@ def _update_pet( @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -97,7 +110,12 @@ def _update_pet( @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -109,7 +127,12 @@ def _update_pet( @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -122,7 +145,12 @@ def _update_pet( def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -203,7 +231,11 @@ class UpdatePet(BaseApi): @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -214,7 +246,11 @@ def update_pet( @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -225,7 +261,12 @@ def update_pet( @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -237,7 +278,12 @@ def update_pet( @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -249,7 +295,12 @@ def update_pet( @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -262,7 +313,12 @@ def update_pet( def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -287,7 +343,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -298,7 +358,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -309,7 +373,12 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -321,7 +390,12 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -333,7 +407,12 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -346,7 +425,12 @@ def put( def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.pyi index 724ceda47c3..44947b14d34 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet/put/operation.pyi @@ -42,7 +42,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -53,7 +57,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -64,7 +72,12 @@ class BaseApi(api_client.Api): @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -76,7 +89,12 @@ class BaseApi(api_client.Api): @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -88,7 +106,12 @@ class BaseApi(api_client.Api): @typing.overload def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -101,7 +124,12 @@ class BaseApi(api_client.Api): def _update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -182,7 +210,11 @@ class UpdatePet(BaseApi): @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -193,7 +225,11 @@ class UpdatePet(BaseApi): @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -204,7 +240,12 @@ class UpdatePet(BaseApi): @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -216,7 +257,12 @@ class UpdatePet(BaseApi): @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -228,7 +274,12 @@ class UpdatePet(BaseApi): @typing.overload def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -241,7 +292,12 @@ class UpdatePet(BaseApi): def update_pet( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -266,7 +322,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -277,7 +337,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/xml"], security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -288,7 +352,12 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -300,7 +369,12 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., security_index: typing.Optional[int] = None, @@ -312,7 +386,12 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -325,7 +404,12 @@ class ApiForPut(BaseApi): def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, request_body.RequestBody.content["application/xml"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + request_body.RequestBody.content["application/xml"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.py index 1cf6251a294..6f91665e51d 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.py @@ -43,7 +43,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'status': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], + 'status': typing.Union[parameter_0.Parameter0.schema, list, tuple], } ) OptionalParams = typing_extensions.TypedDict( @@ -79,6 +79,7 @@ class Params(RequiredParams, OptionalParams): '200': response_200.ResponseFor200, '400': response_400.ResponseFor400, } + _all_accept_content_types = ( "application/xml", "application/json", @@ -96,9 +97,7 @@ def _find_pets_by_status( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _find_pets_by_status( @@ -217,9 +216,7 @@ def find_pets_by_status( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def find_pets_by_status( @@ -282,9 +279,7 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.pyi index 44396adc2d9..7bd579e5d46 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/operation.pyi @@ -42,7 +42,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'status': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], + 'status': typing.Union[parameter_0.Parameter0.schema, list, tuple], } ) OptionalParams = typing_extensions.TypedDict( @@ -59,7 +59,8 @@ class RequestQueryParameters: parameters = [ parameter_0.Parameter0, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/xml", "application/json", ) @@ -76,9 +77,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _find_pets_by_status( @@ -197,9 +196,7 @@ class FindPetsByStatus(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def find_pets_by_status( @@ -262,9 +259,7 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.py index e5781d9063d..7bbdcce4300 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.py @@ -64,10 +64,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.pyi index f3b1fdffdd5..9111baa7597 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_status/get/parameters/parameter_0/schema.pyi @@ -52,10 +52,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.py index 702ac8d745a..30c442b71fc 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.py @@ -41,7 +41,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'tags': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], + 'tags': typing.Union[parameter_0.Parameter0.schema, list, tuple], } ) OptionalParams = typing_extensions.TypedDict( @@ -88,9 +88,7 @@ def _find_pets_by_tags( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _find_pets_by_tags( @@ -199,9 +197,7 @@ def find_pets_by_tags( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def find_pets_by_tags( @@ -259,9 +255,7 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.pyi index f245cde2a27..260be91faa8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/operation.pyi @@ -40,7 +40,7 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'tags': typing.Union[parameter_0.Parameter0.schema, list, tuple, ], + 'tags': typing.Union[parameter_0.Parameter0.schema, list, tuple], } ) OptionalParams = typing_extensions.TypedDict( @@ -69,9 +69,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _find_pets_by_tags( @@ -180,9 +178,7 @@ class FindPetsByTags(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def find_pets_by_tags( @@ -240,9 +236,7 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.py index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.py @@ -36,10 +36,10 @@ def __new__( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.pyi index 10bc9c552f7..59aff0b39f0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_find_by_tags/get/parameters/parameter_0/schema.pyi @@ -36,10 +36,10 @@ class Schema( cls, arg_: typing.Union[ typing.Tuple[ - typing.Union[Schema_.Items, str, ], ... + typing.Union[Schema_.Items, str], ... ], typing.List[ - typing.Union[Schema_.Items, str, ] + typing.Union[Schema_.Items, str] ], ], configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.py index 33548215636..e5eb14c6659 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.py @@ -47,7 +47,7 @@ class RequestHeaderParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'api_key': typing.Union[parameter_0.Parameter0.schema, str, ], + 'api_key': typing.Union[parameter_0.Parameter0.schema, str], }, total=False ) @@ -65,7 +65,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_1.Parameter1.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_1.Parameter1.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.pyi index 293eb9c512a..a1004b0610c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/delete/operation.pyi @@ -46,7 +46,7 @@ class RequestHeaderParameters: OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'api_key': typing.Union[parameter_0.Parameter0.schema, str, ], + 'api_key': typing.Union[parameter_0.Parameter0.schema, str], }, total=False ) @@ -64,7 +64,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_1.Parameter1.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_1.Parameter1.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.py index dc6e4734c6c..06adf8f064f 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.py @@ -40,7 +40,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -76,6 +76,7 @@ class Params(RequiredParams, OptionalParams): '400': response_400.ResponseFor400, '404': response_404.ResponseFor404, } + _all_accept_content_types = ( "application/xml", "application/json", @@ -93,9 +94,7 @@ def _get_pet_by_id( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _get_pet_by_id( @@ -215,9 +214,7 @@ def get_pet_by_id( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get_pet_by_id( @@ -280,9 +277,7 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.pyi index c87fe24dfa3..b8f5d4c1253 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/get/operation.pyi @@ -39,7 +39,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -56,7 +56,8 @@ class RequestPathParameters: parameters = [ parameter_0.Parameter0, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/xml", "application/json", ) @@ -73,9 +74,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _get_pet_by_id( @@ -195,9 +194,7 @@ class GetPetById(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get_pet_by_id( @@ -260,9 +257,7 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.py index f92f981ffde..d6521f8ac40 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.py @@ -40,7 +40,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -80,7 +80,12 @@ class BaseApi(api_client.Api): def _update_pet_with_form( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -92,7 +97,12 @@ def _update_pet_with_form( def _update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -106,7 +116,12 @@ def _update_pet_with_form( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -118,7 +133,12 @@ def _update_pet_with_form( def _update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -132,7 +152,12 @@ def _update_pet_with_form( def _update_pet_with_form( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -222,7 +247,12 @@ class UpdatePetWithForm(BaseApi): def update_pet_with_form( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -234,7 +264,12 @@ def update_pet_with_form( def update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -248,7 +283,12 @@ def update_pet_with_form( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -260,7 +300,12 @@ def update_pet_with_form( def update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -274,7 +319,12 @@ def update_pet_with_form( def update_pet_with_form( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -301,7 +351,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -313,7 +368,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -327,7 +387,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -339,7 +404,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -353,7 +423,12 @@ def post( def post( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.pyi index 0ed13e9cbd6..402cdc5fd3b 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/operation.pyi @@ -39,7 +39,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -63,7 +63,12 @@ class BaseApi(api_client.Api): def _update_pet_with_form( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -75,7 +80,12 @@ class BaseApi(api_client.Api): def _update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -89,7 +99,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -101,7 +116,12 @@ class BaseApi(api_client.Api): def _update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -115,7 +135,12 @@ class BaseApi(api_client.Api): def _update_pet_with_form( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -205,7 +230,12 @@ class UpdatePetWithForm(BaseApi): def update_pet_with_form( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -217,7 +247,12 @@ class UpdatePetWithForm(BaseApi): def update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -231,7 +266,12 @@ class UpdatePetWithForm(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -243,7 +283,12 @@ class UpdatePetWithForm(BaseApi): def update_pet_with_form( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -257,7 +302,12 @@ class UpdatePetWithForm(BaseApi): def update_pet_with_form( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -284,7 +334,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["application/x-www-form-urlencoded"] = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -296,7 +351,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -310,7 +370,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -322,7 +387,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, @@ -336,7 +406,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'application/x-www-form-urlencoded', - body: typing.Union[request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["application/x-www-form-urlencoded"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), security_index: typing.Optional[int] = None, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.py index f861e8d910e..bbbf1a071e6 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.py @@ -80,7 +80,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.pyi index a4b2dff4c5d..50f7fafb16c 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id/post/request_body/content/application_x_www_form_urlencoded/schema.pyi @@ -79,7 +79,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], name: typing.Union[Schema_.Properties.Name, str, schemas.Unset] = schemas.unset, status: typing.Union[Schema_.Properties.Status, str, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.py index b3868ca9a85..acd45a55ca4 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.py @@ -37,7 +37,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -69,6 +69,7 @@ class Params(RequiredParams, OptionalParams): _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) @@ -79,7 +80,12 @@ class BaseApi(api_client.Api): def _upload_image( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -93,7 +99,12 @@ def _upload_image( def _upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -109,7 +120,12 @@ def _upload_image( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -122,7 +138,12 @@ def _upload_image( def _upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -138,7 +159,12 @@ def _upload_image( def _upload_image( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -232,7 +258,12 @@ class UploadImage(BaseApi): def upload_image( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -246,7 +277,12 @@ def upload_image( def upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -262,7 +298,12 @@ def upload_image( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -275,7 +316,12 @@ def upload_image( def upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -291,7 +337,12 @@ def upload_image( def upload_image( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -320,7 +371,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -334,7 +390,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -350,7 +411,12 @@ def post( self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -363,7 +429,12 @@ def post( def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -379,7 +450,12 @@ def post( def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.pyi index 70c9cbaf979..c0152ac670a 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/operation.pyi @@ -36,7 +36,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'petId': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -53,7 +53,8 @@ class RequestPathParameters: parameters = [ parameter_0.Parameter0, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/json", ) @@ -63,7 +64,12 @@ class BaseApi(api_client.Api): def _upload_image( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -77,7 +83,12 @@ class BaseApi(api_client.Api): def _upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -93,7 +104,12 @@ class BaseApi(api_client.Api): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -106,7 +122,12 @@ class BaseApi(api_client.Api): def _upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -122,7 +143,12 @@ class BaseApi(api_client.Api): def _upload_image( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -216,7 +242,12 @@ class UploadImage(BaseApi): def upload_image( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -230,7 +261,12 @@ class UploadImage(BaseApi): def upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -246,7 +282,12 @@ class UploadImage(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -259,7 +300,12 @@ class UploadImage(BaseApi): def upload_image( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -275,7 +321,12 @@ class UploadImage(BaseApi): def upload_image( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -304,7 +355,12 @@ class ApiForPost(BaseApi): def post( self, content_type: typing_extensions.Literal["multipart/form-data"] = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -318,7 +374,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -334,7 +395,12 @@ class ApiForPost(BaseApi): self, skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -347,7 +413,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = ..., - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, @@ -363,7 +434,12 @@ class ApiForPost(BaseApi): def post( self, content_type: str = 'multipart/form-data', - body: typing.Union[request_body.RequestBody.content["multipart/form-data"].schema, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, + body: typing.Union[ + request_body.RequestBody.content["multipart/form-data"].schema, + schemas.Unset, + dict, + frozendict.frozendict + ] = schemas.unset, path_params: RequestPathParameters.Params = frozendict.frozendict(), accept_content_types: typing.Tuple[str] = _all_accept_content_types, security_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.py index 9aa7b40b099..311cdf373dc 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.py @@ -80,7 +80,7 @@ def get_item_( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.pyi index 7f72f4bb19c..a0aa4e94462 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/pet_pet_id_upload_image/post/request_body/content/multipart_form_data/schema.pyi @@ -79,7 +79,7 @@ class Schema( def __new__( cls, - *args_: typing.Union[dict, frozendict.frozendict, ], + *args_: typing.Union[dict, frozendict.frozendict], additionalMetadata: typing.Union[Schema_.Properties.AdditionalMetadata, str, schemas.Unset] = schemas.unset, file: typing.Union[Schema_.Properties.File, bytes, io.FileIO, io.BufferedReader, schemas.Unset] = schemas.unset, configuration_: typing.Optional[schemas.schema_configuration.SchemaConfiguration] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.py index 0c149a7d385..e27e4e511d0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.py @@ -44,6 +44,7 @@ _status_code_to_response: __StatusCodeToResponse = { '200': response_200.ResponseFor200, } + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.pyi index d8f63fe246e..07549f2c551 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_inventory/get/operation.pyi @@ -28,6 +28,7 @@ from petstore_api import schemas # noqa: F401 from .responses import response_200 from .security import security_requirement_object_0 + _all_accept_content_types = ( "application/json", ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.py index 174ebd881c3..f04c61a1db8 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.py @@ -45,6 +45,7 @@ '200': response_200.ResponseFor200, '400': response_400.ResponseFor400, } + _all_accept_content_types = ( "application/xml", "application/json", @@ -55,36 +56,44 @@ class BaseApi(api_client.Api): @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -96,7 +105,11 @@ def _place_order( @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -110,7 +123,11 @@ def _place_order( def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -187,36 +204,44 @@ class PlaceOrder(BaseApi): @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -228,7 +253,11 @@ def place_order( @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -242,7 +271,11 @@ def place_order( def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -267,36 +300,44 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -308,7 +349,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -322,7 +367,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.pyi index f07699d7a3d..7cfe5e458dd 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order/post/operation.pyi @@ -31,6 +31,7 @@ from .responses import ( ) from . import request_body + _all_accept_content_types = ( "application/xml", "application/json", @@ -41,36 +42,44 @@ class BaseApi(api_client.Api): @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -82,7 +91,11 @@ class BaseApi(api_client.Api): @typing.overload def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -96,7 +109,11 @@ class BaseApi(api_client.Api): def _place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -173,36 +190,44 @@ class PlaceOrder(BaseApi): @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -214,7 +239,11 @@ class PlaceOrder(BaseApi): @typing.overload def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -228,7 +257,11 @@ class PlaceOrder(BaseApi): def place_order( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -253,36 +286,44 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, @@ -294,7 +335,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, @@ -308,7 +353,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', accept_content_types: typing.Tuple[str] = _all_accept_content_types, server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.py index b97436cb1d3..9b14d0ffda5 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.py @@ -37,7 +37,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'order_id': typing.Union[parameter_0.Parameter0.schema, str, ], + 'order_id': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.pyi index 22c991bfeb4..553e780da29 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/delete/operation.pyi @@ -36,7 +36,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'order_id': typing.Union[parameter_0.Parameter0.schema, str, ], + 'order_id': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.py index 9ef3976f20d..5e8280f3429 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.py @@ -39,7 +39,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'order_id': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'order_id': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -71,6 +71,7 @@ class Params(RequiredParams, OptionalParams): '400': response_400.ResponseFor400, '404': response_404.ResponseFor404, } + _all_accept_content_types = ( "application/xml", "application/json", @@ -87,9 +88,7 @@ def _get_order_by_id( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _get_order_by_id( @@ -199,9 +198,7 @@ def get_order_by_id( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get_order_by_id( @@ -259,9 +256,7 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.pyi index ecf90edb794..b651b943af7 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/store_order_order_id/get/operation.pyi @@ -38,7 +38,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'order_id': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int, ], + 'order_id': typing.Union[parameter_0.Parameter0.schema, decimal.Decimal, int], } ) OptionalParams = typing_extensions.TypedDict( @@ -55,7 +55,8 @@ class RequestPathParameters: parameters = [ parameter_0.Parameter0, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/xml", "application/json", ) @@ -71,9 +72,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _get_order_by_id( @@ -183,9 +182,7 @@ class GetOrderById(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get_order_by_id( @@ -243,9 +240,7 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.py index 1ffedc541d0..78e4734de48 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.py @@ -38,7 +38,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -49,7 +53,11 @@ def _create_user( @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -61,7 +69,11 @@ def _create_user( @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -72,7 +84,11 @@ def _create_user( @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -85,7 +101,11 @@ def _create_user( def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -150,7 +170,11 @@ class CreateUser(BaseApi): @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -161,7 +185,11 @@ def create_user( @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -173,7 +201,11 @@ def create_user( @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -184,7 +216,11 @@ def create_user( @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -197,7 +233,11 @@ def create_user( def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -220,7 +260,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -231,7 +275,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -243,7 +291,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -254,7 +306,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -267,7 +323,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.pyi index e13a54f267a..d5d08afe2b3 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -146,7 +166,11 @@ class CreateUser(BaseApi): @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -157,7 +181,11 @@ class CreateUser(BaseApi): @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -169,7 +197,11 @@ class CreateUser(BaseApi): @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -180,7 +212,11 @@ class CreateUser(BaseApi): @typing.overload def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -193,7 +229,11 @@ class CreateUser(BaseApi): def create_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -216,7 +256,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -227,7 +271,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +287,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -250,7 +302,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +319,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.py index 93e37bb074b..51cc6a69332 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.py @@ -38,7 +38,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -49,7 +53,11 @@ def _create_users_with_array_input( @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -61,7 +69,11 @@ def _create_users_with_array_input( @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -72,7 +84,11 @@ def _create_users_with_array_input( @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -85,7 +101,11 @@ def _create_users_with_array_input( def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -150,7 +170,11 @@ class CreateUsersWithArrayInput(BaseApi): @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -161,7 +185,11 @@ def create_users_with_array_input( @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -173,7 +201,11 @@ def create_users_with_array_input( @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -184,7 +216,11 @@ def create_users_with_array_input( @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -197,7 +233,11 @@ def create_users_with_array_input( def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -220,7 +260,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -231,7 +275,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -243,7 +291,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -254,7 +306,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -267,7 +323,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.pyi index b97b2c01d9c..c5912db9767 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_array/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -146,7 +166,11 @@ class CreateUsersWithArrayInput(BaseApi): @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -157,7 +181,11 @@ class CreateUsersWithArrayInput(BaseApi): @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -169,7 +197,11 @@ class CreateUsersWithArrayInput(BaseApi): @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -180,7 +212,11 @@ class CreateUsersWithArrayInput(BaseApi): @typing.overload def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -193,7 +229,11 @@ class CreateUsersWithArrayInput(BaseApi): def create_users_with_array_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -216,7 +256,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -227,7 +271,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +287,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -250,7 +302,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +319,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.py index 1638e95809c..b520020a8fb 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.py @@ -38,7 +38,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -49,7 +53,11 @@ def _create_users_with_list_input( @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -61,7 +69,11 @@ def _create_users_with_list_input( @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -72,7 +84,11 @@ def _create_users_with_list_input( @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -85,7 +101,11 @@ def _create_users_with_list_input( def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -150,7 +170,11 @@ class CreateUsersWithListInput(BaseApi): @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -161,7 +185,11 @@ def create_users_with_list_input( @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -173,7 +201,11 @@ def create_users_with_list_input( @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -184,7 +216,11 @@ def create_users_with_list_input( @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -197,7 +233,11 @@ def create_users_with_list_input( def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -220,7 +260,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -231,7 +275,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -243,7 +291,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -254,7 +306,11 @@ def post( @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -267,7 +323,11 @@ def post( def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.pyi index fc2f826266a..73599bc5415 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_create_with_list/post/operation.pyi @@ -34,7 +34,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -45,7 +49,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -57,7 +65,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -68,7 +80,11 @@ class BaseApi(api_client.Api): @typing.overload def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -81,7 +97,11 @@ class BaseApi(api_client.Api): def _create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -146,7 +166,11 @@ class CreateUsersWithListInput(BaseApi): @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -157,7 +181,11 @@ class CreateUsersWithListInput(BaseApi): @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -169,7 +197,11 @@ class CreateUsersWithListInput(BaseApi): @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -180,7 +212,11 @@ class CreateUsersWithListInput(BaseApi): @typing.overload def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -193,7 +229,11 @@ class CreateUsersWithListInput(BaseApi): def create_users_with_list_input( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, @@ -216,7 +256,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: typing_extensions.Literal["application/json"] = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -227,7 +271,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -239,7 +287,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., server_index: typing.Optional[int] = None, @@ -250,7 +302,11 @@ class ApiForPost(BaseApi): @typing.overload def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = ..., server_index: typing.Optional[int] = None, stream: bool = False, @@ -263,7 +319,11 @@ class ApiForPost(BaseApi): def post( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, list, tuple, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + list, + tuple + ], content_type: str = 'application/json', server_index: typing.Optional[int] = None, stream: bool = False, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.py index 1c5fd404a1d..853bce64ba1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.py @@ -41,8 +41,8 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], - 'password': typing.Union[parameter_1.Parameter1.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], + 'password': typing.Union[parameter_1.Parameter1.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -73,6 +73,7 @@ class Params(RequiredParams, OptionalParams): '200': response_200.ResponseFor200, '400': response_400.ResponseFor400, } + _all_accept_content_types = ( "application/xml", "application/json", @@ -89,9 +90,7 @@ def _login_user( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _login_user( @@ -200,9 +199,7 @@ def login_user( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def login_user( @@ -260,9 +257,7 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.pyi index 258188b8a35..2b46204f0e3 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/operation.pyi @@ -40,8 +40,8 @@ class RequestQueryParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], - 'password': typing.Union[parameter_1.Parameter1.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], + 'password': typing.Union[parameter_1.Parameter1.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -59,7 +59,8 @@ class RequestQueryParameters: parameters = [ parameter_0.Parameter0, parameter_1.Parameter1, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/xml", "application/json", ) @@ -75,9 +76,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _login_user( @@ -186,9 +185,7 @@ class LoginUser(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def login_user( @@ -246,9 +243,7 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/responses/response_200/__init__.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/responses/response_200/__init__.py index 00e9c4e3587..c9e86e203c1 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/responses/response_200/__init__.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_login/get/responses/response_200/__init__.py @@ -34,18 +34,18 @@ class Header: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'ref-schema-header': typing.Union[header_ref_schema_header.RefSchemaHeader.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - 'X-Rate-Limit': typing.Union[header_x_rate_limit.XRateLimit.content["application/json"].schema, decimal.Decimal, int, ], - 'int32': typing.Union[header_int32.Int32.content["application/json"].schema, decimal.Decimal, int, ], - 'ref-content-schema-header': typing.Union[header_ref_content_schema_header.RefContentSchemaHeader.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - 'stringHeader': typing.Union[header_string_header.StringHeader.schema, str, ], + 'ref-schema-header': typing.Union[header_ref_schema_header.RefSchemaHeader.schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + 'X-Rate-Limit': typing.Union[header_x_rate_limit.XRateLimit.content["application/json"].schema, decimal.Decimal, int], + 'int32': typing.Union[header_int32.Int32.content["application/json"].schema, decimal.Decimal, int], + 'ref-content-schema-header': typing.Union[header_ref_content_schema_header.RefContentSchemaHeader.content["application/json"].schema, dict, frozendict.frozendict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader], + 'stringHeader': typing.Union[header_string_header.StringHeader.schema, str], } ) OptionalParams = typing_extensions.TypedDict( 'OptionalParams', { - 'X-Expires-After': typing.Union[header_x_expires_after.XExpiresAfter.schema, str, datetime.datetime, ], - 'numberHeader': typing.Union[header_number_header.NumberHeader.schema, str, ], + 'X-Expires-After': typing.Union[header_x_expires_after.XExpiresAfter.schema, str, datetime.datetime], + 'numberHeader': typing.Union[header_number_header.NumberHeader.schema, str], }, total=False ) diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.py index 0eed0e5f02d..859e836a7bb 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.py @@ -37,7 +37,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -78,9 +78,7 @@ def _delete_user( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _delete_user( @@ -179,9 +177,7 @@ def delete_user( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def delete_user( @@ -234,9 +230,7 @@ def delete( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def delete( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.pyi index 496faa03033..e868d529155 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/delete/operation.pyi @@ -36,7 +36,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -64,9 +64,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _delete_user( @@ -165,9 +163,7 @@ class DeleteUser(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def delete_user( @@ -220,9 +216,7 @@ class ApiForDelete(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def delete( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.py index ee1969928e1..928f3c821c0 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.py @@ -39,7 +39,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -71,6 +71,7 @@ class Params(RequiredParams, OptionalParams): '400': response_400.ResponseFor400, '404': response_404.ResponseFor404, } + _all_accept_content_types = ( "application/xml", "application/json", @@ -87,9 +88,7 @@ def _get_user_by_name( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _get_user_by_name( @@ -199,9 +198,7 @@ def get_user_by_name( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get_user_by_name( @@ -259,9 +256,7 @@ def get( stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.pyi index 0c33328bd0b..55a7e06da11 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/get/operation.pyi @@ -38,7 +38,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -55,7 +55,8 @@ class RequestPathParameters: parameters = [ parameter_0.Parameter0, - ]_all_accept_content_types = ( + ] +_all_accept_content_types = ( "application/xml", "application/json", ) @@ -71,9 +72,7 @@ class BaseApi(api_client.Api): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def _get_user_by_name( @@ -183,9 +182,7 @@ class GetUserByName(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get_user_by_name( @@ -243,9 +240,7 @@ class ApiForGet(BaseApi): stream: bool = False, timeout: typing.Optional[typing.Union[int, typing.Tuple]] = None, skip_deserialization: typing_extensions.Literal[False] = ..., - ) -> typing.Union[ - response_200.ResponseFor200.response_cls, - ]: ... + ) -> response_200.ResponseFor200.response_cls: ... @typing.overload def get( diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.py b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.py index 77a641933df..b15bc67e362 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.py +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.py @@ -39,7 +39,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -75,7 +75,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -86,7 +90,11 @@ def _update_user( @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -98,7 +106,11 @@ def _update_user( @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -110,7 +122,11 @@ def _update_user( @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -123,7 +139,11 @@ def _update_user( def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -209,7 +229,11 @@ class UpdateUser(BaseApi): @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -220,7 +244,11 @@ def update_user( @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -232,7 +260,11 @@ def update_user( @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -244,7 +276,11 @@ def update_user( @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -257,7 +293,11 @@ def update_user( def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -282,7 +322,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -293,7 +337,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -305,7 +353,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -317,7 +369,11 @@ def put( @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -330,7 +386,11 @@ def put( def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, diff --git a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.pyi b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.pyi index 88f31e68e56..83b23a66ac9 100644 --- a/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.pyi +++ b/samples/openapi3/client/petstore/python/src/petstore_api/paths/user_username/put/operation.pyi @@ -38,7 +38,7 @@ class RequestPathParameters: RequiredParams = typing_extensions.TypedDict( 'RequiredParams', { - 'username': typing.Union[parameter_0.Parameter0.schema, str, ], + 'username': typing.Union[parameter_0.Parameter0.schema, str], } ) OptionalParams = typing_extensions.TypedDict( @@ -61,7 +61,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -72,7 +76,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -84,7 +92,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -96,7 +108,11 @@ class BaseApi(api_client.Api): @typing.overload def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -109,7 +125,11 @@ class BaseApi(api_client.Api): def _update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -195,7 +215,11 @@ class UpdateUser(BaseApi): @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -206,7 +230,11 @@ class UpdateUser(BaseApi): @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -218,7 +246,11 @@ class UpdateUser(BaseApi): @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -230,7 +262,11 @@ class UpdateUser(BaseApi): @typing.overload def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -243,7 +279,11 @@ class UpdateUser(BaseApi): def update_user( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -268,7 +308,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: typing_extensions.Literal["application/json"] = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -279,7 +323,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -291,7 +339,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], skip_deserialization: typing_extensions.Literal[True], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), @@ -303,7 +355,11 @@ class ApiForPut(BaseApi): @typing.overload def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = ..., path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None, @@ -316,7 +372,11 @@ class ApiForPut(BaseApi): def put( self, - body: typing.Union[request_body.RequestBody.content["application/json"].schema, dict, frozendict.frozendict, ], + body: typing.Union[ + request_body.RequestBody.content["application/json"].schema, + dict, + frozendict.frozendict + ], content_type: str = 'application/json', path_params: RequestPathParameters.Params = frozendict.frozendict(), server_index: typing.Optional[int] = None,